Authentication
Send a Flash key as a bearer token, and only to armor.outtake.ai. Never put it in a URL, a log line or a prompt.
Flash keys start with flash_ and are separate from Outtake platform keys. A key’s scans belong to its account and count against that account’s limits. Every endpoint needs a key except GET /v1/openapi.json and the two key-claim calls.
A missing, mistyped or revoked key gets 401 unauthorized, and a key without the scope gets 403 scope_required. Neither is worth retrying.
A person creates a key
Sign in at flash.outtake.ai/account, create a key and store it, for example in FLASH_API_KEY. It has both scopes. Create one key per program, so you can revoke one without breaking the others.
An agent claims a key
An agent without a key can ask for one, and a person approves it. This is the OAuth device flow (RFC 8628), and neither call takes a credential.
-
The agent asks, with its own name:
client_nameis 1 to 64 ASCII letters, digits, spaces or._()/:@+-, starting with a letter or digit.scopesdefaults toscan. -
The agent shows the person the
user_codeand theverification_uri_completelink, and keepsdevice_codeto itself. -
The person signs in on that claim page, checks the name and scopes, and approves or denies.
-
The agent polls every
intervalseconds:Once the person approves, the poll returns
200withapi_key. Flash shows it this once, so store it right away.
A claim expires after 10 minutes. The claimed key lands on the person’s account as agent claim: <client_name>, and they can revoke it there. Key-claim errors follow OAuth, {"error": "<code>", "error_description": "<sentence>"}:
Asking for a key returns 429 rate_limited after 10 requests in an hour from one network.