Observability
All operations require authentication.
1 operationv2/publicCloud/project
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
instance Id
required
stringuuid
Instance ID
project Id
required
string
Project ID
Headers
X- Pagination- Cursor
string
Pagination cursor
X- Pagination- Size
integer
Pagination size
Response
200Event []successful operation
created At
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
Event Type Enum
Type of the event
Values
TARGET_SPEC_UPDATETASK_ERRORTASK_STARTTASK_SUCCESSExample 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"[ { "createdAt": "2024-01-01T12:00:00Z", "kind": "string", "link": "string", "message": "string", "type": "TARGET_SPEC_UPDATE" }]