Datasets
Export dataset rows
Changed onExports the selected rows as CSV. Returns one of three outcomes, discriminated by status:
- "ready" — the export fit in the synchronous path. Body carries a short-lived signed downloadUrl the caller follows with a plain HTTP GET.
- "queued" — the export was too large for the synchronous path AND a recipient was supplied. The CSV will be emailed to that address. The recipient must be a member of the requesting organization.
- "too_large" — the export was too large for the synchronous path AND no recipient was supplied. Body includes a recommendedAction describing how to recover (typically: ask the user for an email and retry with recipient set).
post/v1/projects/{projectSlug}/datasets/{datasetSlug}/rows/export
Request
- Base URLhttps://api.latitude.so
- AuthHTTP bearer
Path parameters
projectSlugstring required
Project slug (human-readable identifier)
Project slug (human-readable identifier). The CLI can also read this from the LATITUDE_PROJECT_SLUG environment variable.
datasetSlugstring required
Dataset slug (human-readable identifier within the project).
Request body
Response
CSV ready at the signed URL
Changes
- info
added the non-success response with the status
- info
- info
the request property
became optional - info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the success response with the status
- info