Logs

Overview

Job logs return job statistics and the job lifecycle. Statistics include an API key’s list of models used, the model count, the job count, and the last usage date. The lifecycle logs include a job’s identifier, status, and input details.

The statistics object

{
    "accessKey": "...",
    "modelsList": [],
    "modelsCount": 10,
    "jobsCount": 50,
    "lastApiUsage": "2020-01-24T17:16:24.277+0000"
}

Parameter

Type

Description

accessKey

string

The API key’s identifier.

modelsList

array

An array that contains the list of the API key’s distinct models used.

modelsCount

number

The API key’s total number of distinct models used.

jobsCount

number

The API key’s total number of jobs requested.

lastApiUsage

number

The last time the API key was used in ISO8601 (YYYY-MM-DDThh:mm:ss.sTZD) format.

The job history object

{
  "identifier": "...",
  "status": "...",
  "history": []
}

Parameter

Type

Description

identifier

string

The job’s identifier.

status

string

The job’s status.

history

array

An array that contains the logs.