POST /v1/executions/{reservation_id}:media-heartbeat
ExecutionService_ReportMediaHeartbeat
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
reservation_idpath · string · required
Request body
current_participantsinteger · int32current_qualitystringexecution_keystringobserved_atstringoperation_idstringprovider_session_idstringquality_slicesarrayExpand fields
participant_secondsstringqualitystringroom_secondsstring
reservation_idstringsequence_nostringsource_event_idstringstagestringPROGRESS keeps the execution open. FINAL freezes authoritative media usage before the caller invokes CommitExecution with the returned amount.
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/executions/{reservation_id}:media-heartbeat' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"current_participants": 0,
"current_quality": "<value>",
"execution_key": "<value>",
"observed_at": "<value>",
"operation_id": "<value>",
"provider_session_id": "<value>",
"quality_slices": [
{
"participant_seconds": "<value>",
"quality": "<value>",
"room_seconds": "<value>"
}
],
"sequence_no": "<value>",
"source_event_id": "<value>",
"stage": "<value>"
}'Response contract
200 · OK
actionstringattempt_idstringauthorized_unitsstringbilling_unitsstringdowngrade_qualitystringduplicatebooleangrace_secondsinteger · int32reasonstringremaining_unitsstringstagestringusage_event_idstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.