organization-traces

Count sessions per bucket of their start, split by whether any span failed unrecovered.

get/api/v1/organizations/me/traces/series

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Query parameters

bucket'hour' | 'day'
workspace_idstring uuid nullable

Only sessions in this workspace. Narrows the caller's scope; never widens it.

startstring date-time nullable

Last activity at or after this instant (ISO 8601).

endstring date-time nullable

Last activity before this instant (ISO 8601).

user_idstring[] nullable

Owning users.

api_key_idstring[] nullable

API keys.

harnessstring[] nullable

Agent harnesses.

session_sourcestring[] nullable

What grouped the session.

has_errorboolean nullable

Only sessions with, or without, an unrecovered error.

qstring nullable

A trace id, or the start of one.

Response

Successful Response

bucket'hour' | 'day' required

Changes