Skip to main content
GET
https://api.app.shinzo.ai
/
auth
/
platform_keys
List Platform API Keys
curl --request GET \
  --url https://api.app.shinzo.ai/auth/platform_keys \
  --header 'Authorization: Bearer <token>'

Authentication

Requires JWT token authentication.

Example Request

curl -X GET https://api.app.shinzo.ai/auth/platform_keys \
  -H "Authorization: Bearer <jwt_token>"

Response

{
  "keys": [
    {
      "uuid": "key_abc123def456",
      "name": "CI/CD Pipeline Key",
      "prefix": "sk_shinzo_abc1...",
      "created_at": "2025-01-15T10:00:00Z",
      "last_used_at": "2025-01-20T14:30:00Z",
      "status": "active"
    },
    {
      "uuid": "key_xyz789uvw012",
      "name": "Production Automation",
      "prefix": "sk_shinzo_xyz7...",
      "created_at": "2025-01-10T08:00:00Z",
      "last_used_at": "2025-01-18T09:15:00Z",
      "status": "active"
    }
  ]
}
Full key values are not returned when listing. Only the prefix and metadata are shown.

Status Codes

CodeDescription
200Keys retrieved successfully
401Invalid or missing JWT token