cURL
curl --request POST \ --url https://api.cekura.ai/test_framework/v1/runs/improve_prompt/ \ --header 'Content-Type: application/json' \ --header 'X-CEKURA-API-KEY: <api-key>' \ --data ' { "prompt": "<string>", "run_ids": [ 123 ], "category_ids": [ 123 ], "workflow_metric_ids": [ 123 ] } '
{ "improved_prompt": "<string>", "summary_of_changes": "<string>" }
API view set for managing runs. This view set provides endpoints to retrieve and manage runs associated with a specific organization.
API Key Authentication. It should be included in the header of each request.
Prompt to improve
List of run IDs to analyze (max 3)
3
List of category IDs
List of workflow metric IDs
Improved prompt for the AI agent
Summary of changes made to the prompt