Skip to main content

Authorization

Account-scoped API requests require an API key, passed with the Key scheme in the Authorization header. The catalog reads under Platform APIs — models, search, pricing and collections — are public and need no key.
1

Create an API key

Go to your ModelRunner Dashboard, open ProfileKeys, and select Create key.
Give your key a descriptive name and minimal required permissions.
2

Copy and store the key securely

Copy the generated key value (for example, modelrunner_key) and store it in your password manager or environment variables.
Treat API keys like passwords. Do not commit them to version control.
3

Use the key in request headers

Include the key using the Authorization header with the Key scheme:
You should receive a 200 response when the header is set correctly.