Deletes a specific run and all its associated data, including files and storage. This is primarily used for PII compliance when an agent extracts personally identifiable information.
The run can be in either the active runs table or the run-history table — both are checked automatically.
The removeMethod parameter controls what is deleted:
RemoveEntireRun (default) — completely removes the run record and all associated filesRemoveAllFiles — removes files but keeps the run recordRemoveAllFilesAndAgentInput — removes files and clears agent input parametersDocumentation Index
Fetch the complete documentation index at: https://docs.sequentum.com/llms.txt
Use this file to discover all available pages before exploring further.
API Key authorization header. Example: "Authorization: ApiKey {your-api-key}"
OAuth 2.0 Bearer token. Example: "Authorization: Bearer {access-token}"
The ID of the agent that contains the run
The ID of the run to delete
The deletion method to use. Defaults to RemoveEntireRun.
RemoveAllFiles, RemoveAllFilesAndAgentInput, RemoveEntireRun The run was successfully deleted