export-schedules

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-export-schedules"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/8fb088d2-b397-4c66-b5d5-5dd2111ad4c2/social-card.svg?v=3e7ae33eec8b" alt="export-schedules" width="600" height="315"></a>
PATCHhttps://lucidace.com/v1/projects/{project_id}/export-schedules/{id}Scope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
enabledboolean
interval_secsinteger
namestring
{
  "enabled": true,
  "interval_secs": 0,
  "name": "string"
}

Code samples

cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/export-schedules/{id}" \
  -H "Content-Type: application/json" \
  -d '{"enabled":true,"interval_secs":0,"name":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "checkpoint": "2024-01-01T00:00:00Z",
  "chunk_secs": 0,
  "created_at": "2024-01-01T00:00:00Z",
  "destination": {},
  "enabled": true,
  "format": "string",
  "id": "string",
  "interval_secs": 0,
  "last_error": "string",
  "last_run_at": "2024-01-01T00:00:00Z",
  "name": "string",
  "options": {
    "apply_deletes": true,
    "compression": "string",
    "consent_categories": [
      "string"
    ],
    "consent_missing": "string",
    "exclude_events": [
      "string"
    ],
    "include_events": [
      "string"
    ],
    "key_template": "string",
    "manifest": true,
    "max_file_mb": 0,
    "query": "string",
    "sensitive": {
      "action": "string",
      "allow": [
        "string"
      ]
    },
    "source_columns": [
      "string"
    ],
    "source_table": "string",
    "timezone": "string"
  },
  "start_at": "2024-01-01T00:00:00Z",
  "stream": "string",
  "warehouse": {
    "kind": "bigquery",
    "params": {}
  }
}
Schema
checkpointstring
chunk_secsintegerrequired
created_atstringrequired
destinationobjectrequired
enabledbooleanrequired
formatstringrequired
idstringrequired
interval_secsintegerrequired
last_errorstring
last_run_atstring
namestringrequired
optionsobjectrequired
Show child parameters
apply_deletesboolean
compressionstring
consent_categoriesstring[]
consent_missingstring
exclude_eventsstring[]
include_eventsstring[]
key_templatestring
manifestboolean
max_file_mbinteger
querystring
sensitiveobject
Show child parameters
actionstring
allowstring[]
source_columnsstring[]
source_tablestring
timezonestring
start_atstringrequired
streamstringrequired
warehouseobject
Show child parameters
kindstringrequired
bigquery | snowflake | redshift | databricks
paramsobjectrequired
default Problem details (RFC 9457)
Example
{
  "detail": "string",
  "instance": "string",
  "status": 0,
  "title": "string",
  "type": "string"
}
Schema
detailstring
instancestring
statusinteger
titlestring
typestring
POSThttps://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/backfillsScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
end_atstring
start_atstring
{
  "end_at": "2024-01-01T00:00:00Z",
  "start_at": "2024-01-01T00:00:00Z"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/backfills" \
  -H "Content-Type: application/json" \
  -d '{"end_at":"2024-01-01T00:00:00Z","start_at":"2024-01-01T00:00:00Z"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201 Created
Example
{
  "bytes": 0,
  "created_at": "2024-01-01T00:00:00Z",
  "data_interval_end": "2024-01-01T00:00:00Z",
  "data_interval_start": "2024-01-01T00:00:00Z",
  "error": "string",
  "files": 0,
  "finished_at": "2024-01-01T00:00:00Z",
  "id": "string",
  "kind": "string",
  "progress": "2024-01-01T00:00:00Z",
  "retry_of": "string",
  "rows": 0,
  "rows_estimate": 0,
  "schedule_id": "string",
  "started_at": "2024-01-01T00:00:00Z",
  "status": "string"
}
Schema
bytesintegerrequired
created_atstringrequired
data_interval_endstringrequired
data_interval_startstringrequired
errorstring
filesintegerrequired
finished_atstring
idstringrequired
kindstringrequired
progressstring
retry_ofstring
rowsintegerrequired
rows_estimateinteger
schedule_idstringrequired
started_atstring
statusstringrequired
POSThttps://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/pauseScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/pause"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

POSThttps://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/resumeScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/resume"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

POSThttps://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/runScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/run"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

202 Accepted
GEThttps://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/runsScope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/runs"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "data": [
    {
      "bytes": 0,
      "created_at": "2024-01-01T00:00:00Z",
      "data_interval_end": "2024-01-01T00:00:00Z",
      "data_interval_start": "2024-01-01T00:00:00Z",
      "error": "string",
      "files": 0,
      "finished_at": "2024-01-01T00:00:00Z",
      "id": "string",
      "kind": "string",
      "progress": "2024-01-01T00:00:00Z",
      "retry_of": "string",
      "rows": 0,
      "rows_estimate": 0,
      "schedule_id": "string",
      "started_at": "2024-01-01T00:00:00Z",
      "status": "string"
    }
  ],
  "next_cursor": "string"
}
Schema
dataexports.Run[]required
Show child parameters
bytesintegerrequired
created_atstringrequired
data_interval_endstringrequired
data_interval_startstringrequired
errorstring
filesintegerrequired
finished_atstring
idstringrequired
kindstringrequired
progressstring
retry_ofstring
rowsintegerrequired
rows_estimateinteger
schedule_idstringrequired
started_atstring
statusstringrequired
next_cursorstring
GEThttps://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/runs/{rid}Scope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired
ridstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/runs/{rid}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

POSThttps://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/runs/{rid}/cancelScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired
ridstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/runs/{rid}/cancel"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

POSThttps://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/runs/{rid}/retryScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired
ridstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/export-schedules/{id}/runs/{rid}/retry"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

Updated