Get Superagent conversation

Changed on

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Returns one of your conversations with a Superagent, with its latest messages.

messages holds the 200 most recent messages, oldest first.

<Note>This endpoint accepts a personal API key or personal access token belonging to a user with access to the agent, including a read-only one. Workspace API keys are not accepted.</Note>

<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>

get/api/agents/{agent_id}/conversations/{conversation_id}

Request

  • Base URL: https://app.base44.com
  • URL: https://app.base44.com/api/agents/{agent_id}/conversations/{conversation_id}
  • Auth: HTTP bearer

Path parameters

conversation_idstring required

ID of the conversation to read. Get it from Create Superagent conversation or List Superagent conversations.

agent_idstring required

ID of the Superagent. It's the agent's app ID, shown in the agent's developer settings.

Response

The conversation, with its latest messages.

idstring required

ID of the conversation.

titlestring nullable required

Title Base44 generates from the conversation, or null until one is generated.

metadataobject required

Metadata stored on the conversation, including what you sent to Create Superagent conversation when it created it.

created_datestring date-time required

Time the conversation was created, as a UTC timestamp in ISO 8601 format.

updated_datestring date-time required

Time the conversation last changed, as a UTC timestamp in ISO 8601 format.

Example response

{
  "id": "68a1c2e4f0b9d3002e7a5c11",
  "title": "Weekly sales summary",
  "metadata": {
    "source": "crm-sync"
  },
  "created_date": "2026-08-01T09:15:00Z",
  "updated_date": "2026-08-02T14:30:00Z",
  "messages": [
    {
      "content": "Summarize today's sales.",
      "id": "3f2504e0-4f89-41d3-9a0c-0305e82c3301",
      "metadata": {
        "created_date": "2026-08-02T14:29:51Z"
      },
      "role": "user"
    },
    {
      "content": "Here's a summary of today's sales.",
      "id": "6b8f1c2e-9a4d-4e7b-8c3f-1d2e3f4a5b6c",
      "metadata": {
        "created_date": "2026-08-02T14:30:00Z"
      },
      "role": "assistant"
    }
  ]
}

Changes