> ## 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.

# Squads version control list

## Endpoint

`GET https://gateway.orkeia.ai/squads/{id}/version-control`

**Autenticación**\
Requiere encabezado `authorization:  <tu_token>`.

## Parámetros de Ruta

| Nombre | Tipo   | Obligatorio | Descripción                    | Ejemplo     |
| ------ | ------ | ----------- | ------------------------------ | ----------- |
| id     | string | Sí          | Identificador único del squad. | SQUAD\_1234 |

## Ejemplo (cURL)

```bash theme={null}
curl -X GET "https://gateway.orkeia.ai/squads/SQUAD_1234/version-control" \
  -H "authorization:  <tu_token>"
```

## Respuestas

### Response - Éxito

```json response theme={null}
{
  "status": "OK",
  "data": [
    { "version": 1, "timestamp": "2024-07-01T12:00:00Z" },
    { "version": 2, "timestamp": "2024-07-10T09:30:00Z" }
  ]
}
```

### 500 — Error del Servidor

```json theme={null}
{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}
```

### 400 — Error del Cliente

```json theme={null}
{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}
```

## Campos

| Campo     | Tipo   | Descripción                                      |
| --------- | ------ | ------------------------------------------------ |
| version   | number | Número secuencial de la versión del squad.       |
| timestamp | string | Fecha y hora de la creación de la versión (ISO). |
