Skip to main content
POST
/
agents
/
{id}
/
version-control

Endpoint

POST https://gateway.orkeia.ai/agents/{id}/version-control

Headers

authorization:  <your_token>
Content-Type: application/json

Path Parameters

{
  "id": "Agent ID (required)"
}

Request Body

FieldTypeOptionalDescriptionExample
responsiblestringNoResponsible for the version”Orkeia-dev-team”
responsibleIdstringNoID of the responsible person”12345abc”
actionstringNoWhat was done”Created new agent”
typesuccess/ fail/ neutralNoClassifies the result of the actionSuccess
dateDateNoEvent date (ISO 8601 format)“2025-08-22T18:32:45.000Z”
versionControlstringYesVersion name1.0.0
{
  "notes": "Description of changes in this version."
}

Example (cURL)

curl -X POST "https://gateway.orkeia.ai/agents/agent123/version-control" \
  -H "authorization:  <your_token>" \
  -H "Content-Type: application/json" \
  -d '{ "notes": "Description of changes in this version."}'

Response

{
  "version": 3,
  "timestamp": "2024-07-20T10:00:00Z"
}