POST /api/prompt-learning/online/gepa/sessions
Request body (example):
GET /api/prompt-learning/online/gepa/sessions/{session_id}
Returns live state including candidate summaries and the current best candidate:
POST /api/prompt-learning/online/gepa/sessions/{session_id}/pausePOST /api/prompt-learning/online/gepa/sessions/{session_id}/resumePOST /api/prompt-learning/online/gepa/sessions/{session_id}/cancelPOST /api/prompt-learning/online/gepa/sessions/{session_id}/reward
The proxy call returns identifiers in response headers:
x-gepa-rollout-idx-gepa-candidate-id"stop": true, the session will be marked completed.
GET /api/prompt-learning/online/gepa/sessions/{session_id}/prompt
Returns the proxy URLs you should call for inference.
system message.
POST /api/gepa/v1/{session_id}/chat/completions
Example request:
POST /api/gepa/v1/{session_id}/{correlation_id}/chat/completionsPOST /api/gepa/v1/{session_id}/{correlation_id}/v1/chat/completions