Eventos
Lo que cambió en lo que puedes ver, en orden, para sincronizar.
Actualizado el 1 de enero de 1970
Privacidad y analítica
Utilizamos cookies técnicas necesarias y, solo si das tu consentimiento, analítica y pixels de marketing para mejorar la web y medir campañas.
Lo que cambió en lo que puedes ver, en orden, para sincronizar.
Actualizado el 1 de enero de 1970
Solo lectura en todas las puertas.
Lo que cambió en todo lo que puedes ver (marcas, workspaces y tu cuenta), en orden y desde un cursor: la base de la sincronización. Cada evento trae su tipo, quién lo hizo y los ids de lo que tocó; los datos se leen con su operación.
| Campo | Valor |
|---|---|
| Tipo | Lectura |
| Método HTTP | POST /api/v1/events.list |
| Herramienta MCP | events_list |
| Alcance | events.read |
| Rol mínimo | self |
| Confirmación humana | No |
| Puertas | API, Pantallas, Apps |
| Estado | Disponible |
Entrada
{
after?: string // Cursor: the `id` of the last event already read (`next_cursor`). Empty starts at the oldest kept event.
types?: string[] // ≤ 50 items · Only these types (`*`, exact, or `prefix.*`).
limit?: integer // 1–200 · default 100
from_now?: boolean // default false · Return no events, only the newest cursor: take it before reading a bootstrap snapshot, then follow from it.
newest_first?: boolean // default false · Read history backwards (screens): newest first, from `before`; `next_cursor` is then the next `before`. Sync reads forwards with `after`.
before?: string // With `newest_first`: only events older than this id.
brand?: string // uuid · Only this brand (UUID).
workspace?: string // uuid · Only this workspace and its brands (UUID).
}Salida
{
items: Array<{
id: string // Ordered id; also the cursor to read what came after it.
object: "event"
type: string // `<entity>.<verb>`, stable once published.
schema_version: integer // 1–9007199254740991
operation: string // The operation that made the change.
plane: "staff" | "client"
occurred_at: string
actor: {
kind: "person" | "token" | "service_account" | "agent" | "nodo" | "system"
id: string | null // The person or service account; null for the system.
client: string | null // The agent or integration that acted for them, when known.
}
door: "api" | "mcp" | "portal" | "web" | "app" | "agent" | "voice" | "composer" | "system"
scope: "platform" | "brand" | "workspace" | "self"
brand_id: string | null
workspace_id: string | null
data: {
object_ids: string[] // Ids of the records the change touched; read them with their read operation.
changed_fields: string[] // Names of the fields the call sent; never their values.
}
request_id: string | null // Same id as the call log entry (`X-Request-Id`).
}>
next_cursor: string | null // Send it as `after` to continue; it advances even when nothing you can see happened.
has_more: boolean
cursor_expired: boolean
}