Each Model that Infer builds has a unique formula with a corresponding secret token, so that we may know the user hitting the API is authorized to do so. The authentication scheme mimics HTTP Basic Auth, where the user name is the secret token, and the password is blank.
For example, you could issue an authenticated request like so with curl:
curl "https://api.infer.com/api/v1/..." -u <auth_key>:X
On the wire, the token is passed via the “Authorization” HTTP header, like so:
Authorization: Basic <encoded_token>
where <encoded_token> is the base64-encoded value of <auth_key>:X.
You can also hit the URL you want directly from the browser as well. The browser will prompt you for your username/password; simply use your secret token as the username, and ignore the password field.