Scale AI
App · 8 actions
Read and manage data labeling projects, batches and tasks in Scale AI.
Actions
| Action | What it does |
|---|---|
| Cancel pending task | Cancel a task that is still pending. |
| Get batch | Read a labeling batch by name. |
| Get batch status | Read a labeling batch’s status and its task counts. |
| Get project | Read a Scale AI project and its annotation settings. |
| Get task | Read a task’s instructions, status and available results. |
| List batches | Read a page of labeling batches, with an optional project and date range. |
| List projects | List Scale AI projects and their annotation types. |
| List tasks | Read a page of labeling tasks with optional status, project and batch filters. |
Cancel pending task
Cancel a task that is still pending.
Inputs
- Task
task_idtextRequired - Task ID.
- Clear unique ID
clear_unique_idtrue/false - Clear unique ID.
Outputs
dataobject- The response from Scale AI.
Example output
{
"data": {
"created_at": "example",
"instruction": "example",
"metadata": {},
"params": {},
"response": {},
"status": "example",
"task_id": "example",
"type": "example"
}
}Get batch
Read a labeling batch by name.
Inputs
- Batch name
batch_nametextRequired - Batch name.
Outputs
dataobject- The response from Scale AI.
Example output
{
"data": {
"completed_at": "example",
"created_at": "example",
"metadata": {},
"name": "example",
"project": "example",
"status": "example"
}
}Get batch status
Read a labeling batch’s status and its task counts.
Inputs
- Batch name
batch_nametextRequired - Batch name.
Outputs
dataobject- The response from Scale AI.
Example output
{
"data": {
"status": "example",
"tasks_completed": 1,
"tasks_pending": 1
}
}Get project
Read a Scale AI project and its annotation settings.
Inputs
- Project name
project_nametextRequired - Project name.
Outputs
dataobject- The response from Scale AI.
Example output
{
"data": {
"created_at": "example",
"name": "example",
"param_history": [
{}
],
"type": "example"
}
}Get task
Read a task’s instructions, status and available results.
Inputs
- Task
task_idtextRequired - Task ID.
Outputs
dataobject- The response from Scale AI.
Example output
{
"data": {
"created_at": "example",
"instruction": "example",
"metadata": {},
"params": {},
"response": {},
"status": "example",
"task_id": "example",
"type": "example"
}
}List batches
Read a page of labeling batches, with an optional project and date range.
Inputs
- Project
projecttext - Project.
- Status
statustext - Status.One of:
staging,in_progress(In progress),completed. - Detailed
detailedtrue/false - Detailed.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- Limit
limitnumber - Limit.From 1 to 100.
- Offset
offsetnumber - Offset.At least 0.
Outputs
dataobject- The response from Scale AI.
Example output
{
"data": {
"docs": [
{
"completed_at": "example",
"created_at": "example",
"metadata": {},
"name": "example",
"project": "example",
"status": "example"
}
],
"has_more": true,
"limit": 1,
"offset": 1,
"totalDocs": 1
}
}List projects
List Scale AI projects and their annotation types.
Inputs
- Archived
archivedtrue/false - Archived.
Outputs
datalist- The response from Scale AI.
Example output
{
"data": [
{
"created_at": "example",
"name": "example",
"param_history": [
{}
],
"type": "example"
}
]
}List tasks
Read a page of labeling tasks with optional status, project and batch filters.
Inputs
- Status
statuslist - Status.One or more of:
completed,pending,canceled. - Project
projecttext - Project.
- Batch
batchtext - Batch.
- Tags
tagslist - Tags.
- Include attachment URL
include_attachment_urltrue/false - Include attachment URL.
- Limit
limitnumber - Limit.From 1 to 100.
- Next token
next_tokentext - Next token.
Outputs
dataobject- The response from Scale AI.
Example output
{
"data": {
"docs": [
{
"created_at": "example",
"instruction": "example",
"metadata": {},
"params": {},
"response": {},
"status": "example",
"task_id": "example",
"type": "example"
}
],
"has_more": true,
"limit": 1,
"next_token": "example",
"total": 1
}
}