Skip to content
This repository was archived by the owner on Nov 16, 2026. It is now read-only.

Commit 83a2b74

Browse files
Generated
1 parent 4230710 commit 83a2b74

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎openapi-derefed.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2878,7 +2878,7 @@
28782878
"/api/0/organizations/{organization_id_or_slug}/agents/conversations/": {
28792879
"get": {
28802880
"operationId": "listOrganizationAIConversations",
2881-
"description": "**Experimental:** This API is under active development and may change.\n\nReturn AI conversations ordered by latest span time.\n\n`query` uses Sentry search syntax.\n\n**Span filters**\n\n- Description: `\"payment failed\"`; status: `span.status:[error,internal_error]`.\n- Operation: `gen_ai.operation.type:tool`; tool: `gen_ai.tool.name:get_weather`.\n- Duration: `span.duration:>2s`; ID: `gen_ai.conversation.id:\"session:123\"`\n or `conversation.conversationId:\"session:123\"`.\n\n**Conversation filters**\n\n- Calls: `conversation.llmCalls` or `conversation.messages`, and\n `conversation.toolCalls`; failures: `conversation.errors` and\n `conversation.toolErrors`.\n- Usage: `conversation.inputTokens`, `conversation.outputTokens`,\n `conversation.totalTokens`, and `conversation.totalCost`.\n- Timespan: `conversation.timeSpan` measures elapsed time between first and last AI spans;\n `conversation.generationDuration` sums LLM call durations. Both use milliseconds.\n\nUse numeric comparisons such as `conversation.toolCalls:>2`. Queries return\nconversations, not spans. Each `AND` condition may match a different span.\nReturned totals include all AI spans in selected project, environment, and time\nfilters, not only matching spans.\n\nNegation means no span matches, including when an attribute is absent. Payloads\nare searchable only when recorded and not scrubbed. Payload failure text does\nnot mark a span as failed; set `span.status:error` for reliable failure search.",
2881+
"description": "**Experimental:** This API is under active development and may change.\n\nReturn AI conversations ordered by latest span time.\n\n`query` uses Sentry search syntax.\n\n**Span filters**\n\n- Description: `\"payment failed\"`; status: `span.status:[error,internal_error]`.\n- Operation: `gen_ai.operation.type:tool`; tool: `gen_ai.tool.name:get_weather`.\n- Duration: `span.duration:>2s`; ID: `gen_ai.conversation.id:\"session:123\"`\n or `conversation.conversationId:\"session:123\"`.\n\n**Conversation filters**\n\n- Calls: `conversation.llmCalls` or `conversation.messages`, and\n `conversation.toolCalls`; failures: `conversation.errors` and\n `conversation.toolErrors`.\n- Usage: `conversation.inputTokens`, `conversation.outputTokens`,\n `conversation.totalTokens`, and `conversation.totalCost`.\n- Timespan: `conversation.timeSpan` measures elapsed time between first and last AI spans;\n `conversation.generationDuration` sums LLM call durations. Both use milliseconds.\n\nUse numeric comparisons such as `conversation.toolCalls:>2`. Queries return\nconversations, not spans. Each `AND` condition may match a different span.\nReturned totals include all AI spans in selected project, environment, and time\nfilters, not only matching spans.\n\nNegation means no span matches, including when an attribute is absent. Payloads\nare searchable only when recorded and not scrubbed. Payload failure text does\nnot mark a span as failed; set `span.status:error` for reliable failure search.\n\nConversations are searchable for the last 30 days. Ranges that reach further back,\nincluding a `statsPeriod` longer than 30 days, return a 400.",
28822882
"summary": "List an Organization's AI Conversations",
28832883
"parameters": [
28842884
{
@@ -3297,7 +3297,7 @@
32973297
"/api/0/organizations/{organization_id_or_slug}/agents/conversations/{conversation_id}/": {
32983298
"get": {
32993299
"operationId": "retrieveOrganizationAIConversation",
3300-
"description": "**Experimental:** This API is under active development and may change.\n\nReturn spans recorded for one AI conversation in start-time order.\n\nMessage, tool, and response attributes contain their recorded string values.\n`stats.errors` counts spans whose status is not `ok`, `cancelled`, or `unknown`.\n`stats.errorToolNames` lists tools used by those spans.\n`stats.inputTokens` includes cache-read and cache-write tokens. In `stats.usageByModel`,\n`inputCost` includes cache-read and cache-write costs, and `outputCost` includes\nreasoning cost. These cost breakdowns are not added to `totalCost`.\nStats are returned on the first page only. Without an explicit range, Sentry widens\nthe search across available retention. A missing conversation returns an empty `spans` list.",
3300+
"description": "**Experimental:** This API is under active development and may change.\n\nReturn spans recorded for one AI conversation in start-time order.\n\nMessage, tool, and response attributes contain their recorded string values.\n`stats.errors` counts spans whose status is not `ok`, `cancelled`, or `unknown`.\n`stats.errorToolNames` lists tools used by those spans.\n`stats.inputTokens` includes cache-read and cache-write tokens. In `stats.usageByModel`,\n`inputCost` includes cache-read and cache-write costs, and `outputCost` includes\nreasoning cost. These cost breakdowns are not added to `totalCost`.\nStats are returned on the first page only. Without an explicit range, Sentry widens\nthe search to the last 30 days. Ranges that reach further back, including a\n`statsPeriod` longer than 30 days, return a 400. A missing conversation returns an\nempty `spans` list.",
33013301
"summary": "Retrieve an Organization's AI Conversation",
33023302
"parameters": [
33033303
{

0 commit comments

Comments
 (0)