Inference Providers

List my AI Gateway API keys

Changed on

Returns the caller's AI Gateway API keys that are not revoked, expired ones included (never the secret), whether the organization allows member keys, and the Gateway URL to point tools at.

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

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
baseUrl, string 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