simulate

ViewSet for Agent Prompt Optimiser Runs.

patch/simulate/api/agent-prompt-optimiser/{id}/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/simulate/api/agent-prompt-optimiser/{id}/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

idstring uuid
agent_optimiserstring uuid required
agent_optimiser_runstring uuid required
test_executionstring uuid required
optimiser_type'random_search' | 'gepa' | 'protegi' | 'bayesian' | 'metaprompt' | 'promptwizard' required
modelstring required

LLM model used for the optimiser run

status'pending' | 'running' | 'completed' | 'failed'
resultobject nullable
configurationobject nullable

Response

OK

idstring uuid
agent_optimiserstring uuid
agent_optimiser_runstring uuid
test_executionstring uuid
optimiser_type'random_search' | 'gepa' | 'protegi' | 'bayesian' | 'metaprompt' | 'promptwizard'
modelstring
status'pending' | 'running' | 'completed' | 'failed'

Changes

No recorded changes to this operation across all 1 revision of this API.