Get Job Logs

List logs, optionally filtering on job, source, or destination. Logs are retrieved in reverse chronological order.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
query Parameters
job
string (Job)

Require returned logs to belong to the job given by this external ID.

limit
integer [ 1 .. 1000 ]
Default: 100

Limits the number of results to be returned. The maximum results returned by the server is 1000 even if you specify a higher limit.

cursor
string

Cursor for paging through results. In general, if a response contains a nextCursor property, it means that there may be more results, and you should pass that value as the cursor parameter in the next request.

Note that the cursor may or may not be encrypted, but either way, it is not intended to be decoded. Its internal structure is not a part of the public API, and may change without notice. You should treat it as an opaque string and not attempt to craft your own cursors.

Example: cursor=4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo
source
string (Source)

Require returned logs to belong to the any job with source given by this external ID.

destination
string (Destination)

Require returned logs to belong to the any job with destination given by this external ID.

Responses
200

List of retrieved job logs

400

The response for a bad request.

422

Validation Error

get/hostedextractors/jobs/logs
Request samples
res = client.hosted_extractors.jobs.list_logs(job="myJob")
Response samples
application/json
{
  • "items": [
    • {
      }
    ]
}