Endpoints - Get Session
Objective
Get Session
Applies To
- Vonage AI Studio
Procedure
Any request to this endpoint must contain X-Vgai-Key header with a valid API key
Endpoint - https://studio-api-<REGION>.ai.vonage.com/insights/sessions/{session-id}/parameters
For <REGION> please fill in the region of your agent, which will be either EU or US.
Method: GET
Tries to retrieve a conversation from the database. If the session id does not exist in the provided date this query will fail.
Parameters:
- session_start_time: isoformatted datetime string denoting when the session started.
Example: 2021-01-15T08:09:43.377776
Note: This does not have to be precise, if you know the day in which the session occurred, you can use that day, i.e. 2021-01-15
Expected Errors:
401 Errors in case invalid parameters are provided (such as invalid date ranges, invalid filters, etc)
404 Errors in case searching for a specific session yields no result
Comments
0 comments
Article is closed for comments.