curl -X GET "https://api.helicone.ai/v1/prompt-2025/id/prompt_123" \
-H "Authorization: Bearer $HELICONE_API_KEY"
const response = await fetch('https://api.helicone.ai/v1/prompt-2025/id/prompt_123', {
method: 'GET',
headers: {
'Authorization': `Bearer ${HELICONE_API_KEY}`,
},
});
const prompt = await response.json();
{
"id": "prompt_123",
"name": "Customer Support Bot",
"tags": ["support", "chatbot"],
"created_at": "2024-01-15T10:30:00Z"
}
Prompts
Get Prompt
Retrieve a specific prompt by ID
GET
/
v1
/
prompt-2025
/
id
/
{promptId}
curl -X GET "https://api.helicone.ai/v1/prompt-2025/id/prompt_123" \
-H "Authorization: Bearer $HELICONE_API_KEY"
const response = await fetch('https://api.helicone.ai/v1/prompt-2025/id/prompt_123', {
method: 'GET',
headers: {
'Authorization': `Bearer ${HELICONE_API_KEY}`,
},
});
const prompt = await response.json();
{
"id": "prompt_123",
"name": "Customer Support Bot",
"tags": ["support", "chatbot"],
"created_at": "2024-01-15T10:30:00Z"
}
Retrieves detailed information about a specific prompt including its metadata.
Path Parameters
string
required
The unique identifier of the prompt to retrieve
Response
string
Unique identifier of the prompt
string
Name of the prompt
string[]
Array of tags associated with the prompt
string
ISO timestamp when the prompt was created
curl -X GET "https://api.helicone.ai/v1/prompt-2025/id/prompt_123" \
-H "Authorization: Bearer $HELICONE_API_KEY"
const response = await fetch('https://api.helicone.ai/v1/prompt-2025/id/prompt_123', {
method: 'GET',
headers: {
'Authorization': `Bearer ${HELICONE_API_KEY}`,
},
});
const prompt = await response.json();
{
"id": "prompt_123",
"name": "Customer Support Bot",
"tags": ["support", "chatbot"],
"created_at": "2024-01-15T10:30:00Z"
}
Was this page helpful?