Skip to main content
GET
Get job label hits

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

jobUuid
string
required

job_uuid is the unique identifier of the job

Query Parameters

jobResultId
string

job_result_id scopes the response to a single result of the job (e.g. the ContentFeedEntry.job_result_id backing one content-feed row). When unset, labels from every result in the job are returned.

pageSize
integer<int32>

Pagination: maximum number of label hits to return. When unset or 0, defaults to 1000. Maximum 1000; larger values are treated as 1000. Negative values are rejected.

pageToken
string

Pagination: the next_page_token from a previous response for the same job_uuid and job_result_id. Omit to fetch the first page.

Response

A successful response.

labels
object[]
status
enum<string>
default:JOB_STATUS_UNSPECIFIED
Available options:
JOB_STATUS_UNSPECIFIED,
JOB_STATUS_PENDING,
JOB_STATUS_RUNNING,
JOB_STATUS_COMPLETED,
JOB_STATUS_FAILED,
JOB_STATUS_CANCELED
error
object

Details about a terminal job failure. Job status remains the authoritative success/failure signal; this message provides a stable machine-readable reason and a human-readable explanation when status is JOB_STATUS_FAILED.

message is the fixed explanation for the reason, not worker error text, so it is safe to display but not useful to parse โ€” branch on reason instead.

nextPageToken
string

Set when more label hits remain after this page. Pass it as page_token to fetch the next page.