Chat Completions
Portkey Endpoints
Embeddings
Other APIs
Completions
Moderations
Fine-tuning
Assistants
- Assistants
- Threads
- Messages
- Runs
- Run Steps
Cancel a Log Export
POST
/
logs
/
exports
/
{exportId}
/
cancel
from portkey_ai import Portkey
portkey = Portkey(
api_key="PORTKEY_API_KEY"
)
res = portkey.logs.exports.cancel(
export_id='EXPORT_ID'
)
print(res)
{
"message": "<string>",
"object": "export"
}
Authorizations
Path Parameters
Response
200 - application/json
Successful response
The response is of type object
.
Was this page helpful?
from portkey_ai import Portkey
portkey = Portkey(
api_key="PORTKEY_API_KEY"
)
res = portkey.logs.exports.cancel(
export_id='EXPORT_ID'
)
print(res)
{
"message": "<string>",
"object": "export"
}