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.

Example:

"task_abc123"

Response

200 - application/json

List of completed tasks.

The response is of type object.