GET /api/v1/live-sessions/{liveSessionId}
Get live session using the current permissions of the key holder. The school comes from the verified key. MCP equivalent: get_live_session.
| Role in the organization | This endpoint |
|---|---|
| OWNER | Allowed |
| ADMIN | Allowed |
| MEMBER | Conditional |
Members read only lives in the audience of their enrollments. An organization owner or administrator may read all lives in that school.
| Requirement | Rule |
|---|---|
| Business role | None beyond the organization role |
| Resource scope | Current school and the permitted resource scope |
| Participation | Audience enrollment for member readers |
| Resource state | No additional state restriction |
| Parameter | Type | Required | Description |
|---|---|---|---|
liveSessionId | UUID | yes | Resource in the permitted school and scope. |
curl -X GET "$COHORTE_API_BASE_URL/api/v1/live-sessions/00000000-0000-4000-8000-000000000001" \
-H "x-api-key: $COHORTE_API_KEY"| Field | Type | Nullable | Description |
|---|---|---|---|
success | boolean | no | True on success. |
data | object | no | Requested domain data within your permitted scope. |
data.id | UUID | no | Public identifier, when this endpoint returns a single resource. |
{
"success": true,
"data": {
"id": "00000000-0000-4000-8000-000000000001",
"title": "Weekly live",
"status": "scheduled",
"startsAt": "2030-01-10T09:00:00.000Z",
"endsAt": "2030-01-10T10:00:00.000Z",
"timezone": "Europe/Paris",
"targetType": "cohort",
"targetCohortId": "00000000-0000-4000-8000-000000000001"
}
}