curl https://api.quintai.dev/v1/sessions/6ba7b810-9dad-11d1-80b4-00c04fd430c8/events \
-H "Authorization: Bearer qt_deploy_YOUR_TOKEN"
import requests
response = requests.get(
"https://api.quintai.dev/v1/sessions/6ba7b810-9dad-11d1-80b4-00c04fd430c8/events",
headers={"Authorization": "Bearer qt_deploy_YOUR_TOKEN"},
)
print(response.json())
{
"events": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"action_type": "FILE_READ",
"tool_name": "cat",
"arguments": ["/app/src/middleware/auth.ts"],
"risk_score": 5,
"timestamp": "2026-04-12T14:01:00Z"
},
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"action_type": "FILE_WRITE",
"tool_name": "node",
"arguments": ["/app/src/middleware/auth.ts"],
"risk_score": 15,
"timestamp": "2026-04-12T14:05:00Z"
},
{
"id": "550e8400-e29b-41d4-a716-446655440002",
"action_type": "PROCESS_EXEC",
"tool_name": "git",
"arguments": ["commit", "-m", "Fix auth middleware"],
"risk_score": 12,
"timestamp": "2026-04-12T14:06:00Z"
}
]
}
Session Endpoints
Session Events
List all events belonging to a specific session.
GET
/
v1
/
sessions
/
{id}
/
events
curl https://api.quintai.dev/v1/sessions/6ba7b810-9dad-11d1-80b4-00c04fd430c8/events \
-H "Authorization: Bearer qt_deploy_YOUR_TOKEN"
import requests
response = requests.get(
"https://api.quintai.dev/v1/sessions/6ba7b810-9dad-11d1-80b4-00c04fd430c8/events",
headers={"Authorization": "Bearer qt_deploy_YOUR_TOKEN"},
)
print(response.json())
{
"events": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"action_type": "FILE_READ",
"tool_name": "cat",
"arguments": ["/app/src/middleware/auth.ts"],
"risk_score": 5,
"timestamp": "2026-04-12T14:01:00Z"
},
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"action_type": "FILE_WRITE",
"tool_name": "node",
"arguments": ["/app/src/middleware/auth.ts"],
"risk_score": 15,
"timestamp": "2026-04-12T14:05:00Z"
},
{
"id": "550e8400-e29b-41d4-a716-446655440002",
"action_type": "PROCESS_EXEC",
"tool_name": "git",
"arguments": ["commit", "-m", "Fix auth middleware"],
"risk_score": 12,
"timestamp": "2026-04-12T14:06:00Z"
}
]
}
Requires
Authorization: Bearer header with a deploy token (qt_deploy_*) or Supabase JWT.Path Parameters
string
required
UUID of the session whose events to retrieve.
Response
array
Array of events belonging to this session, ordered by timestamp.
curl https://api.quintai.dev/v1/sessions/6ba7b810-9dad-11d1-80b4-00c04fd430c8/events \
-H "Authorization: Bearer qt_deploy_YOUR_TOKEN"
import requests
response = requests.get(
"https://api.quintai.dev/v1/sessions/6ba7b810-9dad-11d1-80b4-00c04fd430c8/events",
headers={"Authorization": "Bearer qt_deploy_YOUR_TOKEN"},
)
print(response.json())
{
"events": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"action_type": "FILE_READ",
"tool_name": "cat",
"arguments": ["/app/src/middleware/auth.ts"],
"risk_score": 5,
"timestamp": "2026-04-12T14:01:00Z"
},
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"action_type": "FILE_WRITE",
"tool_name": "node",
"arguments": ["/app/src/middleware/auth.ts"],
"risk_score": 15,
"timestamp": "2026-04-12T14:05:00Z"
},
{
"id": "550e8400-e29b-41d4-a716-446655440002",
"action_type": "PROCESS_EXEC",
"tool_name": "git",
"arguments": ["commit", "-m", "Fix auth middleware"],
"risk_score": 12,
"timestamp": "2026-04-12T14:06:00Z"
}
]
}