aiAgentProviderAccountCreate
UpdatedCreate a new AI Agent Provider account in the AI Agent Registry.
Description:
This mutation creates a new AI Agent Provider account associated with the authenticated user’s account.
This mutation is intended for onboarding Custom Type provider accounts; use providerType: CUSTOM. Once
the provider account is established, the External Provider Account ID linked to the provider account
cannot be modified after the account has been created.
Input Parameters (AiAgentProviderAccountCreateInput):
providerType: AiAgentProviderType! - Required. UseCUSTOMfor this mutation.providerSubType: AiAgentProviderSubType - Optional. The sub-type of the custom provider framework (e.g., CUSTOM_PROVIDER, LANGCHAIN, OPENAI_AGENTS_SDK, ANTHROPIC_MANAGED_AGENTS). Defaults to CUSTOM_PROVIDER if not specified.providerAccountName: String! - Required. The name of the accountproviderAccountDescription: String - Optional. Description for the provider account.metadataJson: String - Optional metadata associated with the provider in JSON format.externalAccountId: ID - Optional. The ID of the external account that contains the Agents.
Response:
- Returns the newly created
AiAgentProviderAccountobject.
Example Request:
mutation CreateAiAgentProviderAccount {
aiAgentProviderAccountCreate(input: {
providerType: CUSTOM,
providerSubType: CUSTOM_PROVIDER,
providerAccountName: "In-House LLM Service",
providerAccountDescription: "Data science team's internal model service",
metadataJson: "{\"team\": \"data-science\"}"
}) {
id
providerType
providerSubType
providerAccountName
providerAccountDescription
externalProviderAccountId
providerAccountStatus
metadataJson
idpAccountId
}
}
Example Response (success):
{
"data": {
"aiAgentProviderAccountCreate": {
"id": "075f4a19-b33c-439e-835d-ac6e8634b5d3",
"providerType": "CUSTOM",
"providerSubType": "CUSTOM_PROVIDER",
"providerAccountName": "In-House LLM Service",
"providerAccountDescription": "Data science team's internal model service",
"externalProviderAccountId": "075f4a19-b33c-439e-835d-ac6e8634b5d3",
"providerAccountStatus": "CONNECTED",
"metadataJson": "{\"team\": \"data-science\"}",
"idpAccountId": "685874d6-47d5-4fd1-8de4-0f2947cbf0e1"
}
}
}
aiAgentProviderAccountCreate(
input: AiAgentProviderAccountCreateInput!
): AiAgentProviderAccount
Arguments
aiAgentProviderAccountCreate.input ● AiAgentProviderAccountCreateInput! non-null input agent-control-tower {#input}
Type
AiAgentProviderAccount object agent-control-tower
Represents an AI Agent Provider Account in the AI Agent Registry.