Helicone Community Page

Home
Members
Daniel Furman
D
Daniel Furman
Offline, last seen 4 months ago
Joined August 29, 2024
Hi, team. I am having trouble accessing the response body from the API. I want to get the JSON history of the conversation trace.

https://docs.helicone.ai/rest/request/post-v1requestquery
Here's what I am seeing in the data coming back from the request:

'request_body': {'helicone_message': 'Request body no longer supported. To retrieve request body, please contact [email protected]'}, 'response_body': {'helicone_message': 'Response body no longer supported. To retrieve response body, please contact [email protected]'},

Here's the request code I am using for context:

import requests import os url = "https://api.helicone.ai/v1/request/query" payload = { "filter": "all", "isCached": False, "limit": 10, "offset": 0, "sort": {"created_at": "desc"}, "isScored": False, "isPartOfExperiment": False } headers = { "authorization": os.environ.get("HELICONE_API_KEY"), "Content-Type": "application/json" } response = requests.request("POST", url, json=payload, headers=headers) print(response.text)
7 comments
C
D