Jobs

Read job logs

Returns ordered log chunks from the given cursor. Poll with the returned next_cursor until complete is true to stream a running job's output.

get/jobs/{id}/logs

Request

  • Base URL: https://api.latchkey.dev
  • URL: https://api.latchkey.dev/jobs/{id}/logs
  • Auth: HTTP bearer

Query parameters

cursorinteger

Chunk index to read from. Omit to start at the beginning.

Response

Log chunks.

next_cursorinteger required

Cursor to pass on the next poll.

completeboolean required

True once the job is terminal and all logs have been returned.

Changes

No recorded changes to this operation across all 1 revision of this API.