Zuplo Developer API

List request logs

GET
https://dev.zuplo.com
/v1/deployments/{deploymentName}/logs/requests

Lists request-log summaries for a deployment within the given time window, ordered most recent first. Supports cursor pagination and optional filtering by HTTP method, status class, route path, log severity, and free-text search.

List request logs › path Parameters

deploymentName
​string · required

The name of the deployment. You can find this in the Zuplo Portal under Settings > Environments.

List request logs › query Parameters

startTime
​string · date-time · required

Inclusive ISO 8601 lower bound on request timestamp.

endTime
​string · date-time · required

Inclusive ISO 8601 upper bound on request timestamp.

cursor
​string

Opaque cursor returned in pagination.cursor on a previous page. Pass to fetch the next page.

limit
​integer · int32 · min: 1 · max: 200

Maximum number of results to return (1-200).

Default: 50
httpMethod
​string · enum

Filter to requests with this HTTP method.

Enum values:
GET
POST
PUT
PATCH
DELETE
HEAD
OPTIONS
TRACE
httpStatus
​string · enum

Filter to requests with this HTTP status class (2xx, 3xx, 4xx, 5xx).

Enum values:
2xx
3xx
4xx
5xx
routePath
​string

Filter to requests that matched this route path.

search
​string

Case-insensitive free-text search across log message bodies for the request window.

severity
​string · enum

Filter to requests whose maximum log severity equals this value.

Enum values:
debug
info
warn
error

List request logs › Responses

The request has succeeded.

Response listing request-log summaries for a deployment.

Array of request-log summaries, ordered most recent first.

​object · required

Pagination state for the result set.


Get request log detail

GET
https://dev.zuplo.com
/v1/deployments/{deploymentName}/logs/requests/{requestId}

Retrieves the full request detail and all log entries for a single request on a deployment.

Get request log detail › path Parameters

deploymentName
​string · required

The name of the deployment. You can find this in the Zuplo Portal under Settings > Environments.

requestId
​string · required

The unique identifier of the request (correlation ID stamped by the gateway).

Get request log detail › Responses

The request has succeeded.

Response containing the request detail and all log entries for a single request.
​object · required

The request summary and contextual fields.

All log entries emitted during the request, ordered by emit time.