Last updated 10 months ago
Was this helpful?
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)
Successful response
{ "id": "123e4567-e89b-12d3-a456-426614174000", "total": 1, "object": "export" }