> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unitedpetroleum.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Errores y paginación

> Formato de error y cursores de la API v1

# Errores y paginación

## Errores

```json theme={null}
{
  "error": {
    "code": "unauthorized",
    "message": "Missing Authorization header.",
    "details": {}
  }
}
```

Códigos HTTP habituales: `200` / `201`, `400`, `401`, `403`, `404`, `409`, `429`, `500`.

## Paginación por cursor

Listados tipicamente:

```json theme={null}
{
  "data": [ ... ],
  "pagination": {
    "next_cursor": "eyJpZCI6...",
    "has_more": true
  }
}
```

Pase `next_cursor` en la siguiente petición hasta `has_more: false`.
