You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1957447
Browse filesBrowse the repository at this point in the historyBrowse files
feat(resource): Add AI conversation retrieval (#993)
Expose AI conversations through get_sentry_resource so agents can fetch
a readable conversation transcript from a conversation ID or Explore
URL. The response is organized by turns, with compact metadata, grouped
tool calls, parsed tool inputs, and a concise structured artifact for
downstream use.
**Conversation Resource Support**
get_sentry_resource now accepts resourceType='ai_conversation' and
resolves /explore/conversations/{conversationId}/ URLs without adding
another public MCP tool.
**Turn-Based Transcript Rendering**
AI client spans are rendered as grouped turns with user, assistant, and
tool sections. Tool calls are associated with the AI turn that triggered
them, including repeated messages and trailing tools after the final AI
client span.
**API Shape Validation**
The Sentry API client now calls
/api/0/organizations/{org}/ai-conversations/{conversation_id}/, handles
cursor pagination, and validates the flat span row shape returned by the
endpoint.
FixesGH-990
---------
Co-authored-by: Codex <codex@openai.com>
0 commit comments