Skip to main content
DELETE
Delete a run and all its associated data

Authorizations

Authorization
string
header
required

API Key authorization header. Example: "Authorization: ApiKey {your-api-key}"

Authorization
string
header
required

OAuth 2.0 Bearer token. Example: "Authorization: Bearer {access-token}"

Path Parameters

agentId
integer<int32>
required

The ID of the agent that contains the run

runId
integer<int64>
required

The ID of the run to delete

Query Parameters

removeMethod
enum<string>

The deletion method to use. Defaults to RemoveEntireRun. 0 = RemoveAllFiles; 1 = RemoveAllFilesAndAgentInput; 2 = RemoveEntireRun

Available options:
RemoveAllFiles,
RemoveAllFilesAndAgentInput,
RemoveEntireRun

Response

The run was successfully deleted