LLM Providers

Set one member's LLM provider credential

Changed on

Requires the Manage people's provider keys permission. Stores write-only credential material and optional external provisioner identifiers. This is the provisioning route: an organization API key may call it (a script that mints each member's key upstream, for example in LiteLLM or TrueFoundry, and pushes it here). The agent may not.

put/v1/llm-providers/{llmProviderId}/member-credentials/{orgMembershipId}

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

llmProviderId, string typeid required

Den TypeID with 'lpr_' prefix and a 26-character base32 suffix.

orgMembershipId, string typeid required

Den TypeID with 'om_' prefix and a 26-character base32 suffix.

Request body

object required
apiKey, string
apiKeys, object
externalPrincipalId, string
externalCredentialId, string
expectedVersion, integer

Response

Member credential stored.

LlmProviderMemberCredentialSummary required
state, 'active' | 'blocked' | 'stale' | 'error' required
version, integer required
updatedAt, string date-time required

Changes

    • info

      response property anyOf[InvalidRequestError]/details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400

    • info

      the updatedAt response's property pattern was changed from ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ to ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ for the status

    • info

      added the optional property anyOf[#/components/schemas/InvalidRequestError]/message to the response with the status