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

authorization
string
header
required

Path Parameters

requestId
string
required

Query Parameters

includeBody
boolean
default:
false

Response

200 - application/json
Ok
data
object
required
error
enum<number> | null
required