web-ui

Get a coherent SQLite analytics snapshot

Changed on
get/api/ui/analytics

Request

  • The document declares no server URL.
  • Auth
    none declared

Query parameters

sincestring

Inclusive RFC 3339 finished-at bound; omit with an explicit until for all time

untilstring

Exclusive RFC 3339 finished-at bound

projectstring[]

Exact displayed project names (repeatable)

sourcestring[]

Exact stored source values (repeatable)

agentstring

Exact agent filter for attempt metrics

modelstring

Exact model filter for attempt metrics

bucketstring

UTC time bucket: hour, day, week, or month

split'agent' | 'model' | 'project' | 'source'

Add one time series per agent, model, project, or source

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

schema_versioninteger required

Example response

{
  "$schema": "https://example.com/AnalyticsSnapshot.json"
}

Changes

    • info

      added the new optional query request parameter split

    • info

      added the optional property / to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added