API reference

API reference · Agents

Your own run of a published agent, with its events

GET/api/agents/public/{slug}/runs/{run}Signed in session

Events after ?after=. Only the visitor who started it reads it. A 404 while hosted runs or public agents (ANTIMATTER_AGENT_PUBLISH) are off on the deployment.

Parameters

Path and query parameters
FieldTypeWhat it is
slug (path)requiredstringThe published agent's slug.
run (path)requiredstringThe run's id, run_ and 24 hex digits.
after (query)integerAn event number.

Answer 200

The run and its events.

The answer's fields are not named in the document.

Errors

  • 401OpenAI shaped error.
  • 404OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter