v1
latestOpenAPI 3.1.02026-07-13154170539.0 KBLogs
Update Logs
Updates multiple logs with the provided entries. Each entry will be either added or overridden in the specified logs.
The logs parameter can be either:
- A list of log IDs to update
- A filter dictionary to select logs matching specific criteria (requires project or context)
A dictionary of "explicit_types" can be passed as part of the entries. If present, it will override the inferred type of any matching key in all logs.
put/v0/logs
Request body
Example request
{
"project_name": "eval-project",
"context": {
"name": "experiment1/trial1",
"description": "Context for experiment 1 trial 1",
"is_versioned": true,
"allow_duplicates": true,
"unique_keys": {
"company_id": "int",
"department_id": "int",
"first_name": "str",
"last_name": "str"
},
"auto_counting": {
"company_id": "department_id"
},
"foreign_keys": [
{
"default": 0,
"name": "department_id",
"on_delete": "SET DEFAULT",
"on_update": "CASCADE",
"references": "Departments.id"
}
]
}
}Response
Successful Response
{"stackTrail":"paths:/v0/logs:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}