Logs
Delete Logs
DELETE
Deletes log entries based on specified criteria. Can delete both base logs and derived logs.
Args: source_type: Controls which type of logs to delete:
- ‘all’: Delete both base and derived logs (default)
- ‘base’: Only delete base logs
- ‘derived’: Only delete derived logs
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Whether to delete logs which end up being empty as a result of the field deletion.
Body
Name of the project the logs belong to.
Optional context path to update for the logs. Can use ’/’ for nested contexts (e.g. ‘training/batch1’).
List of tuples of log ID(s) and field(s) to delete, either as an individual item or a list of items.
Specifies which type of logs to delete. Can be ‘base’ for base logs only, ‘derived’ for derived logs only, or ‘all’ to delete from both types.