🚀 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 integration
integration = portkey.integrations.update(
slug="INTEGRATION_SLUG',
name="updated-name",
note="hello"
)
print(integration){}from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Update a specific integration
integration = portkey.integrations.update(
slug="INTEGRATION_SLUG',
name="updated-name",
note="hello"
)
print(integration){}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.
Human-readable name for the integration
"Production OpenAI"
API key for the provider (if required)
"sk-..."
Optional description of the integration
"Production OpenAI integration for customer-facing applications"
Provider-specific configuration object
Show child attributes
Dynamically resolve secrets from secret references at runtime. Valid target_field values are "key" or "configurations." (e.g. "configurations.aws_secret_access_key", "configurations.azure_entra_client_secret"). Each target_field must be unique.
Show child attributes
Successful response
The response is of type object.
Was this page helpful?