curl --request GET \
--url https://api.app.shinzo.ai/auth/platform_keys \
--header 'Authorization: Bearer <token>'Retrieve all platform API keys associated with your account.
curl --request GET \
--url https://api.app.shinzo.ai/auth/platform_keys \
--header 'Authorization: Bearer <token>'curl -X GET https://api.app.shinzo.ai/auth/platform_keys \
-H "Authorization: Bearer <jwt_token>"
{
"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"
}
]
}
| Code | Description |
|---|---|
200 | Keys retrieved successfully |
401 | Invalid or missing JWT token |