Events

Query events with filters

Changed on
get/api/events

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/events
  • Auth
    HTTP bearer

Query parameters

category'tool' | 'skill' | 'session' | 'api' | 'task' | 'workflow' | 'system'
event'tool.start' | 'tool.end' | 'skill.invoke' | 'skill.complete' | 'session.start' | 'session.end' | 'session.resume' | 'session.cost' | 'api.request' | 'api.error' | 'task.poll' | 'task.assign' | 'task.timeout' | 'workflow.step.start' | 'workflow.step.end' | 'workflow.run.start' | 'workflow.run.end' | 'system.boot' | 'system.migration' | 'system.error' | 'system.profile_sync_rejected' | 'system.profile_sync_reconciled' | 'system.profile_sync_conflict' | 'script.global_upsert' | 'schedule.deleted'
status'ok' | 'error' | 'timeout' | 'skipped'
source'worker' | 'api' | 'hook' | 'scheduler' | 'cli'
agentIdstring
taskIdstring
sessionIdstring
dataFieldstring
sincestring
untilstring
limitinteger
eventsstring

Comma-separated event names; matches any of them (ANDed with event)

dataFieldsstring

Comma-separated data.field values, used with latestPerDataField

latestPerDataField'true' | 'false'

When true, return only the newest event per (event, data.field) pair for every name in event/events and every value in dataFields

Response

List of events

latestPerDataFieldtrue

Present only when the request asked for latestPerDataField=true

Changes

    • info

      added the new optional query request parameter dataFields

    • info

      added the new optional query request parameter events

    • info

      added the new optional query request parameter latestPerDataField

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • warning

      added the new system.profile_sync_conflict enum value to the // response property for the response status

    • info

      added the new enum value system.profile_sync_conflict to the query request parameter event