Publish an agent version
Requires agents:write.
Authorizations
Account API key: key id as the username, secret as the password.
Path Parameters
Body
Response
Successful response
- Option 1
- Option 2
SKIPPED, PENDING, RUNNING, PASSED, FAILED npm package.json dependencies
Description for the agent extracted from the agent code.
Workspace variable keys referenced as {{env.KEY}} in the version's prompt, extracted at build time
JSON Schema from Zod input
JSON Schema from Zod output
Structured per-tool metadata. Each entry is a tool object discriminated by toolType (integration, legacy, agent, builtin).
Git commit SHA (40-character hexadecimal). For agents: set on version creation. For integrations: set after code is stored in GitHub.
40Commit message summary. For agents: set on version creation. For integrations: set after code is stored in GitHub.
500The semantic version number (i.e., MAJOR.MINOR.PATCH) of this version
100