Skip to main content
GET
Get Request by ID
Retrieve detailed information about a specific request using its unique identifier. This endpoint returns the full request and response data, including metadata, tokens, costs, and custom properties.

Path Parameters

string
required
The unique identifier of the request to retrieve. This can be found in the Helicone-Id response header when making requests through Helicone, or in the request_id field when querying requests.Example: req_abc123def456

Query Parameters

boolean
default:"false"
Whether to include the full request and response bodies in the result.
  • true - Returns full request/response bodies (may be large)
  • false - Returns metadata only, with signed URLs for accessing bodies
Setting this to true may significantly increase response size for requests with large payloads.

Response

HeliconeRequest
The request object with full details.
string | null
Error message if the request failed.

Examples

Get Request Metadata Only

Retrieve request metadata without the full body:
cURL
TypeScript
Python

Get Request with Full Body

Retrieve request with full request and response bodies:
cURL
TypeScript
Python

Extract Request ID from Response Headers

When making a request through Helicone, you can extract the request ID from the response headers:
TypeScript
Python

Use Cases

Debugging Failed Requests

Retrieve full details of a failed request to debug issues:

Cost Analysis

Analyze costs and tokens for specific requests:

Query Requests

Query multiple requests with filters

Add Feedback

Add feedback to this request

Add Properties

Add custom properties to this request

Add Scores

Add evaluation scores to this request