POST
/
datasources
/
{source_id}
/
run
Start an extraction run for a file
curl --request POST \
  --url https://api.cloudsquid.io/api/datasources/{source_id}/run \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "pipeline": "cloudsquid-flash",
  "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "zero_retention": true
}'
{
  "run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

source_id
string<uuid>
required

the ID of the datasource

Body

application/json

Response

202
application/json

Extraction started successfully

The response is of type object.