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

x-portkey-api-key
string
header
required

Path Parameters

exportId
string
required

Response

200 - application/json
Successful response
signed_url
string
required

A pre-signed URL for downloading the exported logs