v1
latestOpenAPI 3.1.02026-07-13154170539.0 KBLogs
Rename Field
Renames a field across all logs in a project. This includes:
- Updating the field type record
- Renaming the field in all logs (regular and history)
The operation is atomic - either all renames succeed or none do.
patch/v0/logs/rename_field
Request body
Example request
{
"project_name": "eval-project",
"context": "test-context",
"old_field_name": "score",
"new_field_name": "score_new"
}Response
Field renamed successfully
{"stackTrail":"paths:/v0/logs/rename_field:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}