btcintel

The account's data as one JSON document

GET /v1/auth/export
quién puede llamarla
Una sesión
la sesión de una cuenta
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

The account, every session (live or revoked; hashes, never a User-Agent string) and the audit rows the account caused. Served as an attachment.

Parámetros

No toma parámetros.

Qué responde

The export.

CampoTipoQué lleva
exported_atstringWhen the export was made.
accountobjectThe account: its id, its e-mail address, its display name and when it was created.
sessionsarrayEvery session of the account, live or not, as GET /v1/auth/me lists them, with aal and, for a revoked one, revoked_at.
loginsarrayThe sign-in providers bound to the account; empty when none.
logins[].providerstringThe sign-in provider.
logins[].subjectstringThe provider's stable identifier.
logins[].emailstringThe address the provider reported.
logins[].verifiedbooleanWhether the provider vouched for the address it reported.
logins[].created_atstringWhen the provider was bound to the account.
auditarrayThe audit rows the account caused, oldest first, at most 1,000.
audit[].idintegerThe row's id: the audit log pages by it.
audit[].atstringWhen it was written.
audit[].actorstringWho acted, as <kind>:<id>: an operator, an account, an npub, a key or an importer.
audit[].actionstringWhat was done, in a word: approve, retract, key_issue, …
audit[].tablestringThe table the action touched.
audit[].row_idstringThe id of the row it touched, as text.
audit[].detailsobjectWhat else the action recorded. {} when nothing.
esquema AccountExport
  • exported_at string (date-time) obligatorio — When the export was made.
  • account AccountInfo obligatorio — The account: its id, its e-mail address, its display name and when it was created.
    • id integer (int64) obligatorio — The account's id.
    • email string — The account's e-mail address, in lower case. Absent once the account is anonymised.
    • display_name string — The account's display name. Absent when it has none.
    • created_at string (date-time) obligatorio — When the account was created.
  • sessions array de object obligatorio — Every session of the account, live or not, as GET /v1/auth/me lists them, with aal and, for a revoked one, revoked_at.
  • logins array de object — The sign-in providers bound to the account; empty when none.
    • provider string obligatorio — The sign-in provider. · uno de "google", "github", "apple", "oidc"
    • subject string obligatorio — The provider's stable identifier.
    • email string — The address the provider reported.
    • verified boolean obligatorio — Whether the provider vouched for the address it reported.
    • created_at string (date-time) obligatorio — When the provider was bound to the account.
  • audit array de AuditEntry obligatorio — The audit rows the account caused, oldest first, at most 1,000.
    • id integer obligatorio — The row's id: the audit log pages by it.
    • at string (date-time) obligatorio — When it was written.
    • actor string obligatorio — Who acted, as <kind>:<id>: an operator, an account, an npub, a key or an importer.
    • action string obligatorio — What was done, in a word: approve, retract, key_issue, …
    • table string obligatorio — The table the action touched.
    • row_id string obligatorio — The id of the row it touched, as text.
    • details object obligatorio — What else the action recorded. {} when nothing.

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.
501not_configurednot_configured: this deployment does not run what the route needs, for example the mempool engine, accounts, the intel store or watchlists. The message names it.

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

Ejemplo

Sin fragmento. Esta ruta pide una sesión iniciada (la cookie que pone btcintel.io) o una firma NIP-98 de tu firmante Nostr, nunca una clave, así que ningún fragmento puede ejecutarla desde una shell. Ver Identidad.