Skip to main content
GET
/
v2
/
datasets
/
task
API_KEY='live_...'
TASK_ID='abc123'
curl --request GET \
--url "https://api.scale.com/v2/datasets/task?task_id=$TASK_ID" \
--header "Authorization: Bearer $API_KEY"
{
  "task_id": "task_123",
  "delivery": "delivery_123",
  "dataset": "dataset_123",
  "response": {
    "key_1": "value_1",
    "key_2": "value_2"
  }
}
Every request sent to Scale’s API requires authentication. In short, your API Key is the Bearer token. See the Authentication section for more details.

Authorizations

Authorization
string
header
required

Your API Key is the Bearer token. See the Authentication section to learn how to access your key.

Query Parameters

task_id
string
required

Scale's unique identifier for the task.

Example:

"task_abc123"

expand
enum<string>[]

List of fields to expand in the response.

Response

Complete task.

task_id
string
required

Unique identifier for the task.

Example:

"task_abc123"

dataset
required

Dataset ID or Dataset associated with the task. Unique identifier for a dataset

Example:

"dataset_abc123"

delivery
required

Delivery ID or Delivery associated with the task. Unique identifier for a delivery

Example:

"delivery_abc123"

response
object
required

Response associated with the dataset task.

I