post__sessions_-id_heartbeat
Parameters
Name
In
Type
Required
Description
TypeScript Client Library
// Using the Flashback TypeScript client
import { FlashbackClient } from '@flashback/client';
const client = new FlashbackClient({
accessToken: 'your-access-token'
});
// Send session heartbeat
try {
const result = await client.sessions.heartbeat('session-id');
console.log('Session updated:', result);
} catch (error) {
console.error('Failed to update session:', error);
}Code Samples
Responses
Status
Meaning
Description
Schema
Response Schema
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Last updated
Was this helpful?