Skip to content

Observability

All operations require authentication.

1 operationv2/publicCloud/project
Agent setup

List instance eventsProduction

GET
/v2/publicCloud/project/{projectId}/compute/instance/{instanceId}/events

List instance events

Returns the instance's event history. An audit log of the operations performed on it (create, reboot, resize, ...), most recent first. Each event carries a kind (the operation), a type (its outcome, for example TASK_SUCCESS), a human-readable message, and a createdAt timestamp. This is a read-only, synchronous call.

Path parameters

instanceId
required
stringuuid

Instance ID

projectId
required
string

Project ID

Headers

X-Pagination-Cursor
string

Pagination cursor

X-Pagination-Size
integer

Pagination size

Response

200Event[]successful operation
createdAt
read-only
stringdate-time

Creation date of the event

kind
read-only
string

Nature of the event

link
read-only
string

Link to the event related resource

message
read-only
string

Description of what happened on the event

type
read-only
EventTypeEnum

Type of the event

ValuesTARGET_SPEC_UPDATETASK_ERRORTASK_STARTTASK_SUCCESS

Example uses instanceId = 00000000-0000-0000-0000-000000000000, projectId = string

$ curl https://api.eu.ovhcloud.com/v2/publicCloud/project/{projectId}/compute/instance/{instanceId}/events \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "createdAt": "2024-01-01T12:00:00Z", "kind": "string", "link": "string", "message": "string", "type": "TARGET_SPEC_UPDATE" }]