Create a ticket
POST /api/support/tickets requires source, category, title, and
description. The following example uses fake values and token-free
diagnostics:
project_id, environment, runtime, framework,
sdk_package, sdk_version, release, trace_id, event_id, and
diagnostics.
Make the report actionable
- Choose the closest
categoryinstead of defaulting toother. - Keep
titleconcise and name one symptom and surface. - Write
descriptionas reproducible steps followed by the expected and observed result. - Include the exact
project_id,release, andenvironmentinvolved. Addruntime,framework, package versions,trace_id, orevent_idonly when they directly identify the same failure.
Omit
diagnostics when none of these keys add useful context. AI agents must
omit secrets, tokens, authorization headers, ingest keys, raw logs, customer
data, local paths, hosts, and unrelated source code. Summarize the relevant
failure instead of attaching or pasting raw data.
A successful creation returns ticket_id, status, created_at, next, and
next_action. Public ticket IDs start with sup_. Use next as human-readable
guidance and next_action as the stable machine-readable product action. Do
not infer internal routing from either field.
List matching tickets
GET /api/support/tickets lists tickets for the authenticated account. This
example selects open documentation reports for one release:
project_id, status, source, category, release,
pagination=cursor, cursor_time, cursor_id, and limit.
Current lifecycle values are open, routed, in_progress,
waiting_on_user, resolved, and closed. Treat the returned status as the
source of truth.
Read one ticket
Use thesup_ ID returned by creation or listing:
GET /api/support/tickets/{ticket_id} returns one ticket owned by the
authenticated account.
Close or reopen a ticket
PATCH /api/support/tickets/{ticket_id} lets the ticket owner set only
closed or open. Close a ticket with the account access bearer:
Keep reports safe and recoverable
- Keep
diagnosticswithin the allowlist and sanitize every value before sending. The service also redacts and bounds the field. - If a request fails, confirm that the required keys and enum values are valid,
authenticate with an account access bearer, and follow the returned
nextornext_action. - Read ticket detail to get the current status and next product action.
