Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Python
Default
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>" }
Provider slug
optional, needed when using organisation admin keys
Show child attributes
{ "credit_limit": 10, "periodic_reset": "monthly", "alert_threshold": 8}
Successful response
Was this page helpful?