Account

List execution history

Lists recent execution records for the API key's organization, newest first. Input and output snapshots are included only when stored JSON can be decoded. Error messages are sanitized before they are returned.

get/v1/account/history

Request

  • Base URL: https://api.sandbase.ai
  • URL: https://api.sandbase.ai/v1/account/history
  • Auth: HTTP bearer

Query parameters

modelstring

Exact logical model name.

api_key_idstring

Exact API Key resource ID within the organization.

typestring

Execution category. Supported filters are multimodal (image, video, and audio), llm, and api; any other value applies no type filter.

status'completed' | 'failure' | 'in_progress'

Status group. failure includes failed and timeout; in_progress includes pending and running.

error_typestring

Exact error type. Use unknown for records without an error type.

rangestring

Rolling created-at range when an explicit analytics window is not used. Supported values are 1h, 24h, 7d, and 30d; every other value falls back to 7d.

pageinteger
page_sizeinteger
request_idstring

Exact organization-scoped execution ID lookup. When set, other filters are ignored and the response is forced to page 1 with page_size 1.

time_basis'created_at' | 'settled_at'

Timestamp basis for an explicit start_at/end_at window.

billing_scope'any' | 'positive' | 'token'

Settlement filter. positive and token are valid only with time_basis=settled_at.

start_atstring date-time

Inclusive RFC 3339 window start. Must be paired with end_at; the window cannot exceed 32 days.

end_atstring date-time

Exclusive RFC 3339 window end. Must be paired with start_at.

latency_sample'positive' | 'terminal_positive'

Restrict latency samples to positive values, optionally only for terminal executions.

min_latency_msinteger

Minimum recorded latency in milliseconds.

timezonestring

Compatibility parameter. Without request_id, a valid IANA time-zone name is required when supplied, but raw response timestamps remain unchanged. Exact request_id mode ignores it.

Response

Paginated execution history

totalinteger required
pageinteger required
page_sizeinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.