aiAgentProviderAccountUpdate
Update an existing AI Agent Provider account in the AI Agent Registry.
Description: This mutation modifies the metadata and credentials of an existing AI Agent Provider account linked to the authenticated user's account. The credentials must correspond to the same external provider account ID associated with the account being updated.
Input Parameters (AiAgentProviderAccountUpdateInput):
id: ID! - Required. The unique identifier of the provider account to be updated.providerAccountName: String - Optional. The name of the accountproviderSubType: AiAgentProviderSubType - Optional. The sub-type of the provider (e.g., CUSTOM_PROVIDER, OPENAI, ANTHROPIC).metadataJson: String - Optional new metadata associated with the provider in JSON format.providerAccountStatus: AiAgentProviderAccountStatus - (Optional) - The new status of the provider (e.g., ENABLED, DISABLED, CONNECTED).
Response:
- Returns the updated
AiAgentProviderAccountobject.
Example Request:
mutation UpdateAiAgentProviderAccount {
aiAgentProviderAccountUpdate(input: {
id: "ai-provider-account-12345",
providerSubType: CUSTOM_PROVIDER
metadataJson: "{ \"newKey\": \"newValue\" }",
providerAccountStatus: ENABLED
}) {
id
providerType
providerSubType
providerAccountName
externalProviderAccountId
providerAccountStatus
metadataJson
idpAccountId
}
}
aiAgentProviderAccountUpdate(
input: AiAgentProviderAccountUpdateInput!
): AiAgentProviderAccount
Arguments
aiAgentProviderAccountUpdate.input ● AiAgentProviderAccountUpdateInput! non-null input agent-control-tower {#input}
Type
AiAgentProviderAccount object agent-control-tower
Represents an AI Agent Provider Account in the AI Agent Registry.
Was this topic helpful?