Validate Revision

No content when creating a revision of the configuration would accept it, else the same `invalid_argument` error with the field's path relative to `config`; nothing is stored.

POST/api/v1/agents/validate

No content when creating a revision of the configuration would accept it, else the same invalid_argument error with the field's path relative to config; nothing is stored.

Authorization

AuthorizationBearer <token>

A workspace API key (a13n_...)

In: header

Header Parameters

X-Workspace-ID?|

The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

A configuration to check as creating a revision would, storing nothing.

agent_id names the agent it would become a revision of, whose inline subagents may not lead back to it; omit it for a new agent.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/agents/validate" \  -H "Content-Type: application/json" \  -d '{    "config": {      "model": "string"    }  }'
Empty