curl -X GET "https://panel.example.com/api/admin/servers?page=1&perPage=50" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"identifier": "a1b2c3d4",
"name": "Production Server",
"status": "running",
"owner": {
"id": "user-uuid",
"username": "john.doe"
},
"node": {
"id": "node-uuid",
"name": "US-East-1"
},
"created_at": "2024-01-15T10:30:00Z"
}
],
"meta": {
"pagination": {
"total": 150,
"count": 50,
"per_page": 50,
"current_page": 1,
"total_pages": 3
}
}
}
Retrieve a paginated list of all servers
curl -X GET "https://panel.example.com/api/admin/servers?page=1&perPage=50" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"identifier": "a1b2c3d4",
"name": "Production Server",
"status": "running",
"owner": {
"id": "user-uuid",
"username": "john.doe"
},
"node": {
"id": "node-uuid",
"name": "US-East-1"
},
"created_at": "2024-01-15T10:30:00Z"
}
],
"meta": {
"pagination": {
"total": 150,
"count": 50,
"per_page": 50,
"current_page": 1,
"total_pages": 3
}
}
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xyrapanel/panel/llms.txt
Use this file to discover all available pages before exploring further.
servers:read permission.
perPageperPageShow Server Object
curl -X GET "https://panel.example.com/api/admin/servers?page=1&perPage=50" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"identifier": "a1b2c3d4",
"name": "Production Server",
"status": "running",
"owner": {
"id": "user-uuid",
"username": "john.doe"
},
"node": {
"id": "node-uuid",
"name": "US-East-1"
},
"created_at": "2024-01-15T10:30:00Z"
}
],
"meta": {
"pagination": {
"total": 150,
"count": 50,
"per_page": 50,
"current_page": 1,
"total_pages": 3
}
}
}