🎉 Portkey raises Series A - $15M to build AI that never breaks  Read announcement →
from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Update workspace
workspace = portkey.admin.workspaces.update(
workspace_id='WORKSPACE_ID',
name='WORKSPACE 0909',
description='This is a test description',
defaults={
"x": "y"
}
)
print(workspace){}from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Update workspace
workspace = portkey.admin.workspaces.update(
workspace_id='WORKSPACE_ID',
name='WORKSPACE 0909',
description='This is a test description',
defaults={
"x": "y"
}
)
print(workspace){}Documentation Index
Fetch the complete documentation index at: https://portkey-docs-log-export-guide-1773064217.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
OK
The response is of type object.
Was this page helpful?