Get refined prompt
Get the refined prompt based on the refinement_job_id
.
Path parameters
prompt_id
Prompt ID
version_id
Prompt Version ID
Headers
Authorization
Header authentication of the form Token <token>
Query parameters
refinement_job_id
Refinement Job ID acquired from the POST /api/prompts/{prompt_id}/versions/{version_id}/refine
endpoint
Response
prompt
The refined prompt text
title
Title of the refined prompt
reasoning
Reasoning behind the refinement
refinement_job_id
Unique identifier for the refinement job
refinement_status
Status of the refinement job
Allowed values:
total_cost
Total cost of the refinement job (in USD)
previous_version
Previous version of the prompt