Task sessions

Report compact capability outcomes or stage; requires read + requests:write

post/api/v1/sessions/{id}/events

Request

  • Base URL: https://api.daystruct.ai
  • URL: https://api.daystruct.ai/api/v1/sessions/{id}/events
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

request_idstring required
type'viewed' | 'called' | 'succeeded' | 'failed' | 'skipped' | 'stage' required
capabilitystring
summarystring
current_stagestring
reported_tool_turnsinteger
reported_cost_usdnumber

Response

Task context or selected capability descriptors in a data envelope

Changes

No recorded changes to this operation across all 2 revisions of this API.