---
title: "Log history for one VM container from the attached logs backend, newest first: scope=vm, container=<name>, range=15m|1h|6h|24h, limit (default 200, max 1000), optional q and cursor. Returns items, hasMore, nextCursor, provider. 404 without a logs backend"
method: GET
path: "/resources/{resourceID}/logs/range"
tags: ["Reports & Analytics"]
---

# Log history for one VM container from the attached logs backend, newest first: scope=vm, container=<name>, range=15m|1h|6h|24h, limit (default 200, max 1000), optional q and cursor. Returns items, hasMore, nextCursor, provider. 404 without a logs backend

`GET /resources/{resourceID}/logs/range`

## Request

- Base URL: `https://api.zop.dev`
- URL: `https://api.zop.dev/resources/{resourceID}/logs/range`
- Auth: HTTP bearer

Log history for one VM container from the attached logs backend, newest first: scope=vm, container=<name>, range=15m|1h|6h|24h, limit (default 200, max 1000), optional q and cursor. Returns items, hasMore, nextCursor, provider. 404 without a logs backend

## Path parameters

- `resourceID` string, required

## Response `200`

Successful response.

- GenericResponse: Response payload. Per-endpoint response schemas are not yet published — see the linked documentation for the concrete shape of each.

## Other responses

- `401`: Missing, expired or invalid bearer token.
- `403`: The caller is authenticated but lacks permission.
- `404`: No such resource, or it is not visible to this caller.
- `429`: Rate limit exceeded: more than 100 requests in the current one-minute window for this organization. No `Retry-After` or `X-RateLimit-*` headers are returned — back off exponentially (1s, 2s, 4s). The window is fixed and resets on the clock minute, so a 429 late in a minute clears quickly.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/zop/apis/zopnight-platform-api.md) · [All operations](https://skmtc.dev/zop/apis/zopnight-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zop/apis/zopnight-platform-api/revisions/ee28c3af60aa?raw)
