ApiAdmin — organizationTickets
Get ticket with thread
Returns the ticket details along with the full message thread. Messages are ordered by creation date ascending (oldest first).
SSE streaming generation
Streams AI-generated content via Server-Sent Events. Each SSE event contains a text chunk. The final event includes token usage stats. Requires the ai.generation feature gate.
Create support ticket
Creates a new support ticket. The authenticated user becomes the ticket author. An initial message is created from the provided body text.