API reference

API reference · Agents

An agent's public page, with its counts

GET/api/account/agents/{id}/publicationSigned in session

A 404 with code not_published when the agent has none. A 404 while hosted runs or public agents (ANTIMATTER_AGENT_PUBLISH) are off on the deployment.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredstringThe agent's id.

Answer 200

The publication.

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