Skip to main content
POST
/
v1
/
intent
/
audiences
/
{id}
/
runs
/
{runId}
/
exports
Create or reuse a stored CSV export for a completed run
curl --request POST \
  --url https://api.aws53.cloud/v1/intent/audiences/{id}/runs/{runId}/exports \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "export": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "audienceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "runId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "exportType": "csv",
      "status": "processing",
      "storageProvider": "b2",
      "contentType": "<string>",
      "byteSize": 123,
      "rowCount": 123,
      "bucketName": "<string>",
      "fileId": "<string>",
      "fileName": "<string>",
      "contentSha1": "<string>",
      "errorCode": "<string>",
      "errorMessage": "<string>",
      "requestedBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "completedAt": "2023-11-07T05:31:56Z",
      "expiresAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    },
    "downloadUrl": "<string>",
    "downloadUrlExpiresAt": "2023-11-07T05:31:56Z",
    "downloadUrlTtlSeconds": 123
  },
  "meta": {
    "timestamp": "2023-11-07T05:31:56Z",
    "request_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.leadpipe.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Dashboard access token. Send as Authorization: Bearer .

Path Parameters

id
string<uuid>
required
runId
string<uuid>
required

Response

Stored CSV export already exists; fresh signed URL returned

data
object
required
meta
object
required