API Reference
Log In

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"
}
ParameterTypeDescription
accessKeystringThe API key’s identifier.
modelsListarrayAn array that contains the list of the API key’s distinct models used.
modelsCountnumberThe API key’s total number of distinct models used.
jobsCountnumberThe API key’s total number of jobs requested.
lastApiUsagenumberThe last time the API key was used in ISO8601 (YYYY-MM-DDThh:mm:ss.sTZD) format.

The job history object

{
  "identifier": "...",
  "status": "...",
  "history": []
}
ParameterTypeDescription
identifierstringThe job’s identifier.
statusstringThe job’s status.
historyarrayAn array that contains the logs.