Inference Providers

Create gateway credential set

Changed on

Creates an organization credential set with a supported shared credential, or a member set where each member signs in with their own account: a Google OAuth client (Vertex), an Entra ID tenant and app registration (Microsoft Foundry) or IAM Identity Center settings (Amazon Bedrock). Returns configuration status without secrets; access grants are created separately. Requires the Manage Gateway providers permission and enabled Gateway management; session callers must recently reauthenticate.

post/v1/inference-providers/{inferenceProviderId}/credential-sets

Request

  • Base URL
    https://api.openworklabs.com
  • URL
    https://api.openworklabs.com/v1/inference-providers/{inferenceProviderId}/credential-sets
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

inferenceProviderIdstring typeid required

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

Request body

namestring required
credentialMode'org' | 'member' required
apiKeysobject
oauthClientIdstring
oauthClientSecretstring
oauthTenantIdstring

Microsoft Foundry member sets: the Entra ID directory (tenant) ID. Empty string clears.

status'active' | 'disabled'

Response

Create gateway credential set

Changes

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • 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

      response property credentialSet/createdBy/anyOf[subschema #1]/email list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property credentialSet/createdBy/anyOf[subschema #1]/name list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property credentialSet/oauthClientId list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property credentialSet/oauthTenantId list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      the / 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 new optional request property

    • info

      added the new optional request property

    • info

      added the new aws_sso enum value to the request property /

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status