curl -X GET https://api.helicone.ai/v1/prompt-2025/id/prompt_abc123xyz \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": {
"id": "prompt_abc123xyz",
"name": "Customer Support Agent",
"tags": ["support", "customer-service"],
"created_at": "2024-03-10T12:00:00Z"
},
"error": null
}
Prompts
Get Prompt
Retrieve a prompt by ID
GET
/
v1
/
prompt-2025
/
id
/
{promptId}
curl -X GET https://api.helicone.ai/v1/prompt-2025/id/prompt_abc123xyz \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": {
"id": "prompt_abc123xyz",
"name": "Customer Support Agent",
"tags": ["support", "customer-service"],
"created_at": "2024-03-10T12:00:00Z"
},
"error": null
}
Retrieves a prompt template by its unique identifier. This returns the prompt metadata including name, tags, and creation date.
Path Parameters
The unique identifier of the prompt
Response
Error message if the request failed, null otherwise
curl -X GET https://api.helicone.ai/v1/prompt-2025/id/prompt_abc123xyz \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": {
"id": "prompt_abc123xyz",
"name": "Customer Support Agent",
"tags": ["support", "customer-service"],
"created_at": "2024-03-10T12:00:00Z"
},
"error": null
}
⌘I
