scrapewise_list_api_keys
Returns every active key issued for this customer. The secret value is NEVER
returned (only id, name, prefix, scope, and lastUsed timestamp). Use to audit
which keys exist and when they were last used, before revoking stale ones.
Combined with scrapewise_delete_api_key, this is the standard "find then
revoke" flow — the secret is unrecoverable once issued, so the prefix +
lastUsed is what you have to identify a key by post-hoc.
Args:
(none — the customer is identified by the API key on the request.)
Returns:
`List<ApiKeyDTO>` — id, name, 8-char prefix, scope (USER / MCP_GATEWAY /
INTERNAL), lastUsed (Instant or null if never used), createdAt. Empty list
if the customer has no keys. Order is repository-natural; sort client-side
by lastUsed if you need "most-recent first".
Examples:
- Use when: "what API keys do I have?"
- Use when: "which key was used most recently?" → list, sort by lastUsed
- Use when: auditing keys before bulk revocation of stale ones
- Don't use when: you want to revoke one → use scrapewise_delete_api_key
(still need to list first to find the id)
Error Handling:
- 401 Unauthorized.
- 500 INTERNAL.[runtime hint] This tool returns JSON-as-text — its response shape is dynamic (per-scraper itemsConfig, file binary, etc.) so the MCP outputSchema is omitted. Do not rely on the presence of any specific field in the response; treat the result as a string-or-object blob and parse defensively.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scrapewise_list_api_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||