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
- 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.
| Campo | Tipo | Qué lleva |
|---|---|---|
exported_at | string | When the export was made. |
account | object | The account: its id, its e-mail address, its display name and when it was created. |
sessions | array | 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 | The sign-in providers bound to the account; empty when none. |
logins[].provider | string | The sign-in provider. |
logins[].subject | string | The provider's stable identifier. |
logins[].email | string | The address the provider reported. |
logins[].verified | boolean | Whether the provider vouched for the address it reported. |
logins[].created_at | string | When the provider was bound to the account. |
audit | array | The audit rows the account caused, oldest first, at most 1,000. |
audit[].id | integer | The row's id: the audit log pages by it. |
audit[].at | string | When it was written. |
audit[].actor | string | Who acted, as <kind>:<id>: an operator, an account, an npub, a key or an importer. |
audit[].action | string | What was done, in a word: approve, retract, key_issue, … |
audit[].table | string | The table the action touched. |
audit[].row_id | string | The id of the row it touched, as text. |
audit[].details | object | What else the action recorded. {} when nothing. |
esquema AccountExport
exported_atstring (date-time) obligatorio — When the export was made.accountAccountInfo obligatorio — The account: its id, its e-mail address, its display name and when it was created.idinteger (int64) obligatorio — The account's id.emailstring — The account's e-mail address, in lower case. Absent once the account is anonymised.display_namestring — The account's display name. Absent when it has none.created_atstring (date-time) obligatorio — When the account was created.
sessionsarray de object obligatorio — Every session of the account, live or not, asGET /v1/auth/melists them, withaaland, for a revoked one,revoked_at.loginsarray de object — The sign-in providers bound to the account; empty when none.providerstring obligatorio — The sign-in provider. · uno de "google", "github", "apple", "oidc"subjectstring obligatorio — The provider's stable identifier.emailstring — The address the provider reported.verifiedboolean obligatorio — Whether the provider vouched for the address it reported.created_atstring (date-time) obligatorio — When the provider was bound to the account.
auditarray de AuditEntry obligatorio — The audit rows the account caused, oldest first, at most 1,000.idinteger obligatorio — The row's id: the audit log pages by it.atstring (date-time) obligatorio — When it was written.actorstring obligatorio — Who acted, as<kind>:<id>: an operator, an account, an npub, a key or an importer.actionstring obligatorio — What was done, in a word: approve, retract, key_issue, …tablestring obligatorio — The table the action touched.row_idstring obligatorio — The id of the row it touched, as text.detailsobject obligatorio — What else the action recorded.{}when nothing.
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 401 | unauthorized | unauthorized: 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. |
| 403 | forbidden | forbidden: 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. |
| 501 | not_configured | not_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.