Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

post

Overview

This endpoint is used for preparing an export of a table on Redivis.

HTTP Request

POST /tables/:tableReference/exports
POST /workflows/:workflowReference/tables/:tableReference/exports

When using the /workflows/:workflowReference/tables/:tableReference form, tableReference may be the table's name (and optional reference id) alone, and can refer to any table in the workflow, including tables from the workflow's datasources. See referencing tables within a workflow.

POST /tables/:tableReference/uploads/:uploadName/exports

Uploads can only be exported from unreleased versions.

POST /queries/:queryId/exports

Queries can only be exported within 24 hours after the query has completed.

Path parameters

Parameter

tableReference

A qualified reference to the table to be exported. See referencing resources for more information.

workflowReference

A qualified reference to a workflow. When provided, tableReference may be the table's name alone, and can refer to any table in the workflow, including tables from the workflow's datasources.

This endpoint extends the general API structure

Request body

Provide a JSON object with information about the dataset.

Property name
Type
Description

format

string

The type output format of the export. Must be one of "csv" | "parquet" | "jsonl" | "avro" | "sas7bdat" | "dta" | "sav". If not specified, "csv" will be used.

Authorization

Data access to all tables referenced by the query is required. If a table's data is not public, your access token must have one of the following scopes:

  • data.data

  • data.edit

Response body

Returns the JSON-encoded "get" representation of an export resource.

Last updated

Was this helpful?