How do AgentReady API keys work?
By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026
Check your own store free. AgentReady fetches your catalog, structured data, crawler rules and policies, then shows — with evidence — what AI shopping agents can and cannot read.
The short answer
Like a password that only exists once. You create a key in the app; the full secret is displayed a single time and only its SHA-256 hash is kept, so the stored record can verify a presented key without being able to reveal it. Keys begin ar_key_ so they are recognisable in logs and leak-scanners. Through the API you can read plan usage (/api/v1/usage) and scan history (/api/v1/scans) — and metered operations are charged exactly once, after success: a call that fails costs nothing, because a failed result is not a result.
What is API key (AgentReady)?
A bearer credential for AgentReady's programmatic interface: created in the app, prefixed ar_key_ for recognisability, stored only as a SHA-256 hash, and shown in full exactly once at creation. Keys authenticate calls such as usage lookup and scan history, and API consumption is metered through the owning plan's credit system — charged once, after a successful result; failed calls are free.
Why keys are shown once and stored hashed
The one-time display is not ceremony; it is the security model. A service that can re-display your key can also leak it — from its own database breach, from a support screen, from a log. Storing only the hash inverts the risk: the database's key column becomes useless to an attacker (a hash verifies; it does not authenticate), and the full secret exists only in the two places it must — your secret store, and the requests you send. Lose the key and the remedy is proportionate: revoke it and mint another, the same hygiene the platform applies to its own credentials. The ar_key_ prefix completes the recognisability triangle: humans spot it in a config file, leak-scanning tools pattern-match it in public repos, and support can identify a key's species from its first characters without ever seeing the rest.
Operational rules follow from the model. Keep keys in a secret manager or environment variable, never in source, never in a spreadsheet of doom. One key per integration, so revocation is surgical (the CI pipeline's key dies without touching the agency dashboard's). Rotate on personnel change and on suspicion, in that order of urgency. And treat the creation moment as the custody moment: the person minting the key owns its safe arrival in the secret store, because the platform will never show it again — by design, not by forgetfulness.
What the API exposes
The interface is deliberately narrow, matching the product's shape: /api/v1/usage reports the key's plan consumption — the credits ledger in machine form — and /api/v1/scans returns the account's scan history, so integrations can pull results, states and history without scraping the dashboard. Authentication is the bearer key; authorisation is the owning account's plan, so a key can never out-scope the licence it was minted under. Narrowness here is a feature with a security argument (every endpoint is an obligation) and a product argument (the API's job is to let pipelines and dashboards consume the record the instruments produce — scans, usage — not to re-implement the instruments).
Typical consumers: an agency's internal dashboard merging rollup data with its own CRM states; a CI-adjacent script that files each deploy's expected-diff check against the latest scan programmatically; a data warehouse ingesting scan history for quarterly pattern analysis across a portfolio. All three read; none needs to write the store or the record — the same read-only ethic the replay applies to client stores, applied to the platform's own surface.
Credits: charged once, after success, never on failure
The metering rules deserve quoting precisely because they are the customer's protection, stated in the fleet's standing terms: API keys are a paying-customer entitlement, metered through the plan's own credit system; a metered operation is charged exactly once, after a successful result; failed calls are free; and keys are revoked on refund. Each clause kills an abuse. Charged-after-success kills the double-billing bug class (retries cannot double-charge a completed result). Failed-free kills the tax on the platform's own errors — a 500 from the service is not a billable event however many times your pipeline retries it. Revoked-on-refund kills the orphaned-entitlement class (access outliving the payment that authorised it). Usage is inspectable at any time via the usage endpoint, so the ledger is never a surprise at invoice time.
Budgeting follows: an integration's cost is its successful-result rate, which the team controls through its own call discipline (poll sanely, cache results, consume history in batches). A pipeline that re-fetches the full scan history hourly is choosing its bill; the metering does not punish exploration, but it prices waste at its true rate — successful, repeated, identical results — which is fair in the exact sense customers mean when they say the word.
Revocation, rotation and the key lifecycle
A key's life has four events — creation, custody, rotation, revocation — and the platform's model makes each one cheap, which is precisely why teams skip them until an incident itemises the cost. Rotation deserves its own paragraph because it is the event nobody schedules: keys do not expire on their own, so a key minted for a dashboard in January is, absent discipline, the same string in December, known by then to every log, laptop and contractor the year contained. Rotate on the calendar (quarterly is a sane default for active integrations), on personnel change, and immediately on any suspicion — the one-time-display model makes rotation a two-minute operation: mint the successor, deploy it, revoke the predecessor, in that order so the integration never blinks.
Revocation is equally undramatic by design, and agencies should practise it at every client offboarding: the departing client's keys die the same day their stores leave the rollup, so no access path outlives the relationship. The usage endpoint is the lifecycle's audit surface — a key whose calls continue after its integration was retired is a finding, not a mystery, and the ledger's timestamps will say when the calls occurred. Teams that read that ledger monthly discover their forgotten integrations while the discovery is still free.
Keys versus licence keys: two artefacts, two jobs
Confusion between the two key species is the common support thread, so draw the line brightly. The licence key activates a plan on an account — it is a purchase artefact, entered into the in-app form, verified into a plan tier. The API key authenticates programmatic calls — it is an access artefact, minted inside an already-entitled account, hashed, shown once. Licence first (no entitlement, no keys), keys under it (a key's authority is its account's plan), and the credit system meters the keys' consumption against the licence's plan. Losing a licence key is a billing conversation; losing an API key is a thirty-second revocation. Keeping the species separate in your own records — named, owned, dated — prevents the 2 a.m. ambiguity about which string does what, which is when key mistakes happen.
Agencies: mint per-client-integration keys where client data flows through shared pipelines, so a single client's offboarding revokes exactly their access path. The prefix and the per-integration naming make the key inventory auditable at a glance — an inventory most teams discover they need the first time a contractor leaves, and wish they had started the day the first key was minted.
API key check: five things to verify
Run keys like the credentials they are — the platform's model assumes you will:
- Store each key in a secret manager or environment variable at creation — it is shown once and can never be re-displayed.
- Mint one key per integration so revocation is surgical; name each with its owner and purpose in your inventory.
- Verify your ledger understanding: charges land once, after successful results only; failed calls are free — confirm via /api/v1/usage after your first integration runs.
- Keep licence keys and API keys as separate records with separate jobs: licence activates the plan; API keys authenticate calls under it.
- Rotate keys on personnel change and revoke immediately on suspicion or on a client's offboarding.
Worked example: the key in the repo
A fictional agency in Belize, South Pier Studio, wires its dashboard to the scans endpoint with a fresh key — and a developer, moving fast, commits the integration config with the key inline. The agency's own repo leak-scanner flags the ar_key_ prefix within the hour (the prefix earning its keep), the key is revoked and re-minted into the CI secret store, and the git history is scrubbed. Total exposure: one hour, one dead key, zero client impact — because the stored-hash model means the platform side held nothing more to leak, and the revocation was surgical: the dashboard's other key never blinked.
The post-incident checklist gains two lines that stay: keys are born into the secret store (the creation moment is the custody moment), and every integration gets its own key from day one. The story is told to new hires as the day the boring credential rules paid for themselves in a single hour.
Frequently asked questions
I lost my API key. Can support show it to me?
No — by design. Only the key's SHA-256 hash is stored; the full secret was shown once at creation and cannot be re-displayed by anyone, including the platform. Revoke the lost key and mint a new one; the one-minute remedy is the price of a database that holds nothing worth stealing.
When am I charged for API usage?
Exactly once per metered operation, after a successful result. Failed calls — errors, timeouts on the service side — are free, however often your pipeline retries them. Your consumption is inspectable at any time through /api/v1/usage, so the ledger is never a surprise.
What can the API do?
Read the record: plan usage (/api/v1/usage) and scan history (/api/v1/scans) for the owning account — enough for dashboards, pipelines and warehouse ingestion to consume results without scraping. A key's authority is its account's plan; it cannot out-scope the licence it was minted under.
What happens to my keys if I refund?
They are revoked. API access is a paying-customer entitlement metered through the plan; when the payment reverses, the entitlement ends and the keys stop working. That rule is stated up front in the fleet's standing terms so there is no ambiguity later.
How is an API key different from my licence key?
The licence key is a purchase artefact: entered in the app, it verifies and sets your plan. An API key is an access artefact: minted inside an entitled account, hashed at rest, shown once, it authenticates programmatic calls. Licence first, keys under it — keep them as separate records with separate owners.
AgentReady is built by Ingenious AI. Every verdict in an AgentReady scan traces to values actually fetched from the store — no live AI-agent queries are run or claimed.