Skip to documentation
DocumentationAPI referenceGet provider usage graphs
GETBearer tokenNot supported

Get provider usage graphs

/api/v1/servers/:id/graphs

Compatibility route. The current supplier has no instance usage endpoint. Use the stored metrics endpoint instead.

Request example

cURL
curl "https://tovahub.com/api/v1/servers/507f1f77bcf86cd799439012/graphs" \
  -H "Authorization: Bearer $TOVAHUB_TOKEN"

Examples only. No requests are sent from this page.

Illustrative response
JSON
{
  "error": "request failed"
}

Parameters

idPath · Required

string

Resource ID: 24 hexadecimal characters. Use the platform ID returned by the matching list endpoint, not a supplier instance ID.

periodQuery · Optional

"1hr" | "24hr"

Defaults to 1hr. This does not make the supplier endpoint available.

Response

HTTP status 500

Compatibility route: the current Contabo provider does not support instance usage graphs. Use get_server_metrics instead.

errorstring

The current provider throws an unsupported-operation error. The HTTP boundary returns status 500 with request failed. No successful graph payload is currently implemented.