{ "opencollection": "1.0.0", "info": { "name": "Sentrial SDK Events Sessions API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Sessions", "type": "folder" }, "items": [ { "info": { "name": "Create a session", "type": "http" }, "http": { "method": "POST", "url": "https://api.sentrial.com/api/sdk/sessions", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new agent session. A session is a complete record of a single agent interaction." }, { "info": { "name": "Update a session", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.sentrial.com/api/sdk/sessions/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the session to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a session's status and record final metrics (cost, duration, token usage, custom metrics)." } ] } ], "bundled": true }