MCPBundler Docs
MCPBundler Docs
Back to marketplaceGetting StartedAuthenticationTutorial - Bundle to Connected Agent
API Reference
Auth
Bundler
Bundles
Catalog
Deployments
Discover
LLM
MCP Listing Claims
MCP Listings
OAuth2
Observability
Organisations
Claim Organisation DomainCreate Org Vault EntryCreate OrganisationDelete Org LLM BindingDelete Org Vault EntryDelete OrganisationDelete SSO ConfigDisable SCIMGenerate SCIM TokenGet OrganisationGet SCIM StatusGet SSO ConfigInvite Organisation MemberList Organisation DomainsList Organisation MembersList My OrganisationsList Organisation BundlesList Organisation ListingsList Org LLM BindingsList Org Vault EntriesList SCIM Role MappingsRemove Organisation DomainRemove Organisation MemberReplace SCIM Role MappingsSave SSO ConfigSync SCIM UsersUpdate Member RoleUpdate Org Vault EntryUpdate OrganisationUpdate Organisation PolicyUpsert Org LLM BindingVerify Organisation Domain
Reviews
Roadmap
SCIM
Users
Utils
Vault
Webhooks
API ReferenceOrganisations

Upsert Org LLM Binding

PUT
/v1/organisations/{org_id}/llm/credentials/{provider_name}

Bind (or replace) the organisation's shared API key for an LLM provider.

Authorization: caller must be an admin or owner. One binding exists per (org, provider) pair - calling this again overwrites the stored key.

Authorization

OAuth2AuthorizationCodeBearer
AuthorizationBearer <token>

In: header

Path Parameters

org_id*Org Id
Formatuuid
provider_name*Provider Name

Query Parameters

verify_locally?Verify Locally
Defaulttrue

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for binding an API key to a provider.

endpoint/modelName only apply to the "self-hosted" provider, which has no fixed registry endpoint/model - every other provider ignores them.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/organisations/497f6eca-6276-4993-bfeb-53cbbbba6f08/llm/credentials/string" \  -H "Content-Type: application/json" \  -d '{    "apiKey": "string"  }'
{  "provider": "string",  "bound": true,  "endpoint": "string",  "modelName": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}

Update Organisation Policy

Previous Page

Verify Organisation Domain

Next Page

apiKey*Apikey
endpoint?|null
modelName?|null