cancel_log_export
Cancel a pending or running log export job to stop it immediately and permanently; already-processed rows remain and retrying requires creating and starting a new export.
Instructions
Cancel a pending or running log export job, unlike start_log_export which queues one or delete_integration which removes the source. This permanently stops that export, takes effect immediately, and does not roll back already-processed rows; call create_log_export and start_log_export again to retry. Enterprise-gated. Returns 403 on non-Enterprise Portkey plans.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"export_id": "<export_id>"
},
"name": "cancel_log_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| export_id | Yes | The unique ID of the log export to cancel |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |