Revert Squad Version
Squads
Revert Squad Version
Reverts a squad to a specific version snapshot.
POST
Revert Squad Version
Documentation Index
Fetch the complete documentation index at: https://docs.orkeia.ai/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
POST https://gateway.orkeia.ai/squads/{id}/version-control
AuthenticationRequires header
authorization: <your_token>.
Path Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| id | string | Yes | Unique identifier of the squad. | SQUAD_1234 |
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).
