Skip to main content
GET
/
receive
/
metrics
/
jobs
/
{jobId}
/
logs
List log files for a job
curl --request GET \
  --url https://{host}/receive/metrics/jobs/{jobId}/logs
{
  "jobId": "<string>",
  "name": "<string>",
  "parameters": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "logs": [
    {
      "name": "<string>",
      "contents": "<string>"
    }
  ]
}

Path Parameters

jobId
string
required

Job GUID.

Query Parameters

lines_to_tail_in_logs
integer
default:-1

Tail N lines from each log; -1 returns the entire file.

Response

200 - application/json

Log files (with optional tail)

jobId
string
name
string
parameters
object[]
logs
object[]