API
GET /api/introspect/consciousness
Get Consciousness
GET /api/introspect/consciousness
Get Consciousness
Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page | query | integer | No | Page number for audit entries Defaults to 1. |
page_size | query | integer | No | Audit entries per page Defaults to 20. |
days | query | integer | No | Lookback window for loop distribution Defaults to 30. |
X-Org-ID | header | string | null | No | - |
Example request
curl -X GET https://api.cognitivx.io/api/introspect/consciousness \
-H "Authorization: Bearer icog_..."Example response
200 application/json
{
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"loop_depth_distribution": {},
"last_strange_loop_at": "2026-06-16T08:30:00Z",
"max_loop_depth": 1,
"audit_entries": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"loop_depth": 1,
"accessed_at": "2026-06-16T08:30:00Z",
"metadata_snapshot": {}
}
],
"page": 1,
"page_size": 1,
"total_audit_entries": 1
}Responses
| Status | Description |
|---|---|
200 | Success. Returns the response body shown below. |
422 | Request validation failed. detail lists each offending field. |