Connect the caller's LiteLLM key
Changed onStores the caller's own LiteLLM key for a per-user LiteLLM provider after checking it with the LiteLLM proxy, and grants the shared model group whose models match what that key can reach. Requires a user session and an admin grant that lets the caller connect a key. Replacing the key re-matches the group. The key is write-only. Disconnect with DELETE /v1/inference-providers/{inferenceProviderId}/oauth.
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Den TypeID with 'ipr_' prefix and a 26-character base32 suffix.
Request body
Den TypeID with 'gcs_' prefix and a 26-character base32 suffix.
Response
Connect the caller's LiteLLM key
Den TypeID with 'gmg_' prefix and a 26-character base32 suffix.
Changes
- info
response property
anyOf[InvalidRequestError]/details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400
- info
- info
endpoint added
- info