test_framework

Improve scenario instructions with AI

Changed on

Rewrite current_instructions, or write new ones, following extra_instructions, and return the result. Nothing is saved; apply it with the evaluator update endpoint. Usually takes under a minute.

post/test_framework/v3/scenarios/improve_instructions/

Request

  • Base URL
    https://api.cekura.ai
  • URL
    https://api.cekura.ai/test_framework/v3/scenarios/improve_instructions/
  • Auth
    • API key in header X-CEKURA-API-KEY
    • or HTTP bearer
    • or HTTP bearer

Request body

agentinteger required
extra_instructionsstring required
current_instructionsstring

Response

status'completed' | 'failed'

failed when the job could not produce its result; see error / errors.

agent_idinteger
instructionsstring nullable
expected_outcome_promptstring nullable
errorstring nullable

Why the job failed, when it did.

Changes