列出服务器
GET/servers
返回令牌所属项目中的全部服务器,按创建时间倒序。
参数
regionstringquery可选按区域代码过滤,例如 `ist1`。
labelstringquery可选按标签过滤,例如 `role=web`。
per_pageintegerquery可选每页条数,1–200,默认 50。
cursorstringquery可选上一页 `meta.next_cursor` 中的游标。
请求
curl -X GET https://api.avenlith.com/v1/servers \
-H "Authorization: Bearer $AVENLITH_TOKEN"
响应
{
"data": [{
"id": "srv_8f2k1",
"name": "web-01",
"status": "running",
"plan": "vps-pro",
"region": "ist1",
"image": "ubuntu-26.04",
"ipv4": "203.0.113.24",
"ipv6": "2a0f:9400:7a00::1",
"shield": "standard",
"labels": { "role": "web" },
"created_at": "2026-09-18T09:12:44Z"
}],
"meta": { "per_page": 50, "next_cursor": null }
}