Skip to content

Get a scoring job's status

GET
/api/v1/packages/score/{jobId}
curl --request GET \
--url https://api.pkgplease.com/api/v1/packages/score/example \
--header 'Authorization: Bearer <token>'
jobId
required
string

Job status — result is present only when status is done

Media typeapplication/json
object
jobId
string
status
string
name
string
version
string
attempts
number
error
string
nullable
result
object
Examplegenerated
{
"jobId": "example",
"status": "example",
"name": "example",
"version": "example",
"attempts": 1,
"error": "example",
"result": {}
}

Job not found (also returned if the job belongs to a different org)

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}