✨ Get Agreement V2 backfill status

<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card> Retrieve the status of an Agreement V2 backfill job for the authenticated user's active organization. By default returns the aggregated organization status. Specify job_id or project_id to get a specific job status. Requires administrator or owner role and the Agreement V2 feature flag.

Authentication

AuthorizationToken
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>

Query parameters

job_idintegerOptional
Optional job ID to retrieve specific job status
project_idintegerOptional
Optional project ID to retrieve the latest backfill status for that project. If omitted, returns aggregated organization status.

Response

created_atdatetimeRead-only
job_idintegerRead-only
Database ID of the backfill job
project_idinteger or nullRead-only

Optional specific project to backfill (if null, backfills entire organization)

rq_job_idstring or nullRead-only
Redis queue job ID
triggered_bystringRead-only
User who triggered the backfill
completed_atdatetime or null
error_messagestring
Error message if job failed
progress_dataany

JSON data tracking job progress (matrices_created, errors, etc.)

started_atdatetime or null
statusenum

Current status of the backfill job

  • PENDING - Pending
  • QUEUED - Queued
  • RUNNING - Running
  • COMPLETED - Completed
  • FAILED - Failed
Allowed values:

Errors

403
Forbidden Error
404
Not Found Error