Database APIs

Creating a Database Export Job

To export a database, create a database export job:


The payload should contain an export job request:

  // A name/label for the export. Will be included export artifact name
  name: string,
  // One or more databases from which to export
  databases: UUID[],
  // Export type, defaults to "application/json"
  media_type?: "application/json" | "application/xlsx" | "text/csv",
  filters?: {
    // ISO8601 timestamp
    start_date?: Timestamp,
    end_date?: Timestamp,

PixieBrix will respond with a job:


Call the GET endpoint to fetch the job details.

Upon success, the job detail will include a data link to the exported data.

Last updated