PAI Chat·Endpoint
GET
/api-keys/listList API keys for the authenticated user
POST/api-keys/updatearrow_forwarddouble_arrow
Returns 200
Array of objects.
/api-keys/listcurl -X GET 'https://chat-api-dev.paicloud.ai//api-keys/list' \
-H 'Authorization: Bearer YOUR_API_TOKEN'[
{
"id": "id",
"name": "name",
"start": "start",
"prefix": "prefix",
"userId": "userId",
"refillInterval": 0,
"refillAmount": 0,
"lastRefillAt": "2026-01-01T00: 00:00Z",
"enabled": true,
"rateLimitEnabled": true,
"rateLimitTimeWindow": 0,
"rateLimitMax": 0,
"requestCount": 0,
"remaining": 0,
"lastRequest": "2026-01-01T00: 00:00Z",
"expiresAt": "2026-01-01T00: 00:00Z",
"createdAt": "2026-01-01T00: 00:00Z",
"updatedAt": "2026-01-01T00: 00:00Z",
"permissions": {},
"metadata": "metadata"
}
]