btcintel

Operators (ops)

GET /v1/ops/operators
quién puede llamarla
Un operador
qué cuesta
1 petición de la cuota
niveles y claves
cuán reciente
Nunca en caché
cada respuesta lleva la altura del índice y la del nodo
Herramienta MCP
Ninguna
En esta página

Parámetros

No toma parámetros.

Qué responde

Every operator, human or agent.

CampoTipoQué lleva
itemsarrayEvery operator, human or agent.
items[].idstringThe operator's id.
items[].kindstringA human or an agent.
items[].display_namestringThe name shown for the operator.
items[].rolesarrayWhat the operator may do: admin, curator, moderator, drafter.
items[].daily_action_budgetinteger o nullAn agent operator's budget: the audited actions it may take in a UTC day before its writes answer 429. Null when none is set; a human's is never checked.
items[].activebooleanWhether the operator is switched on. False switches it off everywhere (403).
items[].created_atstringWhen the operator was created.
items[].account_idintegerThe account a human operator signs in with; absent when none is linked.
esquema
  • items array de Operator — Every operator, human or agent.
    • id string — The operator's id.
    • kind string — A human or an agent. · uno de "human", "agent"
    • display_name string — The name shown for the operator.
    • roles array de string — What the operator may do: admin, curator, moderator, drafter.
    • daily_action_budget integer | null — An agent operator's budget: the audited actions it may take in a UTC day before its writes answer 429. Null when none is set; a human's is never checked.
    • active boolean — Whether the operator is switched on. False switches it off everywhere (403).
    • created_at string (date-time) — When the operator was created.
    • account_id integer — The account a human operator signs in with; absent when none is linked.

Errores

EstadoCódigoCuándo
401unauthorizedunauthorized: the request does not say who makes it, or what it offers does not verify: no key or session where one is needed, or a password, a code, a passkey or a signed event that does not check. The message says what is missing.
403forbiddenforbidden: the caller is known but may not do this: a key without the scope or the tier the action needs, a session without an npub, a second factor or a recent sign-in, an operator without the role or switched off, or a source that does not allow it. The message says which.

Cada uno llega en el sobre de error único, y ninguno se guarda en caché: un error lleva Cache-Control: no-store.

Ejemplo

curl y jq, en cualquier shell.

curl -s https://api.btcintel.io/v1/ops/operators \
  -H "Authorization: Bearer $BTCINTEL_KEY" | jq

This route needs an operator credential. Set BTCINTEL_KEY to the ops bearer or a btci_ key with the ops:agent scope first: the snippet reads it from there and holds no key.