| Concept | Meaning |
|---|---|
| Thread | A conversation container within a project. |
| Interaction | A single exchange inside a thread. |
| Chat | A one‑shot request that does not create a thread. |
Basic request and response
Create a thread interaction withPOST /api/v1/app/thread/{threadId}/interaction.
Example response (InteractionDTO)
Example response (InteractionDTO)
Create or list threads
Create a new thread in a project:Example response (schema not defined in OpenAPI)
Example response (schema not defined in OpenAPI)
Update or delete a thread
List or fetch interactions
List interactions for a thread:Delete or stream an interaction
Delete an interaction:Example stream
Example stream
One‑shot chat
If you don’t need a thread, call the chat endpoint directly:Example response (schema not defined in OpenAPI)
Example response (schema not defined in OpenAPI)
Validate a chat request
Errors and edge cases
- 400: invalid message schema (use
/chat/validate). - 404: thread or interaction not found.
- 409: interaction already completed when canceling.