Skip to main content
POST
Revert Squad Version

Endpoint

POST https://gateway.orkeia.ai/squads/{id}/version-control Authentication
Requires header authorization: <your_token>.

Path Parameters

Request Body (JSON)

Note: this endpoint does not create a new version. It reverts the squad to an existing version, identified by versionControl.

Example (cURL)

Responses

Response - Success

response

500 — Server Error

400 — Client Error

Notes

  • Versions are automatically generated when the squad is created or updated.
  • Use this endpoint to revert to a previous snapshot. To view the content of a specific version, use GET /squads/{id}/version-control/{versionId} (if available in your API).