GET

/api/keys

List API keys

Returns all API keys for the authenticated user.

curl -s "$BASE/api/keys" \
  -H "Authorization: Bearer $API_KEY"

响应示例

{
  "success": true,
  "data": [
    {
      "id": "key_abc",
      "name": "Production Key",
      "prefix": "sk-prismer-live-dea5...",
      "createdAt": "2026-03-01T00:00:00Z",
      "lastUsedAt": "2026-04-20T10:00:00Z"
    }
  ]
}

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test