Create an AI Gateway access key configuration
Create a reusable access key configuration with provider/model scope
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
User-defined label for this configuration.
255Human-readable description.
255Arbitrary user-defined metadata.
4096Scope controlling which providers and models are reachable. Omit the entire object for allow-all. Each dimension is independently optional.
Routing configuration. Omit to use defaults: built-in providers get an implicit ngrok step; user-defined providers fail until a rule with user keys exists.
Response
The created AI Gateway access key configuration.
Unique identifier for this configuration.
URI of this AI Gateway Access Key Configuration API resource.
User-defined label for this configuration.
Timestamp when the configuration was created.
Timestamp when the configuration was last updated.
Human-readable description.
Arbitrary user-defined metadata.
Scope controlling which providers and models are reachable. Omit the entire object for allow-all. Each dimension is independently optional.