Inference Providers

Check which providers on the caller's device can be shared with the organization

Changed on

Read-only. For the provider ids in providerIds (comma-separated, at most 20), says whether the caller may add each to AI Gateway for everyone with the one API key saved on their device: shareable, already shared (an active organization provider exists for it) or unsupported (not in the catalog, or it needs more than one key or settings a person chooses). canShare needs the Manage Gateway providers permission and enabled Gateway management; otherwise blocker says which is missing, managerName names an owner who can, and providers is empty. verificationRequired is true when adding the provider would first ask for a recent sign-in. Never reads or returns a key. Requires a signed-in user session. Gateway permissions, recent sign-in and organization management settings still apply.

get/v1/inference-providers/device-share-options

Request

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

Query parameters

providerIds, string

Response

What the caller can share.

DeviceShareOptions required
canShare, boolean required
blocker, 'no_permission' | 'gateway_unavailable' nullable required
managerName, string nullable required
verificationRequired, boolean required
providers, object[] required

Changes