Log Exports
Download a Log Export
API Reference
- Introduction
- Authentication
- Headers
- Errors
- Supported Providers
- SDKs
- API Details
Chat Completions
Portkey Endpoints
Embeddings
Other APIs
Completions
Moderations
Fine-tuning
Assistants
- Assistants
- Threads
- Messages
- Runs
- Run Steps
Download a Log Export
GET
/
logs
/
exports
/
{exportId}
/
download
from portkey_ai import Portkey
portkey = Portkey(
api_key="PORTKEY_API_KEY"
)
res = portkey.logs.exports.download(
export_id='EXPORT_ID'
)
print(res)
{
"signed_url": "<string>"
}
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.download(
export_id='EXPORT_ID'
)
print(res)
{
"signed_url": "<string>"
}