List Screen Records
4 min
use this method to find video recordings created for a session recording must be enabled when starting the session before you begin start the session with videorecording(true) keep the returned sessionid allow recording processing to finish after the session stops sdk method java node js client sessions() screenrecords(sessionid, request) await client sessions() screenrecords(sessionid, request?) examples pagedto\<screenrecord> records = client sessions() screenrecords( "session 123", screenrecordpaginationrequest builder() page(0) size(20) build() );import { screenrecordpaginationrequestbuilder } from "@devicepark/public sdk"; const records = await client sessions() screenrecords( "session 123", new screenrecordpaginationrequestbuilder() page(0) size(20) build() ); result each screenrecord contains filekey , filepath , downloadurl , timestamps and duration downloadurl can be time limited use it when returned instead of treating it as a permanent identifier recordings can appear after session finalization, so a successful empty page may mean processing is not complete yet next step use the returned downloadurl while it is valid release the allocation after all planned sessions and artifact collection are complete
