v1

latestOpenAPI 3.1.02026-07-13154170539.0 KB
Logs

Delete Fields

Deletes one or more fields from a project. This will:

  1. Remove the field from LogEvent.data for all matching log events
  2. Delete the field type records for those fields

This operation cannot be undone, so use with caution.

delete/v0/logs/fields

Request body

project_namestring required

Name of the project the fields belong to.

contextstring nullable

Optional context path for the fields.

fieldsstring[] required

List of field names to delete.

Example request

{
  "project_name": "eval-project",
  "context": "experiment1/trial1",
  "fields": [
    "score",
    "response"
  ]
}

Response

Fields deleted successfully

{"stackTrail":"paths:/v0/logs/fields:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}