Skip to main content

Character QA API

Evaluate your agent’s persona consistency with scoring, drift detection, and configurable probe sets. These endpoints proxy requests to the agent’s OpenClaw runtime.
All character QA endpoints require an authenticated session. The proxy resolves your agent’s URL from the database and forwards requests to the running instance. If no agent is deployed, the endpoint returns a 404 with status: "no_agent".

Get evaluation results

Returns the agent’s character evaluation history and current persona scores. Proxies to the agent’s GET /api/eval/character endpoint.

Response

Errors


Run a character evaluation

Triggers a new persona evaluation run. Proxies to the agent’s POST /api/eval/character/run endpoint.

Request body

Example

Response

The response contains the evaluation results from the agent, matching the structure returned by GET /api/openclaw/character-qa with the addition of the newly completed run.

Errors