Create a session
Starts a new investigation. The request returns immediately while
Traversal investigates in the background — poll GET /v1/sessions/{session_id}
until the session reaches the idle state to retrieve the result.
Each organization is limited to 5 concurrent running sessions.
Exceeding the limit returns 429 Too Many Requests with retry_after.
Authorizations
Bearer token in the Authorization header — for example,
Authorization: Bearer trv_ak_your_api_key_here. Each key is bound to a
specific user and organization.
Body
The incident description or question to investigate.
Unique client-generated key for idempotent creation. Submitting
the same key twice returns the original session (with 200 OK)
rather than creating a new one. Use a value tied to the upstream
event you are reacting to (e.g., a PagerDuty incident ID) so
retries don't duplicate sessions.
128A short label for the session. Auto-generated if omitted.
256ISO-8601 timestamp of when the incident occurred.
Response
Idempotency key matched an existing session; the existing session is returned unchanged.
Unique session identifier.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
running— a new investigation is in progress.idle— investigation is complete and ready for follow-ups.follow_up_running— a follow-up message is being processed.failed— the investigation or follow-up errored or timed out.
running, idle, follow_up_running, failed The original incident description or question.
"Our checkout service started returning 500 errors at 2024-03-15T14:30:00Z. Error rate jumped from 0.1% to 15%."
When the session was created (UTC).
"2024-03-15T14:35:00Z"
Human-readable session title.
"Elevated error rate in checkout service"
When the session was last updated (UTC).
"2024-03-15T14:38:12Z"
Conversation history. Only populated on GET /v1/sessions/{session_id}.