Skip to main content
GET
/
job
/
v1
/
events
/
{jobId}
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/job/v1/events/{jobId} \
  --header 'Authorization: Bearer <token>'
{
  "events": [
    {
      "kind": "<string>",
      "message": "<string>",
      "severity": "INFO",
      "timestamp": 123
    }
  ],
  "job": {
    "completed": true,
    "failedTasks": 123,
    "jobId": "<string>",
    "kind": "<string>",
    "lastActivityAt": 123,
    "libraryId": "<string>",
    "remainingTasks": 123,
    "requestor": "<string>",
    "startedAt": 123,
    "status": "IN_PROGRESS",
    "succeededTasks": 123,
    "taskRetries": 123,
    "type": "UNKNOWN"
  },
  "kind": "<string>",
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

jobId
string
required

The ID of the job

Query Parameters

onlyErrors
boolean
default:false

Whether to return only job events in error. All events are returned by default.

pageToken
string

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

maxResults
integer<int32>
default:100

Maximum number of events returned (default: 100)

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiJobEventList response

events
object[]
job
object
kind
string
nextPageToken
string