Authorization
All API requests require an API key and must include it using the Key scheme in theAuthorization header.
1
Create an API key
Go to your ModelRunner Dashboard, open Profile → Keys, 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.

