Account
The dashboard
Keys with spending caps, rename and roll, the request log, and free playground runs.
Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)
The dashboard is where a signed-in team makes and manages its keys, sees what its calls did and cost, and tries searches without a key in the browser. This page says how its key settings, its request log and its playground behave. Signing in is covered in Authentication.
Monthly cap per key
A key can have a monthly spending cap: a whole number of credits, 1 or more. Set it when you make the key, or later with Edit on the Keys tab; clear the field to remove it. A changed cap counts from the key's next call.
- The cap counts what the key has spent in the current calendar month, UTC. It starts again when the month turns.
- A key that has spent its cap is refused with
403and the codeQUOTA_EXCEEDED, withdetails.limitset tokey_monthly_cap. Nothing is charged for a refused call, and the team's other keys keep working. - The cap changes no price. Every key of a team still draws on the same credits.
Calls already in flight. When a call starts, it sets aside on its key the most it can cost (its worst case). When it answers, what is set aside is let go and what it was charged is added to the key's spending; a call that fails is charged nothing. So:
- A call that is already under way when the key reaches its cap finishes and is charged, and its worst case was already counted inside the cap: calls running at the same time stay within the cap. (Only a call charged more than its worst case, which is rare, can go past it.)
- A call whose worst case is more than the key has left, counting its calls still running, is refused before it runs, even if it would have cost less. The refusal's
detailscarrycap_credits,spent_credits,in_flight_creditsandneeded_credits. Ask for less (fewer sources or results), raise the cap, or use another key. - The key's spending on the Keys tab is what it was charged; what running calls set aside is not in it.
Work that is charged later, as it happens (a batch, a crawl, a monitor's checks), is counted against the team's credits but not against a key's cap.
curl https://api.millionshort.com/v1/search \
-H "Authorization: Bearer $MILLIONSHORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "query": "sourdough starter hydration", "sources": ["web", "news"], "remove_top_sites": 1000 }'import os
import requests
r = requests.post(
"https://api.millionshort.com/v1/search",
headers={"Authorization": "Bearer " + os.environ["MILLIONSHORT_API_KEY"]},
json={
"query": "sourdough starter hydration",
"sources": [
"web",
"news"
],
"remove_top_sites": 1000
},
timeout=30,
)
r.raise_for_status()
for hit in r.json()["data"]["results"]:
print(hit["position"], hit["title"], hit["url"])const res = await fetch('https://api.millionshort.com/v1/search', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.MILLIONSHORT_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"query": "sourdough starter hydration",
"sources": [
"web",
"news"
],
"remove_top_sites": 1000
}),
});
if (!res.ok) throw new Error(`POST /v1/search failed: ${res.status}`);
const { data } = (await res.json()) as {
data: { results: { position: number; title: string; url: string }[] };
};
for (const hit of data.results) console.log(hit.position, hit.title, hit.url);The same call as a tool of the MCP server:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search",
"arguments": {
"query": "sourdough starter hydration",
"sources": [
"web",
"news"
],
"remove_top_sites": 1000
}
}
}A key with 1 credit left refuses this call: two sources can cost up to 2 credits.
Rename and roll a key
- Rename a key with Edit. The name is for you; calls do not send it.
- Roll makes a new key with the same name and cap, and shows it once. The old key keeps working for 24 hours, then stops, so you can swap it without downtime. The new key starts with what the old one has spent this month: rolling does not start a cap again. For those 24 hours the two keys count apart, so between them they can spend what was left of the cap twice.
- Rolling needs room under the team's limit of 10 active keys. A key that is revoked, or already ending after a roll, cannot be rolled.
- Revoke stops a key at once and cannot be undone.
The request log
The Logs tab lists one row for each call that does work: every /v1 call that is not a read (GET), and every search run from the dashboard's playground. Reads and polls are not listed, and neither is a call without a valid key.
What a row keeps: the time, the request id, the name of the key that made the call, the endpoint, the HTTP status and error code, the time taken, the credits charged, the sources, the Space, the number of results, the top-sites setting, and how many results were left out (from popular sites, as duplicates, or for a risk label).
What a row never keeps: a key, a token, the answer, or the body of the request as it was sent.
- Rows are kept for 30 days, then deleted.
- Query text is the team's choice: kept for 30 days (the default), for 7 days, or not kept. Query text is what was asked for: a search's
queryand its settings (so a call can be opened again in the playground), the addresses of an extract or a domain lookup, a monitor's name. With "not kept" it is never written, and rows hold only the numbers above. Only the team's owner can change the setting, on the Logs tab. - Keeping less takes effect at once: text the new setting would not keep is removed when you change it (for a very large log, within the hour).
- An address is kept without its
user:password@, its query string and its fragment, where a credential or token would be. A webhook's address is kept as its scheme, host and port only, since its path is often its secret. - A call refused before any work (a rate limit, a key at its cap) is listed at most 20 times a minute per team, so a client caught in a retry loop cannot fill the log.
- Filter by time, endpoint, key, status, source and Space, or search for a request id or query text. Export CSV downloads what the filters match, up to 10,000 rows.
Free playground runs
The Playground tab runs a real search as your team, with no key in the browser. It takes the same request as POST /v1/search and answers the same way.
- The first 25 runs of each UTC day are free, per team. A free run says
usage.credits: 0. - After that, a run is charged exactly like the same call with a key. The page says what a run will cost before you run it.
- A run that could cost more than 5 credits (many results, or the text of each page) is always charged: the free runs cover ordinary searches.
- A run that fails gives its free run back.
- The free runs of all teams share a daily ceiling. When it is reached, runs are charged until midnight UTC, and the page says no free runs are left.
- Your plan's limits apply to playground runs, and each run is in the request log as the playground's, with no key.
This is the dashboard's playground. The playground on the Agents page needs no account and has its own limits, listed in Authentication.