Skip to content
Skip to Content

A deployment's events

GET
/deployments/{deploymentId}/events

What the servers' agents reported while rolling it out: image pulled, container started, healthy, unhealthy, stopped.

Authorization

bearer
headerAuthorizationBearer <token>

An API key (opk_…) or a CLI token (opc_…).

Path parameters

deploymentId*string

The deployment's id.

Query parameters

limit?integer

How many items to return, 1 to 100. Default 50.

Range1 <= value <= 100
cursor?string

The nextCursor of the previous page.

Lengthlength <= 500

Response body

A deployment's events

application/json
  1. response
data*array<>
nextCursor*|

Pass as cursor for the next page; null on the last.

Example request
curl "https://openpanel.sh/api/v1/deployments/$DEPLOYMENT_ID/events" \  -H "Authorization: Bearer $OPENPANEL_TOKEN"
Example response
{  "data": [    {      "id": "string",      "serverId": "10d2345a-e43d-463d-830e-4f5b19b60d41",      "container": "string",      "kind": "string",      "message": "string",      "at": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "string"}