Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/lexiel-ai:lexiel-ai-agenda-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Lexiel Agenda API
version: 1.0.0
description: 'API REST de Lexiel para integraciones servidor a servidor. Guía con ejemplos: https://lexiel.ai/es/developers (English: https://lexiel.ai/en/developers).
**Autenticación**: `Authorization: Bearer lx_…` con una clave creada en Ajustes > API (plan de pago). La clave actúa como el usuario que la creó, dentro de su despacho: solo ve y modifica lo que ese usuario ve en la aplicación. Nunca la pongas en un navegador ni en una app; úsala solo desde tu servidor.
**Ámbitos**: cada clave tiene ámbitos (`cases:read`, `cases:write`, `documents:read`, `documents:write`, `conversations:read`, `conversations:write`, `invoices:read`, `invoices:write`, `calendar:read`, `clients:read`, `clients:write`, `analytics:read`). Cada operación indica el suyo en `x-required-scope`; sin él responde 403 `API_KEY_SCOPE` con `error.requiredScope`. Las claves anteriores al 11-11-2026 tienen todos.
**Límites**: 60 peticiones por minuto por clave (y por IP de origen), además de los límites por usuario de cada ruta (cabeceras `X-RateLimit-*` y `Retry-After` en el 429 `RATE_LIMITED`). Cada consulta a la IA y cada análisis de documento consumen la cuota mensual del plan de la cuenta (429 `PLAN_LIMIT_REACHED`).
**Errores**: `{ "error": { "code": "…", "message": "…" } }`. El `code` es estable; el `message` puede cambiar.'
contact:
name: Soporte Lexiel
url: https://lexiel.ai/contacto
email: hola@lexiel.ai
license:
name: Privado — solo para clientes autorizados
servers:
- url: https://api.lexiel.ai
description: Producción
- url: http://localhost:4966
description: Desarrollo local
security:
- bearerAuth: []
tags:
- name: Agenda
description: Calendario, plazos y eventos
paths:
/v1/calendar/week:
get:
tags:
- Agenda
summary: Agenda semanal
x-required-scope: calendar:read
description: Devuelve los eventos y plazos de la semana indicada.
parameters:
- name: weekStart
in: query
required: true
schema:
type: string
format: date
description: Lunes de la semana (YYYY-MM-DD)
responses:
'200':
description: Eventos de la semana
content:
application/json:
schema:
type: object
properties:
events:
type: array
items:
$ref: '#/components/schemas/CalendarEvent'
deadlines:
type: array
items:
$ref: '#/components/schemas/Deadline'
'401':
$ref: '#/components/responses/Unauthorized'
operationId: getV1CalendarWeek
x-operation-id-source: derived
/v1/calendar/ical:
get:
tags:
- Agenda
summary: Feed iCal
x-required-scope: calendar:read
description: Genera un feed iCalendar (.ics) compatible con Google Calendar, Outlook y Apple Calendar.
responses:
'200':
description: Fichero iCalendar
content:
text/calendar:
schema:
type: string
'401':
$ref: '#/components/responses/Unauthorized'
operationId: getV1CalendarIcal
x-operation-id-source: derived
components:
schemas:
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Código estable; el texto de `message` puede cambiar
message:
type: string
requiredScope:
type: string
description: 'Solo en API_KEY_SCOPE: el ámbito que falta'
Deadline:
type: object
properties:
id:
type: string
format: uuid
title:
type: string
dueDate:
type: string
format: date
priority:
type: string
enum:
- low
- medium
- high
- critical
caseId:
type:
- string
- 'null'
format: uuid
CalendarEvent:
type: object
properties:
id:
type: string
format: uuid
title:
type: string
startAt:
type: string
format: date-time
endAt:
type:
- string
- 'null'
format: date-time
location:
type:
- string
- 'null'
caseId:
type:
- string
- 'null'
format: uuid
responses:
Unauthorized:
description: 'No autorizado: falta la clave, no existe, está desactivada o caducada, o su usuario está inactivo (UNAUTHORIZED, MEMBER_INACTIVE)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: lx_… (clave de API) o JWT
description: 'Clave de API (`Authorization: Bearer lx_…`) creada en Ajustes > API, o el JWT de una sesión de Lexiel. Cada operación indica en `x-required-scope` el ámbito que necesita la clave.'