openapi: 3.2.0 info: title: V1 Data Export API version: '1' description: API for exporting data from Northbeam termsOfService: https://www.northbeam.io/terms servers: - url: https://api.northbeam.io/v1/exports security: - api_key: [] client_id: [] tags: - name: Data Export paths: /data-export: post: summary: Create a data export config requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateDataExport' responses: '201': description: Data Export created successfully content: application/json: schema: type: object properties: id: type: string format: uuid '401': description: Unauthorized '422': description: Invalid Body Params '429': description: Too many requests '500': description: Internal server error tags: - Data Export /data-export/result/{export_id}: get: summary: Fetch a data export result parameters: - in: path name: export_id schema: type: string format: uuid required: true responses: '200': description: Data export result content: application/json: schema: $ref: '#/components/schemas/DataExportResult' '401': description: Unauthorized '429': description: Too many requests '500': description: Internal server error tags: - Data Export components: schemas: Export_To_GCS_Bucket: allOf: - type: object required: - bucket_name properties: bucket_name: description: Name of the external bucket where to export your file. type: string export_file_name: description: Name of the exported file, if not provided, default one will be used. Can include subdirectory paths (e.g., `folder/subfolder/file`). type: string minLength: 3 pattern: ^(?!/)(?!.*//)[A-Za-z0-9_/-]+(?