{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Starts track recording for a meeting. Track recording currently records separate participant audio tracks as WebM files in the RealtimeKit bucket. Video track recording is in development. For more information, refer to [Track recording](/realtime/realtimekit/recording-guide/track-recording/).","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/realtimekit_account_identifier"},"app_id":{"$ref":"#/definitions/realtimekit_app_id"}},"required":["account_id","app_id"],"additionalProperties":false},"body":{"type":"object","properties":{"layers":{"description":"Optional audio layer configuration. If omitted, RealtimeKit records all participant audio using the default file name prefix.","type":"object","additionalProperties":{"$ref":"#/definitions/realtimekit_TrackConfigLayer"}},"meeting_id":{"description":"ID of the meeting to record.","type":"string","format":"uuid"},"user_ids":{"description":"Optional list of participant user IDs to record. Selective track recording (`user_ids`) is in early beta contact support to use this feature.","type":"array","items":{"maxLength":256,"minLength":1,"type":"string"},"maxItems":100,"minItems":1}},"required":["meeting_id"],"examples":[{"meeting_id":"97440c6a-140b-40a9-9499-b23fd7a3868a"}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"realtimekit_account_identifier":{"description":"The account identifier tag.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"realtimekit_app_id":{"description":"The app identifier tag.","type":"string","examples":["14a396e7-ca44-4937-bf1f-050a69118543"]},"realtimekit_TrackConfigLayer":{"type":"object","properties":{"file_name_prefix":{"description":"A file name prefix to apply for files generated from this layer","type":"string","pattern":"^[-\\w\\s]+$"},"media_kind":{"description":"Media kind to record. Track recording currently supports audio only.","type":"string","default":"audio","enum":["audio"]}},"title":"TrackLayerConfig"}}},"name":"Start recording participant audio tracks","id":"cloudflare.starttrackrecordingforameeting","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","app_id":"14a396e7-ca44-4937-bf1f-050a69118543"},"body":{"meeting_id":"97440c6a-140b-40a9-9499-b23fd7a3868a"}},"maxRequests":1,"summary":false}}