Authentication
Authentication
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.
Batch Status Requirement
You can only finalize batches that are currently in staging status. Batches in other statuses (in_progress, completed, paused) cannot be finalized.Once finalized, the batch status will change to in_progress and task processing will begin.Required request parameters
You are expected to provide one of the following in the request body:- Batch ID (
batch_id
) - Batch Name (
batch_name
)
Authorizations
Your API Key is the Bearer token. See the Authentication section to learn how to access your key.
Body
application/json
Response
Batch finalized successfully.
A unique identifier for the batch.
Example:
"batch_abc123"
The name of the batch.
Example:
"My Scale Batch"
A timestamp formatted as an ISO 8601 date-time string.
Status of the batch.
Available options:
staging
, in_progress
, completed
, paused
, cancelled
Custom metadata for the entity.
UTC timestamp when the batch was completed.
Callback URL or email for the entity upon completion.
Example:
"https://example.com/callback"