v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1475719557.8 KB

Creates a <code>DRAFT</code> version of the agent that can be used for internal testing.

post/agents/{agentId}/

Path parameters

agentIdstring required

The unique identifier of the agent for which to create a <code>DRAFT</code> version.

Response

Success

agentIdstring required

The unique identifier of the agent for which the <code>DRAFT</code> version was created.

agentStatus'CREATING' | 'PREPARING' | 'PREPARED' | 'NOT_PREPARED' | 'DELETING' | 'FAILED' | 'VERSIONING' | 'UPDATING' required

The status of the <code>DRAFT</code> version and whether it is ready for use.

agentVersionstring required

The version of the agent.

preparedAtstring date-time required

The time at which the <code>DRAFT</code> version of the agent was last prepared.