agents
Add a revision
Changed onAppends a revision to an agent, instructions or code, and makes it the one runs use. Revisions are never changed or removed.
post/agents/{agent_id}/revisions
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-Axilio-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
agent_idstring uuid required
The agent's id.
Request body
Example request
{
"$schema": "/api/v1/AgentRevisionCreateRequest.json"
}Response
Created
Example response
{
"$schema": "/api/v1/AgentRevision.json"
}Changes
- info
endpoint added
- info