Saltar al contenido

Get an org export

Módulo Settings

GET/org-exports/{id}orgExports.get

A full organization export. Returns one org export with its `ETag`. A org export the caller may not see returns 404.

  • Requiere la capacidad org.organization.delete.
  • Alcances de OAuth: org.
  • Estados de error: 400, 401, 404, 429. Los errores son detalles de problema RFC 9457.

Parámetros de ruta y de consulta

orgExports.get: Parámetros de ruta y de consulta
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the org export.
fieldsFieldsNoSparse fieldset: a comma-separated list of top-level fields to return. `id` is always returned.Restricciones: pattern ^[a-z_][a-z0-9_]*(,[a-z_][a-z0-9_]*)*$

Respuesta 200: OrgExport

orgExports.get: OrgExport
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the org export.
org_idstring (uuid)SíIdentifier of the owning organization, derived from the parent row and never accepted from the caller.
created_atstring (date-time)SíWhen the row was created.
created_bystring (uuid) | nullSíIdentifier of the person who created the row; null when a seed, platform or system process created it.
updated_atstring (date-time)SíWhen the row was last updated.
updated_bystring (uuid) | nullSíIdentifier of the person who last updated the row; null when a seed, platform or system process updated it.
table_countintegerSíTables in the archive.Restricciones: range 0 to any
row_countinteger (int64)SíRows across every table.Restricciones: range 0 to any
file_countintegerSíStored files included.Restricciones: range 0 to any
manifest_sha256stringSíSHA-256 of the archive's manifest.json, lowercase hex.Restricciones: pattern ^[0-9a-f]{64}$
{
  "id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "org_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "created_at": "2026-10-08T14:30:00Z",
  "created_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "updated_at": "2026-10-08T14:30:00Z",
  "updated_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "table_count": 412,
  "row_count": 182340,
  "file_count": 96,
  "manifest_sha256": "9f2c4e1a7b3d5f6e8a0c2e4f6a8b0d2c4e6f8a0b2c4d6e8f0a2b4c6d8e0f2a4b"
}

Ejemplos de código

curl -X GET "$XOS_BASE_URL/org-exports/0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f" \
  -H "Authorization: Bearer $XOS_API_KEY"
const { data, etag } = await xos.orgExports.get("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f");
response = xos.org_exports.get("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f")
xos org-exports get 0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f