Update a Log Export

Update a logs export

put
Authorizations
Path parameters
exportIdstringRequired
Body
workspace_idstringOptional
Responses
200
Successful response
application/json
put
from portkey_ai import Portkey

portkey = Portkey(
  api_key="PORTKEY_API_KEY"
)

res = portkey.logs.exports.update(
  export_id="EXPORT_ID",
  workspace_id="WORKSPACE_ID",
  filters={
    "time_of_generation_max": "2024-07-25"
  }
)

print(res)
200

Successful response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "total": 1,
  "object": "export"
}

Last updated

Was this helpful?