Response with the recent CEP archive exports in `data`, newest first.
Properties
Field
Type
Description
data
array
Main response payload. Shape varies by endpoint (object, array, or JSON:API envelope with type, id, attributes).
Show moreShow less
type
string
JSON:API resource type. Always cep_archive.
Show moreShow less
id
string (uuid)
Resource identifier, unique within its type. It always travels as a string, even when it originates from an auto-increment column.
Show moreShow less
attributes
object
Attributes of an asynchronous CEP archive export.
Show moreShow less
status
string
Export state — queued: Waiting in the queue; building: The archive is being built; ready: The archive is ready to download; failed: It could not be generated (see error_code); expired: The archive expired and was deleted. The terminal states are ready, failed and expired: while it is queued or building, keep polling.
Show moreShow less
from
string (date)
Start date of the range (inclusive, YYYY-MM-DD).
Show moreShow less
to
string (date)
End date of the range (inclusive, YYYY-MM-DD).
Show moreShow less
item_count
integer | null
Number of CEPs included in the archive. null until the export is ready.
Show moreShow less
size_bytes
integer | null
Size of the ZIP archive in bytes. null until the export is ready.
Show moreShow less
error_code
string | null
Cause of the failure when status is failed — range_too_large: The range exceeds the maximum CEPs per export; no_ceps: The range no longer has CEPs available; storage_full: The service has no room to store the archive; build_failed: Building the archive failed. null in any other state.
Show moreShow less
created_at
string (date-time)
Moment the export was requested, in UTC.
Show moreShow less
completed_at
string | null
Moment it finished (ready or failed), in UTC. null while in progress.
Show moreShow less
expires_at
string | null
Moment from which the archive can no longer be downloaded, in UTC: 24 hours after completed_at. null until the export is ready.
Show moreShow less
links
object
Export links. download appears only when the state is ready.
Show moreShow less
self
string
Path of this export, to check its status.
Show moreShow less
download
string
Download path of the ZIP. Present only when the status is ready.
Show moreShow less
meta
object
Response metadata including API version, route prefix, unique request identifier, and the server timestamp in UTC.
Show moreShow less
version
string
API version that processed the request.
Show moreShow less
api_version
string
API route prefix version (e.g. v1).
Show moreShow less
request_id
string
Unique request identifier, 24 hexadecimal characters. Keep it and quote it when you contact support: it locates the request.
Show moreShow less
datetime
object
Companion descriptor present in the meta block of every response (and in
the meta of outgoing webhook bodies). Lets clients assert the timezone
contract without re-reading the spec.
Show moreShow less
timezone*
string
Always UTC: The canonical timezone for every datetime field in the body.
Show moreShow less
format*
string
Always ISO 8601: Explicit Z suffix on every datetime.
Show moreShow less
field_names_notice
object
Field-name change notice. It only appears on POST /v1/validate, POST /v1/validate-ocr, GET /v1/validations, GET /v1/validations/{id}, POST /v1/validations/{id}/recheck, GET /v1/summary and GET /v1/finance/summary, the same operations that send the Deprecation and Sunset headers. With legacy_request_fields, the request used Spanish field names; it is also sent on error responses. With legacy_response_fields, the request used English names only and the notice refers to the Spanish fields the response duplicates; it is sent on successful responses only.
Show moreShow less
code*
string
Notice type. legacy_request_fields: the request used Spanish field names. legacy_response_fields: the response includes duplicated Spanish fields that will stop being sent.
Show moreShow less
message*
string
Notice text, in the response language (Accept-Language).
Show moreShow less
sunset*
string (date)
Cut-off date, the same one the Sunset header announces.
Show moreShow less
documentation_url*
string (uri)
Migration guide to the English names, in the response language.
Show moreShow less
legacy_fields
array
Spanish names the request sent. Only with legacy_request_fields.
Show moreShow less
links
object
Pagination or related links, present only when the endpoint returns a paginated collection.