Recordings
4 endpoints at https://api.kosa8.com, sent with Authorization: Bearer $KOSA8_API_KEY. Generated from the API's own OpenAPI description, which a test holds to the router.
The organization's desktop session recordings, newest first#
GET
Parameters/v1/recordingsscope sandboxes:readsandbox_idquery · string—
limitquery · integer—
200401403
curl -s -X GET https://api.kosa8.com/v1/recordings \ -H "Authorization: Bearer $KOSA8_API_KEY"
A signed download URL for a recording's MP4#
POST
Parameters/v1/recordings/{id}/linkscope sandboxes:readidrequiredpath · stringRecording id (rec_…)
ttl_sintegerDefault 900 Min 60. Max 86400.
200400401403404409
curl -s -X POST https://api.kosa8.com/v1/recordings/$SBX/link \ -H "Authorization: Bearer $KOSA8_API_KEY" \ -H 'Content-Type: application/json' -d @body.json
Delete a recording now#
DELETE
Parameters/v1/recordings/{id}scope sandboxes:writeidrequiredpath · stringRecording id (rec_…)
200401403404
curl -s -X DELETE https://api.kosa8.com/v1/recordings/$SBX \ -H "Authorization: Bearer $KOSA8_API_KEY"
A sandbox's recordings (made when it is deleted)#
GET
Parameters/v1/sandboxes/{id}/recordingsscope sandboxes:readidrequiredpath · stringSandbox id (sbx_…)
200401403404
curl -s -X GET https://api.kosa8.com/v1/sandboxes/$SBX/recordings \ -H "Authorization: Bearer $KOSA8_API_KEY"