🚀 Introducing Agent Gateway — governance, observability, and control for your AI agents.  Register for live webinar ↗
from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Update a specific provider
updated_provider = portkey.providers.update(
slug="PROVIDER_SLUG",
name="updated-name",
note="updated-note",
workspace_id=""
)
print(updated_provider){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>"
}from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Update a specific provider
updated_provider = portkey.providers.update(
slug="PROVIDER_SLUG",
name="updated-name",
note="updated-note",
workspace_id=""
)
print(updated_provider){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Provider slug
optional, needed when using organisation admin keys
Was this page helpful?