---
updatedAt: 2026-09-18T15:16:34.000Z
agentTools:
  projectIndex: https://developers.burodeingresos.com/llms.txt
---

# Get Export

Returns the state of an export and, once completed, one signed download link per file.

Each `url` is valid for about **1 hour** and is re-issued fresh on every read, so if a link expires, call this endpoint again. The export itself is available for **7 days** after completion; after that the files are purged and `files` comes back empty.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Buró de Ingresos API",
    "version": "v1.2.25",
    "description": "Verify income and employment data with just a CURP. Made with ❤️ in Mexico 🇲🇽"
  },
  "servers": [
    {
      "url": "https://api.burodeingresos.com",
      "description": "Production server"
    }
  ],
  "tags": [
    {
      "name": "Exports",
      "description": "Asynchronous CSV exports of a completed bulk's results. One file per entity; download links are re-issued on every read and the export is available for 7 days after completion."
    }
  ],
  "paths": {
    "/exports/{export_id}": {
      "get": {
        "tags": [
          "Exports"
        ],
        "summary": "Get Export",
        "operationId": "getExport",
        "x-readme": {
          "slug": "get-export"
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "description": "Returns the state of an export and, once completed, one signed download link per file.\n\nEach `url` is valid for about **1 hour** and is re-issued fresh on every read, so if a link expires, call this endpoint again. The export itself is available for **7 days** after completion; after that the files are purged and `files` comes back empty.",
        "parameters": [
          {
            "name": "export_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The export_id returned by POST /exports."
          }
        ],
        "responses": {
          "200": {
            "description": "Export state, with download links while completed and not expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportResponse"
                },
                "examples": {
                  "completed": {
                    "value": {
                      "export_id": "7f2c8a90-1b2c-4d3e-9f4a-5b6c7d8e9f0a",
                      "bulk_id": "136d551e-5293-438e-ad79-5831c43a71b1",
                      "status": "completed",
                      "requested_at": "2026-09-18T14:44:23Z",
                      "finished_at": "2026-09-18T14:44:24Z",
                      "expires_at": "2026-09-25T14:44:24Z",
                      "files": [
                        {
                          "name": "invoices.csv",
                          "rows": 812000,
                          "bytes": 410000000,
                          "url": "https://...",
                          "expires_at": "2026-09-18T15:44:41Z"
                        },
                        {
                          "name": "profiles.csv",
                          "rows": 3950,
                          "bytes": 4100000,
                          "url": "https://...",
                          "expires_at": "2026-09-18T15:44:41Z"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The export_id does not exist on your account.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "export_not_found": {
                    "value": {
                      "error": {
                        "code": "export_not_found",
                        "message": "No export found with the specified ID.",
                        "details": "The export_id 7f2c8a90-1b2c-4d3e-9f4a-5b6c7d8e9f0a does not correspond to an existing export."
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorDetail"
          }
        }
      },
      "ErrorDetail": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "A machine-readable error code."
          },
          "message": {
            "type": "string",
            "description": "A human-readable message providing a summary of the error."
          },
          "details": {
            "type": "string",
            "description": "Additional details about the error, which can help in debugging."
          }
        }
      },
      "ExportFile": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "invoices.csv"
          },
          "rows": {
            "type": "integer",
            "example": 812000
          },
          "bytes": {
            "type": "integer",
            "example": 410000000
          },
          "url": {
            "type": "string",
            "description": "Signed download link, valid for about 1 hour. Re-issued fresh on every read of GET /exports/{export_id}. Only present while the export is completed and not expired."
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "description": "Expiration of this download link."
          }
        }
      },
      "ExportResponse": {
        "type": "object",
        "properties": {
          "export_id": {
            "type": "string",
            "format": "uuid"
          },
          "bulk_id": {
            "type": "string",
            "format": "uuid"
          },
          "estimates": {
            "type": "object",
            "description": "Present only when `estimates` was requested. The options `estimates.csv` is computed with, defaults included.",
            "properties": {
              "window_months": {
                "type": "integer"
              },
              "sources": {
                "type": "string"
              },
              "as_of": {
                "type": "string",
                "format": "date"
              },
              "history": {
                "type": "boolean"
              }
            }
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "processing",
              "completed",
              "failed",
              "expired"
            ]
          },
          "requested_at": {
            "type": "string",
            "format": "date-time"
          },
          "finished_at": {
            "type": "string",
            "format": "date-time"
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "description": "The export is available for 7 days after completion. After this moment the files are purged."
          },
          "error_code": {
            "type": "string",
            "description": "Present only when status is failed."
          },
          "error_message": {
            "type": "string",
            "description": "Present only when status is failed."
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExportFile"
            },
            "description": "Empty until the export completes, and empty again once it expires."
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "API Key for authenticating requests."
      }
    }
  }
}
```