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

# Listar Versiones de la Herramienta

> Lista todas las versiones registradas de una herramienta.

## Endpoint

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

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

## Parámetros de Camino

| Nombre | Tipo   | Obligatorio | Descripción                            | Ejemplo      |
| ------ | ------ | ----------- | -------------------------------------- | ------------ |
| id     | string | Sí          | Identificador único de la herramienta. | TOOL\_123456 |

## Ejemplo (cURL)

```bash theme={null}
curl -X GET "https://gateway.orkeia.ai/tools/TOOL_123456/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 de la versión de la herramienta.          |
| timestamp | string | Fecha/hora de creación de la versión (ISO 8601). |
