MobiariDocs
Admin APIAssistant

Get a conversation's messages

GET
/assistant/conversations/{conversation_id}/messages

The full transcript, lossless (tool calls and results included), and the proposals still waiting for a decision.

Authorization

bearer_auth
AuthorizationBearer <token>

Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.

In: header

Path Parameters

conversation_id*string

Assistant conversation id

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/assistant/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08/messages"
{
  "channel": "web",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "messages": [
    {
      "content": [
        {}
      ],
      "created_at": "2019-08-24T14:15:22Z",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "role": "user"
    }
  ],
  "pending_proposals": [
    {
      "expires_at": "2019-08-24T14:15:22Z",
      "preview": {},
      "proposal_id": "10dc578f-36d9-436c-bba3-e0bf53d58e9e",
      "tool_name": "string",
      "tool_use_id": "string"
    }
  ],
  "title": "string"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}