Get a server
GET
bearerheader
AuthorizationBearer <token>An API key (opk_…) or a CLI token (opc_…).
serverId*stringGet a server
application/json- response
id*stringFormat
uuidname*stringhost*stringstatus*stringValue in
"connecting""ready""failed""disconnecting""released"error*string|nullfacts*|What setup read: os, cpus, memoryMb, diskGb, arch, private-network address.
createdAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl "https://openpanel.sh/api/v1/servers/$SERVER_ID" \ -H "Authorization: Bearer $OPENPANEL_TOKEN"Example response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "host": "string", "status": "connecting", "error": "string", "facts": { "property1": null, "property2": null }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}