GET
/
v1
/
task
/
{taskId}
curl --request GET \
  --url https://api.scale.com/v1/task/{taskId} \
  --header 'Authorization: Bearer <token>'
{
  "task_id": "123",
  "created_at": "2024-01-01T00:00:00.000Z",
  "type": "chat",
  "params": {},
  "response": {
    "responses": [
      {
        "type": "Instructions",
        "output": ""
      },
      {
        "type": "PromptInput",
        "output": "test prompt"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

taskId
string
required

Scale's unique identifier for the task.

Response

200 - application/json
List of completed tasks.
task_id
string

Unique identifier for the task.

created_at
string

Timestamp when the task was created.

type
string

Type of the task

params
object

Additional parameters for the task.

response
object

Response object containing task output.