Cookbooks
Retrieving Sessions
Use the Request API to retrieve session data, allowing you to analyze conversation threads.
The Request API allows you to fetch all requests associated with a specific session ID, making it easy to analyze conversation threads.
Retrieving Session Data
Here’s how to fetch all requests for a specific session:
The response includes these key fields for each request:
request_created_at
: Timestamp of the requestrequest_properties["Helicone-Session-Id"]
: Session identifiersigned_body_url
: URL to access the request and response body from S3request_path
: API endpoint pathrequest_properties["Helicone-Session-Path"]
: Session pathrequest_properties["Helicone-Prompt-Id"]
: Unique prompt identifierbody
: Deprecated, usesigned_body_url
insteadother fields
: See the Request API reference for more details
Was this page helpful?