Observability
A list of logs
No content
GET /observability/v2/logs HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Accept: */*
A list of logs
No content
The provider of the bucket
The region of the bucket
Log credentials object
No content
GET /observability/v2/logs/credentials?provider=text®ion=text HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Accept: */*
Log credentials object
No content
The start date to filter logs
The maximum number of logs to return
The log types to filter logs
The number of logs to skip before starting to collect the result set
The direction to order the logs (asc or desc)
The field to order the logs by
The server contexts to filter logs
The end date to filter logs
A list of logs
No content
POST /observability/v2/logs/query HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 188
{
"fromDate": "2025-10-06T11:09:59.602Z",
"limit": 1,
"logType": [
"text"
],
"offset": 1,
"orderByDirection": "text",
"orderByField": "text",
"serverContext": [
"text"
],
"toDate": "2025-10-06T11:09:59.602Z"
}
A list of logs
No content
Bucket information
No content
GET /observability/v2/logs/retention?bucket_name=text&provider=text HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Accept: */*
Bucket information
No content
The name of the bucket
The provider of the bucket
The number of days for the retention policy
Bucket information
No content
POST /observability/v2/logs/retention HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"bucket_name": "text",
"provider": "text",
"retention_policy_days": 1
}
Bucket information
No content
A list of servers
No content
GET /observability/v2/logs/servers HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Accept: */*
A list of servers
No content
The name of the service to filter metrics
A list of metrics
No content
Missing or invalid API key
GET /observability/v2/metrics HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Accept: */*
No content
Was this helpful?