Skip to content

Listar audit log de la organización​

GET
/v1/org/{org_id}/audit

audit.view — OWNER ADMIN

Registro append-only de acciones sensibles, lo más reciente primero. Filtros: actor_kind, action, resource_type/id, rango de fechas. Paginado.

Autorizaciones​

bearer

Token de servicio (kjtk_live_…), creado desde el panel en Ajustes → Tokens de servicio. Pertenece a una organización y lleva sus propios permisos.

Tipo
HTTP (bearer)
o
JWT

Sesión de una persona en el panel. No sirve para integrar.

Tipo
HTTP (bearer)

Parámetros​

Parámetros de la ruta

org_id*
Tipo
number
Requerido

Parámetros de consulta

actor_kind

Filter by actor kind.

Tipo
string
Valores válidos
"HUMAN""AGENT""SERVICE""SYSTEM"
action

Filter by action (substring match, e.g. "credential").

Tipo
string
Longitud mín.
1
Longitud máx.
64
resource_type

Filter by resource type (e.g. "credential").

Tipo
string
Longitud mín.
1
Longitud máx.
32
resource_id

Filter by resource id.

Tipo
number
Mínimo
1
agent_id

Everything about one agent: actions ON it OR done BY it.

Tipo
number
Mínimo
1
from

Lower bound (ISO date) on created_at.

Tipo
string
to

Upper bound (ISO date) on created_at.

Tipo
string
limit

Page size (1–200, default 50).

Tipo
number
Mínimo
1
Máximo
200
offset

Offset for pagination (default 0).

Tipo
number
Mínimo
0

Respuestas​

application/json
JSON
{
  
"rows": [
  
  
{
  
  
  
"id": 1,
  
  
  
"actor_kind": "string",
  
  
  
"actor_id": 0,
  
  
  
"actor_label": "string",
  
  
  
"action": "credential.reveal",
  
  
  
"resource_type": "credential",
  
  
  
"resource_id": 0,
  
  
  
"result": "string",
  
  
  
"meta": {
  
  
  
  
"additionalProperties": "string"
  
  
  
},
  
  
  
"created_at": "string"
  
  
}
  
],
  
"total": 0,
  
"limit": 0,
  
"offset": 0
}

Pruébalo​

Autorización
Variables
Clave
Valor

Ejemplos​