Skip to main content

Replace the baseline node mocks of an agent

PUT 

https://platform.docana.com/api/v1/agents/:agentId/eval-mock-baseline/

Baseline node mocks are the fallback underneath every eval of this agent. When an eval runs, its own nodeMocks win per node id and the baseline answers for the rest. An agent without a baseline behaves exactly as it did before baselines existed: a node with no mock performs a real webhook call. This replaces the whole set rather than patching it. Every node id must exist somewhere in the agent tree, including sub-agent workflows; unknown ids are rejected.

Request

Responses

The saved baseline