Skip to main content
POST
Creates a knowledge integration for the current organization using a static auth method. For OAuth-based providers, use the OAuth Install endpoint instead. Required scope: integrations:write
Requires organization context via the X-Organization-Id header.
string
required
The organization to create the integration in.
string
required
Provider identifier from the catalog (e.g. "bigquery").
string
required
Auth method identifier from the provider’s catalog entry (e.g. "service_account").
string
default:"org"
"org" for a shared integration, "personal" for a user-scoped one, or "agent" for a connection that resolves only in sessions running as one roster agent. Sessions resolve one connection per provider in the order agent, then personal, then org; see the credential hierarchy.
string
Required when scope is "agent": the roster agent id (agents.id) whose sessions receive this connection.
string
Optional human-readable name (max 200 characters).
object
required
Credential payload matching the auth method’s credential_schema. Never returned in responses.
object
default:"{}"
Provider-specific configuration (e.g. { "project_id": "my-gcp-project" }).
string
Default tool permission mode: "auto", "allow", or "ask".
KnowledgeIntegrationResource
required
The newly created integration. See List for the full resource shape.