v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB
agents

Create an Agent.

Create a new Agent with a name and optional public visibility. The Agent will be assigned a unique ID.

post/v1/agents

Request body

namestring required

The name of the Agent.

versionstring nullable

Optional version identifier for the Agent. For npm/pip sources this is typically a semver string (e.g. '2.0.65'). For git sources it can be a branch or tag. Semantics are user-defined for object sources.

Response

Agent created successfully. Returns the Agent with metadata.

idstring required

The unique identifier of the Agent.

namestring required

The name of the Agent.

versionstring nullable

Optional version identifier for the Agent. For npm/pip sources this is typically a semver string (e.g. '2.0.65'). For git sources it can be a branch or tag. Omitted for object sources or when not provided.

create_time_msinteger required

The creation time of the Agent (Unix timestamp milliseconds).

is_publicboolean required

Whether the Agent is publicly accessible.