update_log_export
Adjust an existing log export's workspace, time filter, or requested fields before or between export runs. Review the current job first, then apply changes.
Instructions
Update an existing log export configuration before or between export runs. Only workspace_id, time_of_generation_max, and requested_fields can change after creation, so use get_log_export to review the current job and start_log_export after the definition is ready. Enterprise-gated. Returns 403 on non-Enterprise Portkey plans.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| export_id | Yes | The unique ID of the log export to update | |
| workspace_id | No | Workspace ID for the export | |
| requested_fields | No | Fields to include in export: id, trace_id, created_at, request, response, is_success, ai_org, ai_model, req_units, res_units, total_units, request_url, cost, cost_currency, response_time, response_status_code, mode, config, prompt_slug, metadata | |
| time_of_generation_max | No | Maximum time filter in date format (e.g., '2024-07-25' or ISO 8601) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |