Documentation Index
Fetch the complete documentation index at: https://api-reference.scale.com/llms.txt
Use this file to discover all available pages before exploring further.
Create Multi-Stage Task
This endpoint creates amultistage task. Multi-stage tasks are designed to handle complex full-scene labeling that spans multiple annotation types and modalities, and serves as a replacement for Scale’s legacy dependent tasks system (which requires using multiple tasks to fully label a scene).
Use cases for multi-stage tasks include but are not limited to:
- Linking 3D cuboids to their 2D bounding box/polygon projections
- Linking 3D cuboids to relevant top-down annotations
- Conditional labeling (e.g. categorizing scenes based on localization quality to determine whether to label them)
The callback_url is the URL which will be POSTed on task completion, and is described in more detail in the Callback section. Scale supports the following attachment types for multi-stage tasks:
- (Recommended) Sensor Fusion Scene (.SFS)
- LiDAR frames (.JSON)
The name of the project to associate this task with. See the Projects Section for more details.
The name of the batch to associate this task with. Note that if a batch is specified, you need not specify the project, as the task will automatically be associated with the batch’s project. For Scale Rapid projects specifying a batch is required. See Batches section for more details.
A markdown-enabled string or iframe embed google doc explaining how to do the task. You can use markdown to show example images, give structure to your instructions, and more.
The full url (including the scheme
http:// or https://) of the callback when the task is completed. See the Callback section for more details about callbacks.URLs to the scene attachments. Can be a single URL for
.SFS attachments, or one URL per frame for .JSON attachments.Describes what type of file the attachment is. Can be
sensor_fusion for .SFS attachments or split_base64 for .JSON attachmentsThe ID of the blueprint that you would like to use when creating the multi-stage task. If no blueprint is specified, Scale will default to using the project’s most recent active blueprint.
A set of key/value pairs that you can attach to a task object. It can be useful for storing additional information about the task in a structured format. Max 10KB.
A arbitrary ID that you can assign to a task and then query for later. This ID must be unique across all projects under your account, otherwise the task submission will be rejected. See Avoiding Duplicate Tasks for more details.
A value of 10, 20, or 30 that defines the priority of a task within a project. The higher the number, the higher the priority.
If set to be true, if a task errors out after being submitted, the unique id on the task will be unset. This param allows workflows where you can re-submit the same unique id to recover from errors automatically
Arbitrary labels that you can assign to a task. At most 5 tags are allowed per task. You can query tasks with specific tags through the task retrieval API.