Agents
Delete an agent
Soft-deletes an agent by its ID. The agent is hidden from all reads and stops being attributed to new calls, but its record and history are retained. Fails with 409 if the agent is still used by saved simulation run plans; the error names each one with its id. Remove the agent from those plans or delete them first (GET /v1/simulation/plan?agentId=… lists them). Runs started without saveAsPlan never block deletion. Note: if the agent syncs from a provider integration, also exclude it in the integration settings (or delete the integration) so its calls stop reaching Roark.