Skip to main content
GET
/
v1
/
prompt-2025
/
id
/
{promptId}
/
{versionId}
/
inputs
curl -X GET "https://api.helicone.ai/v1/prompt-2025/id/prompt_123/version_456/inputs?requestId=req_789" \
  -H "Authorization: Bearer $HELICONE_API_KEY"
{
  "request_id": "req_789",
  "version_id": "version_456",
  "inputs": {
    "user_name": "Alice",
    "product_name": "Pro Plan",
    "support_level": "premium"
  }
}
Returns the input variables that were used when a specific prompt version was executed in a request.

Path Parameters

promptId
string
required
The unique identifier of the prompt
versionId
string
required
The unique identifier of the prompt version

Query Parameters

requestId
string
required
The request ID to retrieve inputs from

Response

request_id
string
The request ID
version_id
string
The version ID
inputs
object
Key-value pairs of input variables and their values used in the request
curl -X GET "https://api.helicone.ai/v1/prompt-2025/id/prompt_123/version_456/inputs?requestId=req_789" \
  -H "Authorization: Bearer $HELICONE_API_KEY"
{
  "request_id": "req_789",
  "version_id": "version_456",
  "inputs": {
    "user_name": "Alice",
    "product_name": "Pro Plan",
    "support_level": "premium"
  }
}