conversationId, Wraith creates a new conversation automatically. You can also create, list, inspect, and delete conversations explicitly using the endpoints below.
List conversations
GET /agent/:id/conversations
Returns all conversations for the specified agent, ordered by most recently updated.
The agent’s UUID.
Response
An array ofConversation objects:
Unique conversation ID.
Auto-generated title derived from the first message.
ISO 8601 timestamp when the conversation was created.
ISO 8601 timestamp of the most recent message.
Response
Create conversation
POST /agent/:id/conversations
Create a new, empty conversation. You can then send messages to the chat endpoint using the returned id as the conversationId.
The agent’s UUID.
Response
A singleConversation object.
Response
Get messages
GET /agent/:id/conversations/:convId/messages
Fetch all messages in a conversation, in chronological order. Messages include user inputs, agent replies, tool calls, and system messages.
The agent’s UUID.
The conversation’s UUID.
Response
An array ofMessage objects:
The speaker. One of
user, agent, tool, or system.The message content.
ISO 8601 timestamp.
Response
Delete conversation
DELETE /agent/:id/conversations/:convId
Permanently delete a conversation and all of its messages. This action cannot be undone.
The agent’s UUID.
The conversation’s UUID.
200 OK with an empty body on success.

