LLM Providers

Read llm-providers by id

Changed on

Reads a single LLM provider by id. Requires the View all providers permission. Callers who can't edit the provider (no Edit any provider permission, not its creator) and aren't granted it get configRedacted: true, providerConfig with only id, name and npm, model configs with only id, name and limit, empty configuredEnvKeys and runtimeEnvKeys, and hasApiKey false. People's names and emails in access are only returned to callers who can edit the provider; others get access.membersHidden: true and member entries without identities.

get/v1/llm-providers/{llmProviderId}

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/llm-providers/{llmProviderId}
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

llmProviderIdstring typeid required

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

Response

Resource configuration.

Changes

    • info

      added the optional property / to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API