---
title: "Ingest Conversation"
method: POST
path: "/api/v1/conversations"
tags: ["conversations"]
---

# Ingest Conversation

`POST /api/v1/conversations`

Ingest a multi-turn conversation. The conversation is stored as a single source and segmented at ingestion into windows of 4 turns; each window is extracted independently with the prior window as lookback context for pronoun resolution.

## Request body

- IngestConversationRequest
  - `space_id` string, uuid, required
  - `messages` ConversationMessage[], required
    - `role` string, required
    - `content` string, required
  - `session_id` string
  - `session_date` string
  - `visibility` 'private' | 'org'
  - `meta` object, nullable

## Response `202`

Accepted — job enqueued

- IngestConversationResponse
  - `job_id` string, uuid, required
  - `status` 'pending', required
  - `source_id` string, uuid, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `429` — Rate limited / quota / pending cap
- `503` — Queue full

## Changes

- **2026-08-25** `55772030ddd3` — 2 breaking, 15 warning, 1 info
  - the response's body type/format changed from `object`/`` to ``/`` for status `429`
  - removed the required property `detail` from the response with the `429` status
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `code` from the response with the `401` status
  - …14 more
- **2026-08-19** `b38f8e603649` — 1 breaking, 17 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `429`
  - removed `#/components/schemas/RateLimitedBody, #/components/schemas/QuotaExceededBody, #/components/schemas/ConversationErrorBody` from the response body `anyOf` list for the response status `429`
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - …14 more

[Change history](https://skmtc.dev/crosmos/apis/crosmos-api/changes/api/v1/conversations/post.md)

---

[API](https://skmtc.dev/crosmos/apis/crosmos-api.md) · [All operations](https://skmtc.dev/crosmos/apis/crosmos-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/crosmos/crosmos-api/revisions/55772030ddd3/schema)
