Export a CSV
Export a CSV
ExportCSV returns a short-lived presigned URL to download the enriched project
CSV (one line per product plus the computed columns). The URL expires 15 minutes
after it is issued (expiresAt), so fetch the file promptly.
Export once the project reaches status: "completed" (see
Get Progress).
Endpoint
POST https://api.dangofish.com/api.v1.Service/ExportCSVAuthorization: Bearer dk_org_...
Content-Type: application/jsonRequest
{ "projectId": "aB3xK9" }Response
{
"downloadUrl": "https://s3.eu-west-1.amazonaws.com/...&X-Amz-Signature=...",
"expiresAt": "2026-07-09T10:45:00Z"
}Examples
DOWNLOAD_URL=$(curl -s -X POST https://api.dangofish.com/api.v1.Service/ExportCSV \
-H "Authorization: Bearer $DANGO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectId": "aB3xK9"}' | jq -r '.downloadUrl')
curl -s "$DOWNLOAD_URL" -o enriched.csvErrors
Unauthenticated: missing or invalid API key.PermissionDenied: the project belongs to another organization.FailedPrecondition: the project is not ready to export yet.