Clear Workflow Version Samples
Erase every captured sample for one version.
Captured payloads can carry user data even after redaction removes the secret-named fields, so an owner needs a way to remove them that is not "delete the agent". Idempotent: clearing a version that holds nothing is a 204, not a 404.
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Path Parameters
agent_id*Agent Id
Format
uuidversion_id*Version Id
Format
uuidQuery Parameters
verify_locally?Verify Locally
Default
trueResponse Body
application/json
application/json
curl -X DELETE "https://example.com/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/workflow/versions/497f6eca-6276-4993-bfeb-53cbbbba6f08/samples"Empty
{ "detail": "string", "code": "string"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}