v2

latestOpenAPI 3.0.0SolarWinds Software Services Agreement2026-07-2167105153.0 KB
logs

Retrieve location and metadata of log archives

Retrieves a list of log archives within a time period.

get/v1/logs/archives

Query parameters

startTimestring required

List archives beginning at this time. Timestamp in ISO 8601 format in UTC timezone: yyyy-MM-ddTHH:mm:ssZ. Must be within the the last year.

endTimestring required

List archives ending at this time. Timestamp in ISO 8601 format in UTC timezone: yyyy-MM-ddTHH:mm:ssZ. Must be within the the last year.

pageSizeinteger

Number of items in a response page. Default varies by API.

skipTokenstring

Token for the requested page.

Response

The request has succeeded.

Example response

{
  "logArchives": [
    {
      "id": "logs/138723/dt=2024-01-23/2024-01-23-08.json.gz",
      "name": "2024-01-23-08.json.gz",
      "downloadUrl": "https://ssp-log-archives.s3.amazonaws.com/logs/138723/dt%3D2024-01-23/2024-01-23-08.json.gz?X-Amz-Security-Token=IQ...",
      "archivedTimestamp": "1706020985",
      "archiveSize": 817226354
    }
  ]
}