Home / Servers / Sentry API / retrieve_organization_aiconversation
Retrieve an Organization's AI Conversation
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
Retrieve an Organization's AI Conversation **Experimental:** This API is under active development and may change. Return spans recorded for one AI conversation in start-time order. Message, tool, and response attributes contain their… [GET /api/0/organizations/{organization_id_or_slug}/agents/conversations/{conversation_id}/]
Name on the gateway: sentry_api__retrieve_organization_aiconversation · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
conversation_id required | string | Conversation ID recorded in gen_ai.conversation.id. |
project | array | The IDs or slugs of projects to filter by. Project slugs are unique within… |
environment | array | The name of environments to filter by. |
statsPeriod | string | The period of time for the query, will override the start & end parameters, a… |
start | string | The start of the period of time for the query, expected in ISO-8601 format.… |
end | string | The end of the period of time for the query, expected in ISO-8601 format. For… |
cursor | string | A pointer to the last object fetched and its sort order; used to retrieve the… |
per_page | integer | Number of spans to return per page. Defaults to 100; maximum is 1,000. |
view | timeline | transcript | Defaults to timeline (paginated raw spans). Transcript returns paginated… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "sentry_api__retrieve_organization_aiconversation",
"arguments": {
"organization_id_or_slug": "…",
"conversation_id": "…"
}
}Or connect the Sentry API server directly, which lists 272 tools including this one:
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the retrieve an organization's ai conversation tool with organization_id_or_slug set to ….