Request
Get Single Request
Request
Prompt
- POSTQuery Prompts
- POSTQuery Prompt
- DELDelete Prompt
- POSTCreate Prompt
- POSTEdit Prompt Version Label
- POSTEdit Prompt Version Template
- POSTGet Prompt Version Subversion
- POSTPromote Prompt Version
- POSTQuery Prompt Version Inputs
- GETGet Prompt Experiments
- POSTQuery Prompt Versions
- GETGet Prompt Version
- DELDelete Prompt Version
- POSTCompile Prompt
- POSTQuery Prompt Template
Evals
Evaluator
Experiment
- POSTCreate Empty Experiment (v2)
- POSTCreate from Request (v2)
- POSTCreate New Experiment (v2)
- GETList Experiments
- GETGet Experiment Details
- POSTAdd Prompt Version
- GETGet Experiment Prompt Versions
- GETGet Experiment Input Keys
- POSTAdd Manual Row (v2)
- POSTBatch Insert Rows (v2)
- POSTPost v2experiment rowupdate
- POSTPost v2experiment run hypothesis
- GETGet Experiment Evaluators (v2)
- POSTAdd Evaluators (v2)
- DELDelete Experiment Evaluator (v2)
- POSTRun Evaluators (v2)
- GETCheck Evaluator Run Status
- GETGet Experiment Scores
- GETGet Experiment Score
- POSTCreate Empty Experiment
- POSTCreate New Table
- POSTQuery Experiment Table
- POSTQuery Table Metadata
- POSTQuery Tables
- POSTCreate Table Cell
- PATCHUpdate Experiment Table Cell
- POSTCreate Table Column
- POSTCreate New Table Row
- DELDelete Experiment Table Row
- POSTBatch Insert Table Rows
- POSTUpdate Metadata
- POSTCreate Experiment
- POSTCreate Experiment Hypothesis
- POSTQuery Hypothesis Scores
- GETGet Experiment Evaluators
- POSTAdd Experiment Evaluators
- POSTRun Experiment Evaluators
- DELDelete Experiment Evaluator
- POSTQuery Experiments
Property
Dataset
Dashboard
Settings
Request
Get Single Request
Retrieve a single request visible in the request table at Helicone.
GET
/
v1
/
request
/
{requestId}
curl --request GET \
--url https://api.helicone.ai/v1/request/{requestId} \
--header 'authorization: <api-key>'
{
"data": {
"response_id": "<string>",
"response_created_at": "<string>",
"response_body": "<any>",
"response_status": 123,
"response_model": "<string>",
"request_id": "<string>",
"request_created_at": "<string>",
"request_body": "<any>",
"request_path": "<string>",
"request_user_id": "<string>",
"request_properties": {},
"request_model": "<string>",
"model_override": "<string>",
"helicone_user": "<string>",
"provider": "OPENAI",
"delay_ms": 123,
"time_to_first_token": 123,
"total_tokens": 123,
"prompt_tokens": 123,
"prompt_cache_write_tokens": 123,
"prompt_cache_read_tokens": 123,
"completion_tokens": 123,
"prompt_id": "<string>",
"feedback_created_at": "<string>",
"feedback_id": "<string>",
"feedback_rating": true,
"signed_body_url": "<string>",
"llmSchema": {
"request": {
"llm_type": "chat",
"model": "<string>",
"provider": "<string>",
"prompt": "<string>",
"input": "<string>",
"max_tokens": 123,
"temperature": 123,
"top_p": 123,
"stream": true,
"presence_penalty": 123,
"frequency_penalty": 123,
"n": 123,
"stop": [
"<string>"
],
"messages": [
{
"contentArray": [
{}
],
"idx": 123,
"image_url": "<string>",
"timestamp": "<string>",
"tool_call_id": "<string>",
"tool_calls": [
{
"name": "<string>",
"arguments": {}
}
],
"content": "<string>",
"name": "<string>",
"role": "<string>",
"id": "<string>",
"_type": "function"
}
],
"tools": [
{
"name": "<string>",
"description": "<string>",
"parameters": {}
}
],
"tool_choice": {
"name": "<string>",
"type": "auto"
}
},
"response": {
"error": {
"heliconeMessage": "<any>"
},
"model": "<string>",
"messages": [
{
"contentArray": [
{}
],
"idx": 123,
"image_url": "<string>",
"timestamp": "<string>",
"tool_call_id": "<string>",
"tool_calls": [
{
"name": "<string>",
"arguments": {}
}
],
"content": "<string>",
"name": "<string>",
"role": "<string>",
"id": "<string>",
"_type": "function"
}
]
}
},
"country_code": "<string>",
"asset_ids": [
"<string>"
],
"asset_urls": {},
"scores": {},
"costUSD": 123,
"properties": {},
"assets": [
"<string>"
],
"target_url": "<string>",
"model": "<string>"
}
}
Authorizations
Path Parameters
Query Parameters
Response
200 - application/json
Ok
Construct a type with a set of properties K of type T
Available options:
OPENAI
, ANTHROPIC
, AZURE
, LOCAL
, HELICONE
, AMDBARTEK
, ANYSCALE
, CLOUDFLARE
, 2YFV
, TOGETHER
, LEMONFOX
, FIREWORKS
, PERPLEXITY
, GOOGLE
, OPENROUTER
, WISDOMINANUTSHELL
, GROQ
, COHERE
, MISTRAL
, DEEPINFRA
, QSTASH
, FIRECRAWL
, AWS
, DEEPSEEK
, X
, AVIAN
, NEBIUS
, NOVITA
Available options:
chat
, completion
Available options:
function
, functionCall
, image
, message
, autoInput
, contentArray
Available options:
function
, functionCall
, image
, message
, autoInput
, contentArray
Construct a type with a set of properties K of type T
Construct a type with a set of properties K of type T
Construct a type with a set of properties K of type T
Was this page helpful?
curl --request GET \
--url https://api.helicone.ai/v1/request/{requestId} \
--header 'authorization: <api-key>'
{
"data": {
"response_id": "<string>",
"response_created_at": "<string>",
"response_body": "<any>",
"response_status": 123,
"response_model": "<string>",
"request_id": "<string>",
"request_created_at": "<string>",
"request_body": "<any>",
"request_path": "<string>",
"request_user_id": "<string>",
"request_properties": {},
"request_model": "<string>",
"model_override": "<string>",
"helicone_user": "<string>",
"provider": "OPENAI",
"delay_ms": 123,
"time_to_first_token": 123,
"total_tokens": 123,
"prompt_tokens": 123,
"prompt_cache_write_tokens": 123,
"prompt_cache_read_tokens": 123,
"completion_tokens": 123,
"prompt_id": "<string>",
"feedback_created_at": "<string>",
"feedback_id": "<string>",
"feedback_rating": true,
"signed_body_url": "<string>",
"llmSchema": {
"request": {
"llm_type": "chat",
"model": "<string>",
"provider": "<string>",
"prompt": "<string>",
"input": "<string>",
"max_tokens": 123,
"temperature": 123,
"top_p": 123,
"stream": true,
"presence_penalty": 123,
"frequency_penalty": 123,
"n": 123,
"stop": [
"<string>"
],
"messages": [
{
"contentArray": [
{}
],
"idx": 123,
"image_url": "<string>",
"timestamp": "<string>",
"tool_call_id": "<string>",
"tool_calls": [
{
"name": "<string>",
"arguments": {}
}
],
"content": "<string>",
"name": "<string>",
"role": "<string>",
"id": "<string>",
"_type": "function"
}
],
"tools": [
{
"name": "<string>",
"description": "<string>",
"parameters": {}
}
],
"tool_choice": {
"name": "<string>",
"type": "auto"
}
},
"response": {
"error": {
"heliconeMessage": "<any>"
},
"model": "<string>",
"messages": [
{
"contentArray": [
{}
],
"idx": 123,
"image_url": "<string>",
"timestamp": "<string>",
"tool_call_id": "<string>",
"tool_calls": [
{
"name": "<string>",
"arguments": {}
}
],
"content": "<string>",
"name": "<string>",
"role": "<string>",
"id": "<string>",
"_type": "function"
}
]
}
},
"country_code": "<string>",
"asset_ids": [
"<string>"
],
"asset_urls": {},
"scores": {},
"costUSD": 123,
"properties": {},
"assets": [
"<string>"
],
"target_url": "<string>",
"model": "<string>"
}
}