Inference Providers

List the organization's AI Gateway API keys

Changed on

Returns every AI Gateway API key members of the organization created that is not revoked, expired ones included (never the secret), with the member each belongs to, and whether member keys are allowed. Requires the View Gateway providers permission.

get/v1/org/ai-gateway/api-keys

Request

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

Response

Keys returned.

object required
enabled, boolean required
apiKeys, object[] required

Changes

    • breaking

      response property apiKeys/items/expiresAt list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property apiKeys/items/lastUsedAt list-of-types was widened by adding types null to media type application/json of response 200

    • info

      the apiKeys/items/createdAt response's property pattern ^(?:(?:\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))$ was added for the status