API referenceLogs, drains and alerts
Rename or update a log view
Rename a view or change its query, columns or sharing. You can change your own views; owners and admins can also change shared ones.
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Match
^lv_[a-z0-9]{8,32}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/v1/logs/views/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "name": "string", "query": "string", "columns": { "property1": true, "property2": true }, "shared": true, "owned": true, "created_at": "string", "updated_at": "string"}List saved log views GET
Your saved log views plus views shared with the workspace, newest first. A view is a query in the log query language and the visible columns.
Vendor billing accuracy GET
Per vendor, how many of your own-key (BYOK) calls were billed as the vendor's published rule says, how many were charged for a miss, double-charged on a retry or at the wrong price, and the credits and dollars at stake. Same filters as logs_list.