Skip to content

Search Logs

Return a list of log files matching the provided filters. Each result includes a 15-minute presigned S3 URL for direct file download. Results are sourced from Polaris and reflect files that have been ingested from S3.

Verb POST
Endpoint {base-url}/logs/search
Max Page Size 1000

Request Body

{
  "requestFilter": {
    "organizationIds": [3],
    "machineIdentifiers": ["PROSE2103597495"],
    "startDate": "2026-05-30",
    "endDate": "2026-06-05"
  },
  "routeFilter": {
    "logTypes": ["vn_client"]
  }
}

Filters Honored

Returns

On Success

The requested set of log search results.

Response Body

[
  {
    "logId": "log-12236-20260604-PokemonMV",
    "fileName": "PokemonMV_1158.log.gz",
    "logType": "vn_client",
    "machineId": "12236",
    "hostname": "USNWSEAQ01409",
    "orgId": "317",
    "orgName": "Pokemon Demo",
    "timestamp": "2026-06-04T23:49:47.5186797Z",
    "sessionIds": "[]",
    "kcsId": "KCSID-00032D-5DFCF0",
    "eventId": "35a049a7-0965-4efc-a79d-3922a82d3c35",
    "downloadUrl": "https://vn-vnclient-telemetry-prod.s3.us-west-2.amazonaws.com/...",
    "downloadUrlExpiry": "2026-06-05T00:04:47.5186797Z"
  }
]

On Error

HTTP Code Error Code Definition
400 INVALID_DATE_RANGE startDate is after endDate.
500 VN_INTERNAL_ERROR An unexpected error occurred.

A machineIdentifiers or organizationIds filter is silently narrowed to what you have access to, same as every other read: a machine or org you don't have access to simply contributes no results rather than returning an error.