Skip to content

Connecting an agent (MCP)

An AI agent can look up, search and read the history of any public entry with no key at all. With your API key, it can propose changes, report an entry, and do what your account may.

Server
https://verifiedhandles.org/mcp
Transport
Streamable HTTP, stateless JSON
Keys
Not needed to read. Getting one
Version
1.92.0

The rest of the API, for scripts: the developer docs.

Guides

What MCP is here#

MCP, the Model Context Protocol, is how an AI agent (Claude, Cursor, Copilot and others) uses a service through tools it can call. The Verified Handles server is at https://verifiedhandles.org/mcp, over MCP’s Streamable HTTP transport. It is stateless: each message is one POST, answered in JSON, with no session to keep.

Every tool goes through the same routes and checks as the site and the rest of the API: an agent can do nothing you could not do yourself, and with a key it acts as you. Nothing is changed by accident: every tool that changes something only shows what it would do until it is told otherwise (see dry runs).

The server is listed in the MCP Registry as org.verifiedhandles/verified-handles, and its setup guides, changelog and a Claude Desktop extension are on GitHub.

Before connecting, a client can read the server’s card, with its name, version and addresses, at https://verifiedhandles.org/mcp/server-card. Agent finders find the server, and the read API, in https://verifiedhandles.org/.well-known/ard.json.

No key, a read-only key, or a full key#

Connected withTools listedActs as
No keyThe public reads that need nothing else: get_entry, search_entries, find_by_handle, get_entry_history and get_entries. Just leave out the Authorization header.A signed-out visitor: the public record only.
A read-only keyEvery read tool your role is listed, and no tool that changes anything.You, reading.
A keyEvery tool your role is listed (see which tools each role is listed).You, at the lower of the key’s role ceiling and your role today.

A key that is sent but wrong, revoked or expired is refused with 401; it is never treated as no key. Answers are never cached, by anyone.

Getting a key#

Any account can make a key: registered accounts and trusted editors may by default, and administrators hold every permission. (An administrator can take the permission away from an account.) Sign in, choose Console in the menu, then Account, then Manage API keys.

  • The key is shown once, when it is made, as vhk_<prefix>_<secret>. Keep it somewhere safe; if it leaks, revoke it on the same page and it stops working at once.
  • A role ceiling at or below your own role: the key never acts as more, and a role taken from you is taken from your keys too.
  • Read-only, if you only read: the agent is then listed no tool that changes anything.
  • An expiry of 1 to 90 days. You can keep up to 5 keys at once.

Connect with your account (OAuth)#

Clients that sign in with OAuth (Claude, Claude Code, ChatGPT, VS Code, Cursor) can act as you without an API key. Connect them to https://verifiedhandles.org/mcp/account: they open a Verified Handles page where you sign in and choose what they may do: a role ceiling, read only, and for how long (7, 30 or 90 days).

https://verifiedhandles.org/mcp stays as it is: with no key, the public reads; with an API key, your account. Your connected apps are on My account → Settings → API keys, where you can disconnect one; you can have up to 10 at once. For clients that can’t sign in this way, such as scripts, use an API key as before.

Claude Code

In a terminal
claude mcp add --transport http verified-handles https://verifiedhandles.org/mcp/account

Then run /mcp in Claude Code, choose verified-handles and Authenticate: your browser opens the Verified Handles page.

claude.ai and Claude’s apps

Add a custom connector (Settings, Connectors, Add custom connector) with the address https://verifiedhandles.org/mcp/account, leaving the advanced settings empty, then choose Connect.

VS Code

.vscode/mcp.json
{
  "servers": {
    "verified-handles": {
      "type": "http",
      "url": "https://verifiedhandles.org/mcp/account"
    }
  }
}

VS Code asks you to sign in the first time it connects.

ChatGPT

In ChatGPT’s settings, with developer mode on, create a connector: give it a name, enter https://verifiedhandles.org/mcp/account as its MCP server URL and choose OAuth as its authentication. Creating it sends you to the Verified Handles page to sign in and choose what ChatGPT may do, then back to ChatGPT.

Cursor, and other apps that register themselves

Some clients, Cursor among them, publish no details of their own: they register themselves with Verified Handles the first time they connect. That works, but nobody can check who made an app like that, so the page marks it Unverified app, and your API keys page marks it Unverified too. Instead of where its details are published, it shows where the app sends you back to: a web address, your own computer, or for an app on your device, the kind of address it opens (such as com.example.app:). Any app can call itself anything, so allow one only if you started connecting it yourself, just now.

Cursor: mcp.json
{
  "mcpServers": {
    "verified-handles": {
      "url": "https://verifiedhandles.org/mcp/account"
    }
  }
}

With no headers, Cursor asks you to sign in when it connects. To use an API key instead, see Setting up your client.

What the page asks

The page names the app as it describes itself, the web address its details are published at, and where it sends you back to. Only allow an app you started connecting yourself, just now. It can do what your account can do, never more than the role you pick, and never more than your own role if that changes. When its days are up it asks again; you can disconnect it sooner.

For client authors

  • A request to https://verifiedhandles.org/mcp/account with no token answers 401 with WWW-Authenticate: Bearer resource_metadata="https://verifiedhandles.org/.well-known/oauth-protected-resource/mcp/account", scope="mcp". The metadata is at https://verifiedhandles.org/.well-known/oauth-protected-resource/mcp/account (RFC 9728) and https://verifiedhandles.org/.well-known/oauth-authorization-server (RFC 8414).
  • A client registers with a Client ID Metadata Document: its client_id is the https address of that document. Without one, it can register at https://verifiedhandles.org/oauth/register (Dynamic Client Registration, RFC 7591), and the person sees it marked unverified. Either way there is no client secret. A registered client’s redirect URIs are https:, loopback http: (any port then matches) or a private-use scheme with a dot (RFC 8252 §7.1, such as com.example.app:/callback); others are dropped. At most 10 registrations an hour from one address; one never used is deleted after 24 hours.
  • The authorization code flow with PKCE, S256 only. Send resource: the address you connect to (https://verifiedhandles.org/mcp/account, or https://verifiedhandles.org/mcp); a token works there and nowhere else. The one scope is mcp, and iss comes back with the code.
  • A code works once, for 60 seconds; an access token for 1 hour. A refresh token is replaced each time it is used, and using an old one again ends the connection. Send the token as Authorization: Bearer, never in a query string; revoke it at https://verifiedhandles.org/oauth/revoke.

Setting up your client#

Each recipe below connects with a key; for no key, leave the Authorization header (or the setting that sends it) out. Put your own key where it says vhk_<prefix>_<secret>, and keep it out of anything you share or commit: where a client can read it from an environment variable, the recipe does.

Claude Code

In a terminal
# No key: the public reads
claude mcp add --transport http verified-handles https://verifiedhandles.org/mcp

# With a key (add --scope user to have it in every project)
claude mcp add --transport http verified-handles https://verifiedhandles.org/mcp \
  --header "Authorization: Bearer vhk_<prefix>_<secret>"

Or in a project’s .mcp.json, with the key read from your environment when Claude Code starts:

.mcp.json
{
  "mcpServers": {
    "verified-handles": {
      "type": "http",
      "url": "https://verifiedhandles.org/mcp",
      "headers": {
        "Authorization": "Bearer ${VH_API_KEY}"
      }
    }
  }
}

Cursor

In ~/.cursor/mcp.json (every project) or a project’s .cursor/mcp.json:

mcp.json
{
  "mcpServers": {
    "verified-handles": {
      "url": "https://verifiedhandles.org/mcp",
      "headers": {
        "Authorization": "Bearer ${env:VH_API_KEY}"
      }
    }
  }
}

VS Code

In a workspace’s .vscode/mcp.json. VS Code asks for the key the first time and keeps it, so it never sits in the file:

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "vh-api-key",
      "description": "Verified Handles API key",
      "password": true
    }
  ],
  "servers": {
    "verified-handles": {
      "type": "http",
      "url": "https://verifiedhandles.org/mcp",
      "headers": {
        "Authorization": "Bearer ${input:vh-api-key}"
      }
    }
  }
}

Claude Desktop

Add it as a custom connector (Settings, Connectors, Add custom connector), as for claude.ai below. Or, through the mcp-remote bridge (it needs Node.js 18 or later), in claude_desktop_config.json. The key goes in env, because some clients do not pass a space inside an argument safely:

claude_desktop_config.json
{
  "mcpServers": {
    "verified-handles": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://verifiedhandles.org/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer vhk_<prefix>_<secret>"
      }
    }
  }
}

claude.ai and other custom connectors

On claude.ai (and Claude’s desktop and mobile apps), add a custom connector with the address https://verifiedhandles.org/mcp. Choose No sign in: with nothing more, it reads with no key. To use your key, add a request header Authorization with the value Bearer vhk_<prefix>_<secret>. The connector calls from Anthropic’s servers, not your computer, so it shares their addresses’ rate limit; a key is the way to be counted as yourself. To sign in instead of sending a key, use the address https://verifiedhandles.org/mcp/account: see Connect with your account (OAuth).

Test the connection

curl
curl -s https://verifiedhandles.org/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H "Authorization: Bearer $VH_API_KEY" \
  --data '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
# Leave out the Authorization line to see what no key is listed.

Which tools each role is listed#

A key is listed the tools its account may use at the key’s role ceiling, with each role’s default permissions below (an administrator can change an account’s or a role’s). A read-only key is listed the reads in its role’s column and nothing that changes anything. The list is a courtesy: the site is what decides each call.

Live editing is decided entry by entry. A tool marked “per entry” is listed to every key that may change something, because whether you may edit a given entry live depends on the entry: its edit policy, and whether it is yours by a claim. Its dry run says so (may_edit_live, and refused_because when not). Where you may not, propose the change instead.

ToolNo keyRegisteredTrusted editorAdministrator
get_entryListedListedListedListed
search_entriesListedListedListedListed
find_by_handleListedListedListedListed
get_entry_historyListedListedListedListed
get_entriesListedListedListedListed
list_entry_notesNot listedNot listedListedListed
search_commons_imagesNot listedListedListedListed
update_entry_fieldsNot listedListed, per entryListed, per entryListed
update_entry_handlesNot listedListed, per entryListed, per entryListed
update_entriesNot listedListed, per entryListed, per entryListed
propose_entry_changesNot listedListedListedListed
set_wikidata_ownershipNot listedListed, per entryListed, per entryListed
set_entry_imageNot listedListed, per entryListed, per entryListed
set_entry_galleryNot listedListed, per entryListed, per entryListed
add_entry_noteNot listedNot listedListedListed
edit_entry_noteNot listedNot listedListedListed
delete_entry_noteNot listedNot listedListedListed
propose_entry_revertNot listedListedListedListed
propose_entry_changeNot listedListedListedListed
propose_new_entryNot listedListedListedListed
report_entryNot listedListedListedListed
list_applicationsNot listedNot listedListedListed
assess_applicationNot listedNot listedListedListed
approve_applicationNot listedNot listedListedListed
ask_applicantNot listedNot listedListedListed
reject_applicationNot listedNot listedListedListed
mark_application_spamNot listedNot listedListedListed
comment_on_applicationNot listedNot listedListedListed
list_review_queueNot listedNot listedListedListed
review_submissionNot listedNot listedListedListed
list_my_submissionsNot listedListedListedListed
retract_my_submissionNot listedListedListedListed
comment_on_my_submissionNot listedListedListedListed
revoke_api_keyNot listedListedListedListed
upload_imageNot listedNot listedListedListed
upload_image_from_urlNot listedNot listedListedListed
propose_from_wikidataNot listedListedListedListed
propose_wikidata_correctionNot listedNot listedListedListed
propose_wikidata_changesNot listedNot listedListedListed
get_reconcileNot listedNot listedListedListed
list_articlesNot listedNot listedListedListed
get_articleNot listedNot listedListedListed
get_article_historyNot listedNot listedListedListed
draft_articleNot listedNot listedListedListed
update_article_draftNot listedNot listedListedListed
link_article_entriesNot listedNot listedListedListed
set_article_heroNot listedNot listedListedListed
108 moreNot listedNot listedNot listedListed

Some tools on this page mention tools a registered key is not listed. They are documented, for the accounts that can use them, in the console’s API docs:

  • media_catalog: Image catalog. Needs manage_media.
  • list_applications: The applications queue. Needs review_new_entries.

Dry runs, confirm and proposing#

Every tool that changes something does nothing by default. Called as it is, it runs with dry_run: true: it reads the entry as it is now and answers with what it would change, the exact request it would send, and whether your account may make it. To make the change, call it again with dry_run: false.

A change that destroys something or affects the whole site also needs confirm, set to the exact target the dry run names (an entry’s VHID, say), so it is never made by accident.

To change an entry without it going live, propose it: the propose_* tools send it to a reviewer, as a suggestion on the site does, and nothing changes until a person approves it. Sending the same proposal again answers with the one already waiting. Each tool that edits live names the tool that proposes the same change instead.

In your browser (WebMCP)#

WebMCP is how an AI agent that runs in your own browser, beside the page you are on, uses the site. There is no address to connect to and no key: the site’s pages offer the agent tools, and each tool runs in the page.

On every page, five tools read the public record, and can do nothing a signed-out visitor could not:

  • search_entries, get_entry and get_entry_history: the same as the tools of the same names with no key.
  • get_current_entry: the entry the page shows, on an entry page.
  • open_entry_page: opens an entry’s page, on this site only.

On an entry page, while you are signed in, two more. Neither saves anything:

  • start_entry_edit: puts the agent’s change into the editor as your draft of the entry. It is sent only when you press Save or Propose edit yourself, and it never replaces a draft you already have.
  • propose_entry_change: shows you the change and asks. Only your own click on Send proposal sends it, as a proposal to a reviewer, as a suggestion on the site does; Cancel sends nothing. The reviewer sees that an AI agent helped you prepare it.

The console offers an agent no tools, by design.

Turning it on. WebMCP is new, and not every browser has it yet. This site takes part in the origin trials Chrome and Edge run for it, so in a version their trials cover, the tools are there with nothing to set up. Otherwise, in Chrome 149 or later, open chrome://flags/#enable-webmcp-testing, set it to Enabled and restart Chrome (or start Chrome with --enable-features=WebMCP). Your browser also needs an agent that calls the tools, such as Chrome’s Model Context Tool Inspector extension.

Trying a real change#

To see what dry_run: false does before you do it here, use the staging site, vh-test.cloud.jhaworth.ai. It is a copy of this site that runs the next version of the code, and its MCP server is at https://vh-test.cloud.jhaworth.ai/mcp. Its data is copied from this site and never back: nothing written there reaches this site, and all of it is replaced the next time staging is copied again.

Make a key there: sign in on the staging site (it has its own sign-in, where you can also make a new account), choose Console in the menu, then Account, then Manage API keys. Or connect your client to https://vh-test.cloud.jhaworth.ai/mcp/account to sign in with no key to copy. A key made there works only there, and only until the next copy. A new account starts as a registered one, as it does here, so the changes it can make for real are proposals and reports, not live edits.

Here, try a change as a proposal first: a propose_* tool called with dry_run: false sends it to a reviewer and changes nothing until a person approves it.

Resources and prompts#

Besides tools, a client can read an entry by its address, with no tool call, and offer you ready-made prompts. Both work with no key; the one prompt that needs a tool is offered only where that tool is listed.

ResourceWhat it is
vh://entry/{entry}An entry’s public record as JSON (as get_entry gives it with no key): its title, description, handles, images and address. {entry} is its VHID or short name.
vh://entry/{entry}/historyAn entry’s public edit history as JSON, the newest 100 changes (get_entry_history pages further). {entry} is its VHID or short name.
PromptWhat it doesNo key
find_entryFind an entry: Find the Verified Handles entry for a person, organisation or thing, and give its verified handles.Listed
check_entry_handlesCheck an entry’s handles: Read an entry and check its handles: each one’s platform and value, anything that looks malformed, duplicated or out of date, and what to do about it.Listed
propose_what_wikidata_saysPropose what Wikidata says for an entry: Compare an entry with its Wikidata item and propose, for a reviewer, the handles and fields Wikidata has that the entry lacks. Needs an API key that may propose.Not listed

Rate limits#

Messages with no key are limited to 60 a minute from one IP address, shared by everyone calling from it, as everyone using an agent hosted on someone else’s servers is (a claude.ai connector calls from Anthropic’s). With a key, or connected with your account, the limit is 120 a minute for each key, wherever its messages come from. Each tool call is also counted by the request it makes, as any request to the site is: a read in the JSON reads’ limit (120 a minute), a change in the limits on changes, per address, per account and per key. Past a limit, the answer is 429 Too Many Requests with a Retry-After header: wait that many seconds, then go on.

Errors#

Before any tool runs, the request itself can be refused, with a status and a JSON body:

CodeStatusWhat it means
api_key_required401An Authorization header that is not an API key (Basic, say), or no key while the site has switched keyless access off. Send a key, or send no Authorization header at all.
sign_in_required401No key or token at /mcp/account, which always asks for one. An OAuth client signs in from here by itself: the WWW-Authenticate header says where. With no key at /mcp, a tool that needs an account answers it as a tool error instead, with the same kind of header in its _meta["mcp/www_authenticate"].
invalid_token401An app’s access token that is unknown, has run out (refresh it: it lasts an hour), or is for the other address (error_description says which). Also a key, when it is malformed or wrong.
invalid_api_key401The key is malformed or unknown, or its secret is wrong. Never read as no key: fix the key, or leave the header out.
api_key_revoked401The key has been revoked, or the app disconnected.
api_key_expired401The key has expired. Make a new one. (For an app: its connection has ended, so connect it again.)
api_key_not_permitted401The key’s holder may no longer use keys (blocked, or the permission was taken away).
api_keys_disabled401The site is accepting no keys at the moment.
method_not_allowed405A GET or DELETE: the server is stateless, with no stream or session. POST each message.

A tool that cannot do what was asked answers with isError: true and JSON saying why, its error one of these:

ErrorWhat it means
Tool … not foundA JSON-RPC error: the tool is not listed to this caller (no key, a read-only key, or a role without it). Call tools/list.
not_foundNo public entry answers to that VHID, short name or QID.
ambiguous_qidMore than one entry is linked to that Wikidata item; entries lists them. Name one by its VHID.
confirm_requiredA destructive or site-wide change was sent without confirm set to its exact target, which this answer names. Nothing was written.
nothing_to_changeThe change would leave things as they are. Nothing was written.
{ status, error }The site’s own answer to the request the tool made, passed on: a 403 when this account may not, a 409 conflict, and so on (the codes on /developers#errors).
tool_failedSomething went wrong on our side. It has been logged; try again later.

Versions and changes#

The server gives its version in serverInfo.version when an agent connects: 1.92.0 now. We only add within a major version; a change that would break a working client comes with a new one.

1.92.0 ·
  • update_entry_handles and propose_entry_change take first: the handles to move to the front of an entry’s list, in that order, each by its value (a masked email by its ref), the others keeping their order after them, so a reorder no longer needs the whole list. It can go with add and remove (add_handles and remove_handles on a proposal), which it is applied after. A handle in first the entry does not have is refused (handle_not_found), as is one named twice (handle_repeated), and first with handle_order (first_or_handle_order). update_entry_handles sends the list whole with first, on the revision it read, so a save in between is refused as a conflict. Dry run by default, audited as every edit.
1.91.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.90.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.89.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.88.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.87.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.86.0 ·
  • update_entry_fields, propose_entry_change, update_entries and propose_entry_changes take bio: on an entry with no Wikidata item, a person’s date of birth (and optionally birth name and place of birth), each with the address of a source that states it; null removes it. The dry run shows it as it would be stored (changes.bio), or refuses it (invalid_bio with field and problem; bio_from_wikidata on an entry with an item). get_entry’s editing context carries vh_bio and entity_type.
1.85.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.84.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.83.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.82.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.81.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.80.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.79.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.78.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.77.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.76.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.75.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.74.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.73.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.72.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.71.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.70.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.69.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.68.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.67.0 ·
  • A new entry kind, software (“software”, a brand): a program, an application, a framework or a library, which the sync gives an entry whose item is one (free software, software, application software, a spreadsheet, an image or video editor, a digital audio workstation, a web framework…). Every answer’s entity_kind may carry it. An item that is “application software” was a website and is now software. A mobile app is still a website, and so is an item that states a software class beside a mobile app, a web application, a website or an online service (Spotify, GitHub, Telegram).
  • Two kinds take more classes: sports_organization an American football team, a men’s national association football team and a professional or American football league (the NFL); broadcaster a specialty channel (E!, Hallmark Channel). Their entries’ entity_kind follows on the sync’s next read.
1.66.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.65.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.64.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.63.0 ·
  • A new entry kind, show (“show”, a brand): a television or web series, a programme or a podcast, which the sync gives an entry whose item is one. Every answer’s entity_kind may carry it. A podcast network is still a broadcaster.
1.62.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.61.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.60.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.59.1 ·
  • The server’s instructions, its serverInfo.description, the server card’s and the MCP Registry listing’s description and the AI catalogue’s queries now say “official social media accounts”, not “verified social handles”: most entries carry no badge, and “Verified” is the badge’s word. No tool changed.
1.59.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.58.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.57.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.56.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.55.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.54.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.53.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.52.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.51.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.50.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.49.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.48.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.47.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.46.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.45.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.44.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.43.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.42.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.41.0 ·
  • get_entry’s editing.image carries license_name: an upload’s licence by name, or a Commons file’s as the sync read it from the file page (“CC BY 3.0”). license stays an upload’s licence id, null for every Commons file; the licence was in image_rights.license_name all along.
  • update_entry_fields names set_wikidata_ownership (relinquish_fields) as the way to hand a field back to the Wikidata sync.
1.40.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.39.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.38.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.37.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.36.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.35.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.34.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.33.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.32.0 ·
  • propose_from_wikidata: copying an item’s handles, a handle the entry already has is now found by the key the site stores (letter case folded as the site folds it), so one that differs only by a letter whose case the site and a client fold differently (İx and ix on X) is no longer proposed again, a proposal the save refused whole. Its dry run’s item.handles carries each handle’s value_norm, as GET /api/wikidata/items/{qid} now does, beside the entry’s own in GET /api/editor/{vhid}.
1.31.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.30.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.29.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.28.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.27.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.26.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.25.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.24.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.23.1 ·
  • propose_new_entry’s dry run asks the site to check the proposal without queueing it (POST /api/entity?check=1), so refused_because now names what the real run would be refused for that the tool could not see before: a short name that is the address of a site redirect (short_is_redirect), a deleted entry or a merged-away item, or one of the site’s moderation checks.
1.23.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.22.0 ·
  • find_by_handle, a public read that needs no key: which public entries list a handle — “is x.com/someone an official account, and whose?”. Give a profile’s address as url (https://x.com/someone, read as the editor reads a pasted one), or platform and value (twitter, someone or @someone). It answers each entry’s VHID, title and URL, the handle as the entry lists it and whether that handle is verified, verified first; an empty list when no entry lists it. Case is ignored where the platform ignores it; email addresses are not looked up. It is GET /api/v1/handles.
1.21.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.20.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.19.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.18.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.17.0 ·
  • The tools that write through the entry routes — update_entry_fields, update_entry_handles, set_entry_image, set_entry_gallery, set_wikidata_ownership, update_entries, propose_entry_change, propose_entry_changes, propose_entry_revert, propose_from_wikidata and propose_new_entry — take an optional idempotency_key (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling the tool again with the same key and the same change within 24 hours answers the first call’s result, marked replayed: true, and writes nothing; the same key with another change is refused (422 idempotency_key_reused), and while the first call is still running, 409 idempotency_key_in_progress. A dry run shows the header in would_send. A tool that re-reads the entry before writing still matches its first call: the base revision is not part of what is compared. update_entries’ confirm digest still names the request’s base revisions: give each edit its base_revision_id from the dry run, and a retry sends the same request.
1.16.0 ·
  • update_entry_handles, update_entries, propose_entry_change and propose_entry_changes send the handles you add and remove as ops (add_handles / remove_handles), no longer the entry’s whole list: the server applies them to the list as it is when the edit is saved, or when the proposal is approved, so nothing is read first, an edit of handles alone carries no base revision, and two edits adding different handles never undo each other. An add of a handle the entry has, or a remove of one it has not, is no longer refused before sending: it changes nothing, and the route’s answer says so (handle_ops: added, removed, already_present, not_present; an edit of nothing else answers 400 no_changes). The dry runs show the ops in would_send and list in changes which would change nothing now (already_listed, not_listed). update_entry_handles’ remove takes an email this key may not see by its ref, and its base_revision_id is no longer sent. propose_entry_change with handle_order still sends the whole list, which an order is of.
1.15.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.14.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.13.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.12.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.11.0 ·
  • Many entries at once. get_entries reads up to 50 entries’ public records in one call (by VHID or short name, with or without a key), each as get_entry reads it signed out, or not_found. update_entries makes live edits to up to 25 entries in one request (each edit the text fields and handles update_entry_fields and update_entry_handles take), and propose_entry_changes files proposals for up to 25 (as propose_entry_change). Each edit is judged as it would be alone, entry by entry; by default each stands alone, and with atomic: true any refused edit means none is made. Both are dry runs by default, listing what would change entry by entry (may_edit_live, may_propose); a real run of update_entries needs confirm set to the batch digest its dry run names, which pins the exact request.
1.10.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.9.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.8.0 ·
  • Every read tool’s outputSchema now names its fields, from the documented answer of the route behind it: each field’s type and description. Still loose: an object may carry fields its schema does not name. A tool whose answer takes one of two shapes (a list or one item, such as list_my_submissions) names every field of each, optional unless both always carry it. No tool’s arguments or answers changed.
1.7.0 ·
  • ChatGPT can link your account on /mcp: every tool is listed with OpenAI’s securitySchemes (on the tool and in its _meta): noauth and oauth2 (scope mcp) for the three reads that need no key, oauth2 for every other tool. With no key, a call of a tool that needs an account answers a tool error, sign_in_required, whose _meta["mcp/www_authenticate"] is the Bearer challenge for /mcp; it was Tool … not found. What /mcp lists with no key is unchanged, and so is everything with a key or a token.
1.6.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.5.0 ·
  • Structured answers: every tool is listed with an outputSchema, and every answer that is not an error carries its JSON as structuredContent too, beside the text block (unchanged, for older clients). get_entry, search_entries and get_entry_history describe their fields, as the public API documents them; the other reads answer an object, and every write the shared envelope (a dry run’s dry_run, would_send, note, and confirm, may_edit_live or refused_because where they apply; a real run’s, the route’s answer). An object may carry fields its schema does not name. /developers/mcp shows each tool’s output schema beside its input one.
1.4.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.3.0 ·
  • Sign in with OAuth: a second address, /mcp/account, is the same server for an app you connect to your account. With no token it answers 401 with WWW-Authenticate: Bearer resource_metadata="…", so an OAuth client (Claude, Claude Code, VS Code, ChatGPT) signs you in by itself; you choose its role ceiling, read only and how long. /mcp is unchanged, and its 401s now name where to sign in too.
1.2.0 ·
  • Changes to tools for site staff; nothing changes for public or registered keys.
1.1.0 ·
  • No key needed to read: with no Authorization header, /mcp answers with the read tools a signed-out visitor can use (get_entry, search_entries, get_entry_history), in a rate limit of its own.
  • Tools say more about themselves: a title on every tool, and destructiveHint false on the tools that only add (the propose_* tools, report_entry, comments, notes), idempotentHint where a repeat changes nothing, openWorldHint on those that reach Wikidata, Commons or the web.
  • Resources and prompts: an entry and its history as vh://entry/{entry} and vh://entry/{entry}/history; the prompts find_entry and check_entry_handles for everyone, and propose_what_wikidata_says for a key that may propose.
  • serverInfo.version is this version (it was the build’s git commit, which is now in serverInfo.description), and tools.listChanged is no longer advertised: the server is stateless and sends no notifications.
1.0.0 ·
  • The first release: an API key opens it, and the tools listed are the ones the key may use. Every write tool is a dry run unless told otherwise.

Tool reference

MCP tools#

The tools a registered account’s key is listed, in the order tools/list gives them; those marked “No key needed” are listed with no key too. A tool that changes something writes nothing unless it is called with dry_run: false; one marked “Needs confirm” also needs confirm, set to the exact target its dry run names.

Get an entry#

get_entry

  • Reads only
  • No key needed

One entry, by VHID, short name or Wikidata QID: its public record (title, description, handles, image, URL) and, as editing, what the editor would load for this key — the current revision, the editable fields, every handle with who manages it (the Wikidata sync or the site), which fields the sync manages, and whether this key may edit it live. Without an API key, the public record alone.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • include_platformsbooleanoptional#

    Also list every platform a handle can be on (id, name, URL prefix). Needs an API key.

    default false

Answer

One entry: its public record and, with an API key, what the editor would load for it.

  • vhidstring#

    The entry’s VHID: 11 digits, permanent.

    pattern ^\d{11}$

  • entryobjectnullable#

    The entry’s public record, as GET /api/v1/entities/{vhid} answers it. Null for a VHID that is not public (a deleted entry): editing says more.

    The 21 fields of it
    • vhidstring#

      The entry’s VHID: 11 digits, permanent.

      pattern ^\d{11}$

    • shortstringnullable#

      The entry’s short name (/<short>), if it has one.

    • titlestring#
    • subtitlestringnullable#
    • entity_typestringnullable#

      What it is, from its Wikidata item: person, organization or brand; null when unknown. entity_kind says more.

    • entity_kindstringnullable#

      The finer kind of thing it is, from its Wikidata item’s classes; null when unknown (an organisation or a brand not yet read since kinds were added reads null until the sync next reads its item). Each kind belongs to one entity_type, and person, organization and brand are also the kinds of an entry of that type with no finer one. The kinds, with their type: person (person: person), musical_group (organization: musical group), sports_organization (organization: sports organisation), broadcaster (organization: broadcaster), publisher (organization: publisher), educational_institution (organization: educational institution), research_organization (organization: research organisation), religious_organization (organization: religious organisation), museum (organization: museum), financial_institution (organization: financial institution), chain (organization: retail or hospitality chain), nonprofit (organization: charity or non-profit), company (organization: company), organization (organization: organisation), show (brand: show), website (brand: website or app), software (brand: software), brand (brand: brand). New kinds may be added; treat an unknown value as its entity_type.

      One of "person", "musical_group", "sports_organization", "broadcaster", "publisher", "educational_institution", "research_organization", "religious_organization", "museum", "financial_institution", "chain", "nonprofit", "company", "organization", "show", "website", "software", "brand".

    • verifiedboolean#

      Verified Handles has verified the entry.

    • claimedboolean#

      The person or organisation the entry is about has claimed it. Never who.

    • revstring#

      The version of the entry this body was made from: a later change’s is a larger number. A stamp (GET /api/v1/stamps) that differs means the entry has changed. To read an entry past every cache (after your own change, say), ask ?v=<rev> with the rev your change returned.

      pattern ^\d+$

    • propose_policystring#

      Who may propose a change to the entry, as its page says: registered, any signed-in account; trusted or admin, only accounts with that role, and the page says why; closed, nobody, and the entry cannot be claimed. Whether this account may edit it live is the edit context’s (GET /api/v1/entities/{vhid}/edit-context). A body cached before this field was added may lack it until the entry next changes.

      One of "registered", "trusted", "admin", "closed".

    • descriptionstringnullable#

      The description as sanitised HTML, links to other entries named as they are today.

    • description_sourceobjectnullable#

      The English Wikipedia page an entry’s description was taken from: an article, or a draft (draft: true).

      The 6 fields of it
      • kindstring#

        The source’s kind (wikipedia).

      • titlestring#

        The page’s title, underscored (Draft: first for a draft).

      • urlstring#

        The page.

      • adaptedbooleanoptional#

        Present and true when the text has been edited on the site since.

      • revisionintegeroptional#

        The page’s revision the text was taken from: its permalink is https://en.wikipedia.org/w/index.php?title=<title>&oldid=<revision>. Absent on a credit from before revisions were kept.

      • draftbooleanoptional#

        Present and true when the page is an English Wikipedia draft (the Draft namespace), not yet an article.

        Always true.

    • description_licensestringnullable#

      The description’s licence, as an SPDX id: CC-BY-SA-4.0 when it was taken from Wikipedia (description_source is set), which means crediting the article and sharing alike. Null otherwise: the description is CC0 like the rest of the text.

      Always "CC-BY-SA-4.0".

    • urlstring#

      The entry’s canonical page.

    • imagestringnullable#

      The lead image (the same as images[0].url), or null.

    • thumbstringnullable#

      The lead image at the width a list row draws it (100 CSS pixels), as a path on the site: the width the image is really served at (200 for a Commons picture), never one that redirects. Null when there is no image.

    • thumb_platestringnullable#

      The plate thumb is drawn on (the lead image’s plate), and always null when thumb is. light or dark: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. none: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do.

      One of "light", "dark", "none".

    • image_rightsobjectnullable#

      The lead image’s rights, or null when there is no image.

      The 8 fields of it
      • sourcestring#

        Where the image came from.

        One of "wikimedia_commons", "upload".

      • licensestringnullable#

        An upload’s licence, by id. Null for a Commons image (see license_name) or when none was recorded.

        One of "cc0-1.0", "public-domain", "cc-by-4.0", "cc-by-sa-4.0", "supplied", "permission", "none".

      • license_namestringnullable#

        The licence’s name, e.g. "CC BY-SA 4.0". Null until it is known.

      • license_urlstringnullable#

        The licence’s text.

      • freely_licensedbooleannullable#

        May be reused under a free licence. Null when no licence is recorded.

      • creditstringnullable#

        The credit line to show when reusing the image.

      • source_pagestringnullable#

        The image’s Wikimedia Commons file page, which states its licence and author.

      • details_urlstring#

        The entry’s "About this image" page.

    • imagesarray of object#

      Every image the entry shows, the lead first. Empty when it shows none.

      The 9 fields of each item
      • urlstring#

        The image, as a path on this site (/img/w/480q75/<id>).

      • mainboolean#

        True for the lead image, false for the gallery images after it.

      • image_rightsobject#

        Who owns an image and how it may be reused. An entry’s text is CC0 (bar a description taken from Wikipedia); its images are licensed separately, by their owners.

        The 8 fields of it
        • sourcestring#

          Where the image came from.

          One of "wikimedia_commons", "upload".

        • licensestringnullable#

          An upload’s licence, by id. Null for a Commons image (see license_name) or when none was recorded.

          One of "cc0-1.0", "public-domain", "cc-by-4.0", "cc-by-sa-4.0", "supplied", "permission", "none".

        • license_namestringnullable#

          The licence’s name, e.g. "CC BY-SA 4.0". Null until it is known.

        • license_urlstringnullable#

          The licence’s text.

        • freely_licensedbooleannullable#

          May be reused under a free licence. Null when no licence is recorded.

        • creditstringnullable#

          The credit line to show when reusing the image.

        • source_pagestringnullable#

          The image’s Wikimedia Commons file page, which states its licence and author.

        • details_urlstring#

          The entry’s "About this image" page.

      • linkstringnullable#

        Where the image links on the entry page instead of opening the full-screen viewer, or null.

      • zoom_urlstringnullable#

        The full-screen viewer’s picture, 1600 pixels wide at most, as a path on this site (/img/w/1600q75/<id>): what to load when the viewer opens. Null when the image has a link, which opens instead.

      • zoom_max_urlstringnullable#

        The widest picture this site serves of the image, no wider than the original, as a path on this site: what to load once the viewer is zoomed past twice the screen. Null when there is none wider than zoom_url (always for a Wikimedia Commons image), or when zoom_url is null.

      • widthintegernullable#

        The original’s width in pixels, or null when it is not known.

        at least 1

      • heightintegernullable#

        The original’s height in pixels, or null when it is not known.

        at least 1

      • platestringnullable#

        The plate the image is drawn on, as the entry page draws it. light or dark: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. none: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do.

        One of "light", "dark", "none".

    • handlesarray of object#
      The 9 fields of each item
      • platformstring#

        The platform’s id (twitter, instagram, wikidata, …).

      • namestring#

        The platform’s display name.

      • categorystring#

        How the entry page groups it.

        One of "social", "messaging", "website", "identifier".

      • valuestringnullable#

        The handle as stored (a username, an id, a URL). Null for an email address, which is never published as data.

      • displaystringnullable#

        The label the entry page shows instead of the value, if an editor set one. Null for email.

      • urlstringnullable#

        The profile’s address, built from the platform’s URL pattern. Null for email.

      • verifiedboolean#

        Verified Handles has checked that this account belongs to the entry.

      • checkedobjectoptional#

        What Verified Handles’ own handle checker found when it last looked at this account, from the platform’s official API: only on YouTube (channel and handle), Deezer and GitHub, and only for a look at most 7 days old. Absent otherwise. The entry page shows it only for dead (“Not found when checked …”) and renamed.

        The 3 fields of it
        • verdictstring#

          live: the profile was there. dead: the platform did not find it. renamed: it answers under another name. unknown: the platform gave no answer a rule could read.

          One of "live", "dead", "renamed", "unknown".

        • atstring#

          When it looked (ISO 8601, UTC).

        • nowstringoptional#

          For renamed, the name it answers to now, when the platform gave one. A YouTube handle’s is lowercase.

      • shown_firstboolean#

        The entry page shows it before anyone opens anything: true for the accounts above a long list’s “Show N more accounts”, false for the ones folded under it, for the external identifiers (listed under their own closed heading, unless the entry has nothing else), and for an account the page does not draw.

    • merged_intostringoptional#

      Present when the key asked for named an entry that was merged into this one: this entry’s VHID.

      pattern ^\d{11}$

  • editingobject (any keys)optional#

    With an API key: what the editor loads for this key (GET /api/editor/{vhid}): baseRevisionId, capabilities (whether it may edit live or propose), editable, handles, provenance (which fields the Wikidata sync manages), qid, and platforms with include_platforms. Where the key may not open the editor, the route’s status and error. Absent with no key.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "include_platforms": {
      "default": false,
      "description": "Also list every platform a handle can be on (id, name, URL prefix). Needs an API key.",
      "type": "boolean"
    }
  },
  "required": [
    "entry"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "vhid": {
      "type": "string",
      "pattern": "^\\d{11}$",
      "description": "The entry’s VHID: 11 digits, permanent."
    },
    "entry": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "vhid": {
              "type": "string",
              "pattern": "^\\d{11}$",
              "description": "The entry’s VHID: 11 digits, permanent."
            },
            "short": {
              "description": "The entry’s short name (`/<short>`), if it has one.",
              "type": [
                "string",
                "null"
              ]
            },
            "title": {
              "type": "string"
            },
            "subtitle": {
              "type": [
                "string",
                "null"
              ]
            },
            "entity_type": {
              "description": "What it is, from its Wikidata item: `person`, `organization` or `brand`; null when unknown. `entity_kind` says more.",
              "type": [
                "string",
                "null"
              ]
            },
            "entity_kind": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "person",
                    "musical_group",
                    "sports_organization",
                    "broadcaster",
                    "publisher",
                    "educational_institution",
                    "research_organization",
                    "religious_organization",
                    "museum",
                    "financial_institution",
                    "chain",
                    "nonprofit",
                    "company",
                    "organization",
                    "show",
                    "website",
                    "software",
                    "brand"
                  ]
                },
                {
                  "type": "null"
                }
              ],
              "description": "The finer kind of thing it is, from its Wikidata item’s classes; null when unknown (an organisation or a brand not yet read since kinds were added reads null until the sync next reads its item). Each kind belongs to one `entity_type`, and `person`, `organization` and `brand` are also the kinds of an entry of that type with no finer one. The kinds, with their type: `person` (person: person), `musical_group` (organization: musical group), `sports_organization` (organization: sports organisation), `broadcaster` (organization: broadcaster), `publisher` (organization: publisher), `educational_institution` (organization: educational institution), `research_organization` (organization: research organisation), `religious_organization` (organization: religious organisation), `museum` (organization: museum), `financial_institution` (organization: financial institution), `chain` (organization: retail or hospitality chain), `nonprofit` (organization: charity or non-profit), `company` (organization: company), `organization` (organization: organisation), `show` (brand: show), `website` (brand: website or app), `software` (brand: software), `brand` (brand: brand). New kinds may be added; treat an unknown value as its `entity_type`."
            },
            "verified": {
              "type": "boolean",
              "description": "Verified Handles has verified the entry."
            },
            "claimed": {
              "type": "boolean",
              "description": "The person or organisation the entry is about has claimed it. Never who."
            },
            "rev": {
              "type": "string",
              "pattern": "^\\d+$",
              "description": "The version of the entry this body was made from: a later change’s is a larger number. A stamp (`GET /api/v1/stamps`) that differs means the entry has changed. To read an entry past every cache (after your own change, say), ask `?v=<rev>` with the rev your change returned."
            },
            "propose_policy": {
              "type": "string",
              "enum": [
                "registered",
                "trusted",
                "admin",
                "closed"
              ],
              "description": "Who may propose a change to the entry, as its page says: `registered`, any signed-in account; `trusted` or `admin`, only accounts with that role, and the page says why; `closed`, nobody, and the entry cannot be claimed. Whether this account may edit it live is the edit context’s (`GET /api/v1/entities/{vhid}/edit-context`). A body cached before this field was added may lack it until the entry next changes."
            },
            "description": {
              "description": "The description as sanitised HTML, links to other entries named as they are today.",
              "type": [
                "string",
                "null"
              ]
            },
            "description_source": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "description": "The source’s kind (`wikipedia`)."
                    },
                    "title": {
                      "type": "string",
                      "description": "The page’s title, underscored (`Draft:` first for a draft)."
                    },
                    "url": {
                      "type": "string",
                      "description": "The page."
                    },
                    "adapted": {
                      "description": "Present and true when the text has been edited on the site since.",
                      "type": "boolean"
                    },
                    "revision": {
                      "description": "The page’s revision the text was taken from: its permalink is `https://en.wikipedia.org/w/index.php?title=<title>&oldid=<revision>`. Absent on a credit from before revisions were kept.",
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "draft": {
                      "description": "Present and true when the page is an English Wikipedia draft (the Draft namespace), not yet an article.",
                      "type": "boolean",
                      "const": true
                    }
                  },
                  "required": [
                    "kind",
                    "title",
                    "url"
                  ],
                  "additionalProperties": {},
                  "description": "The English Wikipedia page an entry’s description was taken from: an article, or a draft (`draft: true`)."
                },
                {
                  "type": "null"
                }
              ]
            },
            "description_license": {
              "anyOf": [
                {
                  "type": "string",
                  "const": "CC-BY-SA-4.0"
                },
                {
                  "type": "null"
                }
              ],
              "description": "The description’s licence, as an SPDX id: `CC-BY-SA-4.0` when it was taken from Wikipedia (`description_source` is set), which means crediting the article and sharing alike. Null otherwise: the description is CC0 like the rest of the text."
            },
            "url": {
              "type": "string",
              "description": "The entry’s canonical page."
            },
            "image": {
              "description": "The lead image (the same as `images[0].url`), or null.",
              "type": [
                "string",
                "null"
              ]
            },
            "thumb": {
              "description": "The lead image at the width a list row draws it (100 CSS pixels), as a path on the site: the width the image is really served at (200 for a Commons picture), never one that redirects. Null when there is no image.",
              "type": [
                "string",
                "null"
              ]
            },
            "thumb_plate": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "light",
                    "dark",
                    "none"
                  ]
                },
                {
                  "type": "null"
                }
              ],
              "description": "The plate `thumb` is drawn on (the lead image’s `plate`), and always null when `thumb` is. `light` or `dark`: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. `none`: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do."
            },
            "image_rights": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "source": {
                      "type": "string",
                      "enum": [
                        "wikimedia_commons",
                        "upload"
                      ],
                      "description": "Where the image came from."
                    },
                    "license": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "cc0-1.0",
                            "public-domain",
                            "cc-by-4.0",
                            "cc-by-sa-4.0",
                            "supplied",
                            "permission",
                            "none"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "An upload’s licence, by id. Null for a Commons image (see `license_name`) or when none was recorded."
                    },
                    "license_name": {
                      "description": "The licence’s name, e.g. \"CC BY-SA 4.0\". Null until it is known.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "license_url": {
                      "description": "The licence’s text.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "freely_licensed": {
                      "description": "May be reused under a free licence. Null when no licence is recorded.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "credit": {
                      "description": "The credit line to show when reusing the image.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "source_page": {
                      "description": "The image’s Wikimedia Commons file page, which states its licence and author.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "details_url": {
                      "type": "string",
                      "description": "The entry’s \"About this image\" page."
                    }
                  },
                  "required": [
                    "source",
                    "license",
                    "license_name",
                    "license_url",
                    "freely_licensed",
                    "credit",
                    "source_page",
                    "details_url"
                  ],
                  "additionalProperties": {},
                  "description": "Who owns an image and how it may be reused. An entry’s text is CC0 (bar a description taken from Wikipedia); its images are licensed separately, by their owners."
                },
                {
                  "type": "null"
                }
              ],
              "description": "The lead image’s rights, or null when there is no image."
            },
            "images": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The image, as a path on this site (`/img/w/480q75/<id>`)."
                  },
                  "main": {
                    "type": "boolean",
                    "description": "True for the lead image, false for the gallery images after it."
                  },
                  "image_rights": {
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string",
                        "enum": [
                          "wikimedia_commons",
                          "upload"
                        ],
                        "description": "Where the image came from."
                      },
                      "license": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "cc0-1.0",
                              "public-domain",
                              "cc-by-4.0",
                              "cc-by-sa-4.0",
                              "supplied",
                              "permission",
                              "none"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "An upload’s licence, by id. Null for a Commons image (see `license_name`) or when none was recorded."
                      },
                      "license_name": {
                        "description": "The licence’s name, e.g. \"CC BY-SA 4.0\". Null until it is known.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "license_url": {
                        "description": "The licence’s text.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "freely_licensed": {
                        "description": "May be reused under a free licence. Null when no licence is recorded.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "credit": {
                        "description": "The credit line to show when reusing the image.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "source_page": {
                        "description": "The image’s Wikimedia Commons file page, which states its licence and author.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "details_url": {
                        "type": "string",
                        "description": "The entry’s \"About this image\" page."
                      }
                    },
                    "required": [
                      "source",
                      "license",
                      "license_name",
                      "license_url",
                      "freely_licensed",
                      "credit",
                      "source_page",
                      "details_url"
                    ],
                    "additionalProperties": {},
                    "description": "Who owns an image and how it may be reused. An entry’s text is CC0 (bar a description taken from Wikipedia); its images are licensed separately, by their owners."
                  },
                  "link": {
                    "description": "Where the image links on the entry page instead of opening the full-screen viewer, or null.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "zoom_url": {
                    "description": "The full-screen viewer’s picture, 1600 pixels wide at most, as a path on this site (`/img/w/1600q75/<id>`): what to load when the viewer opens. Null when the image has a `link`, which opens instead.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "zoom_max_url": {
                    "description": "The widest picture this site serves of the image, no wider than the original, as a path on this site: what to load once the viewer is zoomed past twice the screen. Null when there is none wider than `zoom_url` (always for a Wikimedia Commons image), or when `zoom_url` is null.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "width": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The original’s width in pixels, or null when it is not known."
                  },
                  "height": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The original’s height in pixels, or null when it is not known."
                  },
                  "plate": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "light",
                          "dark",
                          "none"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The plate the image is drawn on, as the entry page draws it. `light` or `dark`: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. `none`: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do."
                  }
                },
                "required": [
                  "url",
                  "main",
                  "image_rights",
                  "link",
                  "zoom_url",
                  "zoom_max_url",
                  "width",
                  "height",
                  "plate"
                ],
                "additionalProperties": {},
                "description": "One image an entry shows."
              },
              "description": "Every image the entry shows, the lead first. Empty when it shows none."
            },
            "handles": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "description": "The platform’s id (`twitter`, `instagram`, `wikidata`, …)."
                  },
                  "name": {
                    "type": "string",
                    "description": "The platform’s display name."
                  },
                  "category": {
                    "type": "string",
                    "enum": [
                      "social",
                      "messaging",
                      "website",
                      "identifier"
                    ],
                    "description": "How the entry page groups it."
                  },
                  "value": {
                    "description": "The handle as stored (a username, an id, a URL). Null for an email address, which is never published as data.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "display": {
                    "description": "The label the entry page shows instead of the value, if an editor set one. Null for email.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "description": "The profile’s address, built from the platform’s URL pattern. Null for email.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "verified": {
                    "type": "boolean",
                    "description": "Verified Handles has checked that this account belongs to the entry."
                  },
                  "checked": {
                    "description": "What Verified Handles’ own handle checker found when it last looked at this account, from the platform’s official API: only on YouTube (channel and handle), Deezer and GitHub, and only for a look at most 7 days old. Absent otherwise. The entry page shows it only for `dead` (“Not found when checked …”) and `renamed`.",
                    "type": "object",
                    "properties": {
                      "verdict": {
                        "type": "string",
                        "enum": [
                          "live",
                          "dead",
                          "renamed",
                          "unknown"
                        ],
                        "description": "`live`: the profile was there. `dead`: the platform did not find it. `renamed`: it answers under another name. `unknown`: the platform gave no answer a rule could read."
                      },
                      "at": {
                        "type": "string",
                        "description": "When it looked (ISO 8601, UTC)."
                      },
                      "now": {
                        "description": "For `renamed`, the name it answers to now, when the platform gave one. A YouTube handle’s is lowercase.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "verdict",
                      "at"
                    ],
                    "additionalProperties": {}
                  },
                  "shown_first": {
                    "type": "boolean",
                    "description": "The entry page shows it before anyone opens anything: true for the accounts above a long list’s “Show N more accounts”, false for the ones folded under it, for the external identifiers (listed under their own closed heading, unless the entry has nothing else), and for an account the page does not draw."
                  }
                },
                "required": [
                  "platform",
                  "name",
                  "category",
                  "value",
                  "display",
                  "url",
                  "verified",
                  "shown_first"
                ],
                "additionalProperties": {},
                "description": "One account or identifier of an entry, in the order the entry page shows them. A Wikidata item linked to the entry comes last, as platform `wikidata`."
              }
            },
            "merged_into": {
              "description": "Present when the key asked for named an entry that was merged into this one: this entry’s VHID.",
              "type": "string",
              "pattern": "^\\d{11}$"
            }
          },
          "required": [
            "vhid",
            "short",
            "title",
            "subtitle",
            "entity_type",
            "entity_kind",
            "verified",
            "claimed",
            "rev",
            "propose_policy",
            "description",
            "description_source",
            "description_license",
            "url",
            "image",
            "thumb",
            "thumb_plate",
            "image_rights",
            "images",
            "handles"
          ],
          "additionalProperties": {},
          "description": "An entry: the same data its page shows, from the same code. Email addresses are masked. The text is CC0, except a description taken from Wikipedia (`description_license`)."
        },
        {
          "type": "null"
        }
      ],
      "description": "The entry’s public record, as GET /api/v1/entities/{vhid} answers it. Null for a VHID that is not public (a deleted entry): `editing` says more."
    },
    "editing": {
      "description": "With an API key: what the editor loads for this key (GET /api/editor/{vhid}): `baseRevisionId`, `capabilities` (whether it may edit live or propose), `editable`, `handles`, `provenance` (which fields the Wikidata sync manages), `qid`, and `platforms` with include_platforms. Where the key may not open the editor, the route’s `status` and `error`. Absent with no key.",
      "type": "object",
      "properties": {},
      "additionalProperties": {}
    }
  },
  "required": [
    "vhid",
    "entry"
  ],
  "additionalProperties": {},
  "description": "One entry: its public record and, with an API key, what the editor would load for it."
}

Search entries#

search_entries

  • Reads only
  • No key needed

Search the entries as the site search does: words match titles, subtitles and descriptions; a Wikidata QID finds the entries linked to it; a VHID finds that entry and the entries that link to it.

Arguments

  • querystring#

    1–100 characters

  • limitintegeroptional#

    1–50 · default 20

  • offsetintegeroptional#

    0–10,000 · default 0

Answer

  • querystring#

    The query as it was read: trimmed and cut to 100 characters.

  • totalinteger#

    How many entries matched in all.

    at least 0

  • limitintegeroptional#

    The page size used: the limit asked for, clamped to the endpoint’s range.

    at least 1

  • offsetintegeroptional#

    The offset used: the offset asked for, clamped to 0–10,000.

    0–10,000

  • next_offsetintegernullableoptional#

    The offset of the next page, or null when this is the last one. Follow it rather than computing it.

    at least 1

  • resultsarray of object#

    Best match first.

    The 12 fields of each item
    • vhidstring#

      The entry’s VHID: 11 digits, permanent.

      pattern ^\d{11}$

    • shortstringnullable#

      The entry’s short name (/<short>), if it has one.

    • titlestring#
    • subtitlestringnullable#
    • verifiedboolean#
    • claimedboolean#

      The person or organisation the entry is about has claimed it. Never who.

    • entity_kindstringnullable#

      The finer kind of thing it is, from its Wikidata item’s classes; null when unknown (an organisation or a brand not yet read since kinds were added reads null until the sync next reads its item). Each kind belongs to one entity_type, and person, organization and brand are also the kinds of an entry of that type with no finer one. The kinds, with their type: person (person: person), musical_group (organization: musical group), sports_organization (organization: sports organisation), broadcaster (organization: broadcaster), publisher (organization: publisher), educational_institution (organization: educational institution), research_organization (organization: research organisation), religious_organization (organization: religious organisation), museum (organization: museum), financial_institution (organization: financial institution), chain (organization: retail or hospitality chain), nonprofit (organization: charity or non-profit), company (organization: company), organization (organization: organisation), show (brand: show), website (brand: website or app), software (brand: software), brand (brand: brand). New kinds may be added; treat an unknown value as its entity_type.

      One of "person", "musical_group", "sports_organization", "broadcaster", "publisher", "educational_institution", "research_organization", "religious_organization", "museum", "financial_institution", "chain", "nonprofit", "company", "organization", "show", "website", "software", "brand".

    • thumbstringnullable#

      The lead image at the width a list row draws it (100 CSS pixels), as a path on the site: the width the image is really served at (200 for a Commons picture), never one that redirects. Null when there is no image.

    • thumb_platestringnullable#

      The plate thumb is drawn on (the lead image’s plate), and always null when thumb is. light or dark: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. none: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do.

      One of "light", "dark", "none".

    • snippetstringnullable#

      Plain text from the description around the words that matched, or null when the match was not in it.

    • highlightedboolean#

      snippet is a real excerpt (true), or there is none (false).

    • urlstring#

      The entry’s page.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "limit": {
      "default": 20,
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "offset": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 10000
    }
  },
  "required": [
    "query"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "The query as it was read: trimmed and cut to 100 characters."
    },
    "total": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "How many entries matched in all."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991,
      "description": "The page size used: the `limit` asked for, clamped to the endpoint’s range."
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000,
      "description": "The offset used: the `offset` asked for, clamped to 0–10,000."
    },
    "next_offset": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ],
      "description": "The `offset` of the next page, or null when this is the last one. Follow it rather than computing it."
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "vhid": {
            "type": "string",
            "pattern": "^\\d{11}$",
            "description": "The entry’s VHID: 11 digits, permanent."
          },
          "short": {
            "description": "The entry’s short name (`/<short>`), if it has one.",
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "subtitle": {
            "type": [
              "string",
              "null"
            ]
          },
          "verified": {
            "type": "boolean"
          },
          "claimed": {
            "type": "boolean",
            "description": "The person or organisation the entry is about has claimed it. Never who."
          },
          "entity_kind": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "person",
                  "musical_group",
                  "sports_organization",
                  "broadcaster",
                  "publisher",
                  "educational_institution",
                  "research_organization",
                  "religious_organization",
                  "museum",
                  "financial_institution",
                  "chain",
                  "nonprofit",
                  "company",
                  "organization",
                  "show",
                  "website",
                  "software",
                  "brand"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "The finer kind of thing it is, from its Wikidata item’s classes; null when unknown (an organisation or a brand not yet read since kinds were added reads null until the sync next reads its item). Each kind belongs to one `entity_type`, and `person`, `organization` and `brand` are also the kinds of an entry of that type with no finer one. The kinds, with their type: `person` (person: person), `musical_group` (organization: musical group), `sports_organization` (organization: sports organisation), `broadcaster` (organization: broadcaster), `publisher` (organization: publisher), `educational_institution` (organization: educational institution), `research_organization` (organization: research organisation), `religious_organization` (organization: religious organisation), `museum` (organization: museum), `financial_institution` (organization: financial institution), `chain` (organization: retail or hospitality chain), `nonprofit` (organization: charity or non-profit), `company` (organization: company), `organization` (organization: organisation), `show` (brand: show), `website` (brand: website or app), `software` (brand: software), `brand` (brand: brand). New kinds may be added; treat an unknown value as its `entity_type`."
          },
          "thumb": {
            "description": "The lead image at the width a list row draws it (100 CSS pixels), as a path on the site: the width the image is really served at (200 for a Commons picture), never one that redirects. Null when there is no image.",
            "type": [
              "string",
              "null"
            ]
          },
          "thumb_plate": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "light",
                  "dark",
                  "none"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "The plate `thumb` is drawn on (the lead image’s `plate`), and always null when `thumb` is. `light` or `dark`: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. `none`: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do."
          },
          "snippet": {
            "description": "Plain text from the description around the words that matched, or null when the match was not in it.",
            "type": [
              "string",
              "null"
            ]
          },
          "highlighted": {
            "type": "boolean",
            "description": "`snippet` is a real excerpt (true), or there is none (false)."
          },
          "url": {
            "type": "string",
            "description": "The entry’s page."
          }
        },
        "required": [
          "vhid",
          "short",
          "title",
          "subtitle",
          "verified",
          "claimed",
          "entity_kind",
          "thumb",
          "thumb_plate",
          "snippet",
          "highlighted",
          "url"
        ],
        "additionalProperties": {},
        "description": "One entry that matched."
      },
      "description": "Best match first."
    }
  },
  "required": [
    "query",
    "total",
    "results"
  ],
  "additionalProperties": {}
}

Find entries by handle#

find_by_handle

  • Reads only
  • No key needed

Which public entries list a handle: “is x.com/someone an official account, and whose?”. Give a profile’s address as url (https://x.com/someone), or platform (its catalog id: twitter, instagram, youtube, …) and value (someone or @someone). Answers each entry’s VHID, title and URL, the handle as the entry lists it, and whether that handle is verified; an empty list when no entry lists it. Case is ignored where the platform ignores it. Email addresses are not looked up.

Arguments

  • urlstringoptional#

    A profile’s address, such as https://x.com/someone. Instead of platform and value.

    1–1000 characters

  • platformstringoptional#

    The platform’s catalog id, such as twitter. With value.

    1–100 characters

  • valuestringoptional#

    The handle on that platform, such as someone or @someone.

    1–1000 characters

Answer

The public entries that list a handle.

  • platformstring#

    The platform looked on: the one asked, or the one whose address url is.

  • valuestring#

    The handle looked up, as the site stores one: from url, what follows the platform’s address.

  • resultsarray of object#

    Verified handles first, then by VHID; at most 50. Empty when no public entry lists it.

    The 5 fields of each item
    • vhidstring#

      The entry’s VHID.

    • titlestring#

      The entry’s title.

    • urlstring#

      The entry’s page.

    • valuestring#

      The handle as the entry lists it: on a platform that ignores case, its case may differ from the value asked.

    • verifiedboolean#

      Whether the handle itself is verified on this entry (not the entry’s own badge).

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "url": {
      "description": "A profile’s address, such as https://x.com/someone. Instead of platform and value.",
      "type": "string",
      "minLength": 1,
      "maxLength": 1000
    },
    "platform": {
      "description": "The platform’s catalog id, such as twitter. With value.",
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "value": {
      "description": "The handle on that platform, such as someone or @someone.",
      "type": "string",
      "minLength": 1,
      "maxLength": 1000
    }
  }
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "platform": {
      "type": "string",
      "description": "The platform looked on: the one asked, or the one whose address `url` is."
    },
    "value": {
      "type": "string",
      "description": "The handle looked up, as the site stores one: from `url`, what follows the platform’s address."
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "vhid": {
            "type": "string",
            "description": "The entry’s VHID."
          },
          "title": {
            "type": "string",
            "description": "The entry’s title."
          },
          "url": {
            "type": "string",
            "description": "The entry’s page."
          },
          "value": {
            "type": "string",
            "description": "The handle as the entry lists it: on a platform that ignores case, its case may differ from the value asked."
          },
          "verified": {
            "type": "boolean",
            "description": "Whether the handle itself is verified on this entry (not the entry’s own badge)."
          }
        },
        "required": [
          "vhid",
          "title",
          "url",
          "value",
          "verified"
        ],
        "additionalProperties": {},
        "description": "An entry that lists the handle."
      },
      "description": "Verified handles first, then by VHID; at most 50. Empty when no public entry lists it."
    }
  },
  "required": [
    "platform",
    "value",
    "results"
  ],
  "additionalProperties": {},
  "description": "The public entries that list a handle."
}

Entry history#

get_entry_history

  • Reads only
  • No key needed

An entry’s public edit history, newest first (next_offset pages on). A merged entry’s key gives its own history.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • limitintegeroptional#

    1–200 · default 50

  • offsetintegeroptional#

    0–10,000 · default 0

Answer

A page of an entry’s public revision history, newest first.

  • vhidstring#

    The entry’s VHID: 11 digits, permanent.

    pattern ^\d{11}$

  • merged_intostringoptional#

    Present when the entry was merged into another: that entry’s VHID. The history is still the merged entry’s own.

    pattern ^\d{11}$

  • limitinteger#

    The page size used: the limit asked for, clamped to the endpoint’s range.

    at least 1

  • offsetinteger#

    The offset used: the offset asked for, clamped to 0–10,000.

    0–10,000

  • next_offsetintegernullable#

    The offset of the next page, or null when this is the last one. Follow it rather than computing it.

    at least 1

  • historyarray of object#

    Newest first.

    The 12 fields of each item
    • ref_idstring#

      The revision’s id: a<n> for the history kept from the old wiki, r<n> for an edit made since.

      pattern ^[ar]\d+$

    • kindstring#

      archive: from the old wiki. forward: made on Verified Handles.

      One of "archive", "forward".

    • tsstringnullable#

      When it was made.

      pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ · date-time

    • actorstringnullable#

      Who made it, as they chose to be named in public; null when they keep their name private.

    • summarystringnullable#

      The edit summary.

    • is_botbooleannullable#

      Made by an automated process: the Wikidata sync, an import, or an account an administrator has marked as automation (a script or agent). A legacy (archive) revision keeps the old wiki’s own flag.

    • sourcestring#

      How the edit was made.

      One of "import", "mediawiki", "sync", "admin", "trusted", "submission", "claim".

    • hiddenboolean#

      Always false here: a hidden revision is never in the public history.

      Always false.

    • deletedboolean#

      Always false here: a deleted revision is never in the public history.

      Always false.

    • proposerstringnullable#

      For an approved proposal, who proposed it, as they chose to be named; null otherwise.

    • actor_idstringnullable#

      An opaque id for this person, the same wherever they are named, for blocking; null whenever their name isn’t shown to you. Not an account id and can’t be turned into one; may change if the site’s keys are rotated.

    • proposer_idstringnullable#

      An opaque id for this person, the same wherever they are named, for blocking; null whenever their name isn’t shown to you. Not an account id and can’t be turned into one; may change if the site’s keys are rotated.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "limit": {
      "default": 50,
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "offset": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 10000
    }
  },
  "required": [
    "entry"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "vhid": {
      "type": "string",
      "pattern": "^\\d{11}$",
      "description": "The entry’s VHID: 11 digits, permanent."
    },
    "merged_into": {
      "description": "Present when the entry was merged into another: that entry’s VHID. The history is still the merged entry’s own.",
      "type": "string",
      "pattern": "^\\d{11}$"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991,
      "description": "The page size used: the `limit` asked for, clamped to the endpoint’s range."
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000,
      "description": "The offset used: the `offset` asked for, clamped to 0–10,000."
    },
    "next_offset": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ],
      "description": "The `offset` of the next page, or null when this is the last one. Follow it rather than computing it."
    },
    "history": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ref_id": {
            "type": "string",
            "pattern": "^[ar]\\d+$",
            "description": "The revision’s id: `a<n>` for the history kept from the old wiki, `r<n>` for an edit made since."
          },
          "kind": {
            "type": "string",
            "enum": [
              "archive",
              "forward"
            ],
            "description": "`archive`: from the old wiki. `forward`: made on Verified Handles."
          },
          "ts": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ],
            "description": "When it was made."
          },
          "actor": {
            "description": "Who made it, as they chose to be named in public; null when they keep their name private.",
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "description": "The edit summary.",
            "type": [
              "string",
              "null"
            ]
          },
          "is_bot": {
            "description": "Made by an automated process: the Wikidata sync, an import, or an account an administrator has marked as automation (a script or agent). A legacy (archive) revision keeps the old wiki’s own flag.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "source": {
            "type": "string",
            "enum": [
              "import",
              "mediawiki",
              "sync",
              "admin",
              "trusted",
              "submission",
              "claim"
            ],
            "description": "How the edit was made."
          },
          "hidden": {
            "type": "boolean",
            "const": false,
            "description": "Always false here: a hidden revision is never in the public history."
          },
          "deleted": {
            "type": "boolean",
            "const": false,
            "description": "Always false here: a deleted revision is never in the public history."
          },
          "proposer": {
            "description": "For an approved proposal, who proposed it, as they chose to be named; null otherwise.",
            "type": [
              "string",
              "null"
            ]
          },
          "actor_id": {
            "description": "An opaque id for this person, the same wherever they are named, for blocking; null whenever their name isn’t shown to you. Not an account id and can’t be turned into one; may change if the site’s keys are rotated.",
            "type": [
              "string",
              "null"
            ]
          },
          "proposer_id": {
            "description": "An opaque id for this person, the same wherever they are named, for blocking; null whenever their name isn’t shown to you. Not an account id and can’t be turned into one; may change if the site’s keys are rotated.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "ref_id",
          "kind",
          "ts",
          "actor",
          "summary",
          "is_bot",
          "source",
          "hidden",
          "deleted",
          "proposer",
          "actor_id",
          "proposer_id"
        ],
        "additionalProperties": {},
        "description": "One revision in an entry’s public history."
      },
      "description": "Newest first."
    }
  },
  "required": [
    "vhid",
    "limit",
    "offset",
    "next_offset",
    "history"
  ],
  "additionalProperties": {},
  "description": "A page of an entry’s public revision history, newest first."
}

Get many entries#

get_entries

  • Reads only
  • No key needed

Up to 50 entries’ public records in one call, by VHID or short name (not a Wikidata QID: get_entry or search_entries finds an entry by its item), each answered as get_entry answers it signed out — the entry, or not_found — in the order given. A name given twice is answered once.

Arguments

  • entriesarray of string#

    The entries: each a VHID (11 digits) or a short name.

Answer

Many entries at once: each key’s answer, in request order.

  • resultsarray of one of#

    One element per key asked for, in the order asked, a repeated key once (where it first appears).

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entries": {
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 255,
        "allOf": [
          {
            "pattern": "^(?!\\.{1,2}$)"
          },
          {
            "pattern": "^[^,]*$"
          }
        ]
      },
      "description": "The entries: each a VHID (11 digits) or a short name."
    }
  },
  "required": [
    "entries"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "description": "The key as asked for, trimmed."
              },
              "status": {
                "type": "string",
                "const": "ok"
              },
              "entity": {
                "type": "object",
                "properties": {
                  "vhid": {
                    "type": "string",
                    "pattern": "^\\d{11}$",
                    "description": "The entry’s VHID: 11 digits, permanent."
                  },
                  "short": {
                    "description": "The entry’s short name (`/<short>`), if it has one.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "subtitle": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "entity_type": {
                    "description": "What it is, from its Wikidata item: `person`, `organization` or `brand`; null when unknown. `entity_kind` says more.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "entity_kind": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "person",
                          "musical_group",
                          "sports_organization",
                          "broadcaster",
                          "publisher",
                          "educational_institution",
                          "research_organization",
                          "religious_organization",
                          "museum",
                          "financial_institution",
                          "chain",
                          "nonprofit",
                          "company",
                          "organization",
                          "show",
                          "website",
                          "software",
                          "brand"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The finer kind of thing it is, from its Wikidata item’s classes; null when unknown (an organisation or a brand not yet read since kinds were added reads null until the sync next reads its item). Each kind belongs to one `entity_type`, and `person`, `organization` and `brand` are also the kinds of an entry of that type with no finer one. The kinds, with their type: `person` (person: person), `musical_group` (organization: musical group), `sports_organization` (organization: sports organisation), `broadcaster` (organization: broadcaster), `publisher` (organization: publisher), `educational_institution` (organization: educational institution), `research_organization` (organization: research organisation), `religious_organization` (organization: religious organisation), `museum` (organization: museum), `financial_institution` (organization: financial institution), `chain` (organization: retail or hospitality chain), `nonprofit` (organization: charity or non-profit), `company` (organization: company), `organization` (organization: organisation), `show` (brand: show), `website` (brand: website or app), `software` (brand: software), `brand` (brand: brand). New kinds may be added; treat an unknown value as its `entity_type`."
                  },
                  "verified": {
                    "type": "boolean",
                    "description": "Verified Handles has verified the entry."
                  },
                  "claimed": {
                    "type": "boolean",
                    "description": "The person or organisation the entry is about has claimed it. Never who."
                  },
                  "rev": {
                    "type": "string",
                    "pattern": "^\\d+$",
                    "description": "The version of the entry this body was made from: a later change’s is a larger number. A stamp (`GET /api/v1/stamps`) that differs means the entry has changed. To read an entry past every cache (after your own change, say), ask `?v=<rev>` with the rev your change returned."
                  },
                  "propose_policy": {
                    "type": "string",
                    "enum": [
                      "registered",
                      "trusted",
                      "admin",
                      "closed"
                    ],
                    "description": "Who may propose a change to the entry, as its page says: `registered`, any signed-in account; `trusted` or `admin`, only accounts with that role, and the page says why; `closed`, nobody, and the entry cannot be claimed. Whether this account may edit it live is the edit context’s (`GET /api/v1/entities/{vhid}/edit-context`). A body cached before this field was added may lack it until the entry next changes."
                  },
                  "description": {
                    "description": "The description as sanitised HTML, links to other entries named as they are today.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "description_source": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "description": "The source’s kind (`wikipedia`)."
                          },
                          "title": {
                            "type": "string",
                            "description": "The page’s title, underscored (`Draft:` first for a draft)."
                          },
                          "url": {
                            "type": "string",
                            "description": "The page."
                          },
                          "adapted": {
                            "description": "Present and true when the text has been edited on the site since.",
                            "type": "boolean"
                          },
                          "revision": {
                            "description": "The page’s revision the text was taken from: its permalink is `https://en.wikipedia.org/w/index.php?title=<title>&oldid=<revision>`. Absent on a credit from before revisions were kept.",
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "draft": {
                            "description": "Present and true when the page is an English Wikipedia draft (the Draft namespace), not yet an article.",
                            "type": "boolean",
                            "const": true
                          }
                        },
                        "required": [
                          "kind",
                          "title",
                          "url"
                        ],
                        "additionalProperties": {},
                        "description": "The English Wikipedia page an entry’s description was taken from: an article, or a draft (`draft: true`)."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "description_license": {
                    "anyOf": [
                      {
                        "type": "string",
                        "const": "CC-BY-SA-4.0"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The description’s licence, as an SPDX id: `CC-BY-SA-4.0` when it was taken from Wikipedia (`description_source` is set), which means crediting the article and sharing alike. Null otherwise: the description is CC0 like the rest of the text."
                  },
                  "url": {
                    "type": "string",
                    "description": "The entry’s canonical page."
                  },
                  "image": {
                    "description": "The lead image (the same as `images[0].url`), or null.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "thumb": {
                    "description": "The lead image at the width a list row draws it (100 CSS pixels), as a path on the site: the width the image is really served at (200 for a Commons picture), never one that redirects. Null when there is no image.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "thumb_plate": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "light",
                          "dark",
                          "none"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The plate `thumb` is drawn on (the lead image’s `plate`), and always null when `thumb` is. `light` or `dark`: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. `none`: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do."
                  },
                  "image_rights": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "source": {
                            "type": "string",
                            "enum": [
                              "wikimedia_commons",
                              "upload"
                            ],
                            "description": "Where the image came from."
                          },
                          "license": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "cc0-1.0",
                                  "public-domain",
                                  "cc-by-4.0",
                                  "cc-by-sa-4.0",
                                  "supplied",
                                  "permission",
                                  "none"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "An upload’s licence, by id. Null for a Commons image (see `license_name`) or when none was recorded."
                          },
                          "license_name": {
                            "description": "The licence’s name, e.g. \"CC BY-SA 4.0\". Null until it is known.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "license_url": {
                            "description": "The licence’s text.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "freely_licensed": {
                            "description": "May be reused under a free licence. Null when no licence is recorded.",
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "credit": {
                            "description": "The credit line to show when reusing the image.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source_page": {
                            "description": "The image’s Wikimedia Commons file page, which states its licence and author.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "details_url": {
                            "type": "string",
                            "description": "The entry’s \"About this image\" page."
                          }
                        },
                        "required": [
                          "source",
                          "license",
                          "license_name",
                          "license_url",
                          "freely_licensed",
                          "credit",
                          "source_page",
                          "details_url"
                        ],
                        "additionalProperties": {},
                        "description": "Who owns an image and how it may be reused. An entry’s text is CC0 (bar a description taken from Wikipedia); its images are licensed separately, by their owners."
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The lead image’s rights, or null when there is no image."
                  },
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "url": {
                          "type": "string",
                          "description": "The image, as a path on this site (`/img/w/480q75/<id>`)."
                        },
                        "main": {
                          "type": "boolean",
                          "description": "True for the lead image, false for the gallery images after it."
                        },
                        "image_rights": {
                          "type": "object",
                          "properties": {
                            "source": {
                              "type": "string",
                              "enum": [
                                "wikimedia_commons",
                                "upload"
                              ],
                              "description": "Where the image came from."
                            },
                            "license": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "cc0-1.0",
                                    "public-domain",
                                    "cc-by-4.0",
                                    "cc-by-sa-4.0",
                                    "supplied",
                                    "permission",
                                    "none"
                                  ]
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "An upload’s licence, by id. Null for a Commons image (see `license_name`) or when none was recorded."
                            },
                            "license_name": {
                              "description": "The licence’s name, e.g. \"CC BY-SA 4.0\". Null until it is known.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "license_url": {
                              "description": "The licence’s text.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "freely_licensed": {
                              "description": "May be reused under a free licence. Null when no licence is recorded.",
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "credit": {
                              "description": "The credit line to show when reusing the image.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "source_page": {
                              "description": "The image’s Wikimedia Commons file page, which states its licence and author.",
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "details_url": {
                              "type": "string",
                              "description": "The entry’s \"About this image\" page."
                            }
                          },
                          "required": [
                            "source",
                            "license",
                            "license_name",
                            "license_url",
                            "freely_licensed",
                            "credit",
                            "source_page",
                            "details_url"
                          ],
                          "additionalProperties": {},
                          "description": "Who owns an image and how it may be reused. An entry’s text is CC0 (bar a description taken from Wikipedia); its images are licensed separately, by their owners."
                        },
                        "link": {
                          "description": "Where the image links on the entry page instead of opening the full-screen viewer, or null.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "zoom_url": {
                          "description": "The full-screen viewer’s picture, 1600 pixels wide at most, as a path on this site (`/img/w/1600q75/<id>`): what to load when the viewer opens. Null when the image has a `link`, which opens instead.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "zoom_max_url": {
                          "description": "The widest picture this site serves of the image, no wider than the original, as a path on this site: what to load once the viewer is zoomed past twice the screen. Null when there is none wider than `zoom_url` (always for a Wikimedia Commons image), or when `zoom_url` is null.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "width": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The original’s width in pixels, or null when it is not known."
                        },
                        "height": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The original’s height in pixels, or null when it is not known."
                        },
                        "plate": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "light",
                                "dark",
                                "none"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The plate the image is drawn on, as the entry page draws it. `light` or `dark`: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. `none`: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do."
                        }
                      },
                      "required": [
                        "url",
                        "main",
                        "image_rights",
                        "link",
                        "zoom_url",
                        "zoom_max_url",
                        "width",
                        "height",
                        "plate"
                      ],
                      "additionalProperties": {},
                      "description": "One image an entry shows."
                    },
                    "description": "Every image the entry shows, the lead first. Empty when it shows none."
                  },
                  "handles": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "description": "The platform’s id (`twitter`, `instagram`, `wikidata`, …)."
                        },
                        "name": {
                          "type": "string",
                          "description": "The platform’s display name."
                        },
                        "category": {
                          "type": "string",
                          "enum": [
                            "social",
                            "messaging",
                            "website",
                            "identifier"
                          ],
                          "description": "How the entry page groups it."
                        },
                        "value": {
                          "description": "The handle as stored (a username, an id, a URL). Null for an email address, which is never published as data.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "display": {
                          "description": "The label the entry page shows instead of the value, if an editor set one. Null for email.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "url": {
                          "description": "The profile’s address, built from the platform’s URL pattern. Null for email.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "verified": {
                          "type": "boolean",
                          "description": "Verified Handles has checked that this account belongs to the entry."
                        },
                        "checked": {
                          "description": "What Verified Handles’ own handle checker found when it last looked at this account, from the platform’s official API: only on YouTube (channel and handle), Deezer and GitHub, and only for a look at most 7 days old. Absent otherwise. The entry page shows it only for `dead` (“Not found when checked …”) and `renamed`.",
                          "type": "object",
                          "properties": {
                            "verdict": {
                              "type": "string",
                              "enum": [
                                "live",
                                "dead",
                                "renamed",
                                "unknown"
                              ],
                              "description": "`live`: the profile was there. `dead`: the platform did not find it. `renamed`: it answers under another name. `unknown`: the platform gave no answer a rule could read."
                            },
                            "at": {
                              "type": "string",
                              "description": "When it looked (ISO 8601, UTC)."
                            },
                            "now": {
                              "description": "For `renamed`, the name it answers to now, when the platform gave one. A YouTube handle’s is lowercase.",
                              "type": "string"
                            }
                          },
                          "required": [
                            "verdict",
                            "at"
                          ],
                          "additionalProperties": {}
                        },
                        "shown_first": {
                          "type": "boolean",
                          "description": "The entry page shows it before anyone opens anything: true for the accounts above a long list’s “Show N more accounts”, false for the ones folded under it, for the external identifiers (listed under their own closed heading, unless the entry has nothing else), and for an account the page does not draw."
                        }
                      },
                      "required": [
                        "platform",
                        "name",
                        "category",
                        "value",
                        "display",
                        "url",
                        "verified",
                        "shown_first"
                      ],
                      "additionalProperties": {},
                      "description": "One account or identifier of an entry, in the order the entry page shows them. A Wikidata item linked to the entry comes last, as platform `wikidata`."
                    }
                  },
                  "merged_into": {
                    "description": "Present when the key asked for named an entry that was merged into this one: this entry’s VHID.",
                    "type": "string",
                    "pattern": "^\\d{11}$"
                  }
                },
                "required": [
                  "vhid",
                  "short",
                  "title",
                  "subtitle",
                  "entity_type",
                  "entity_kind",
                  "verified",
                  "claimed",
                  "rev",
                  "propose_policy",
                  "description",
                  "description_source",
                  "description_license",
                  "url",
                  "image",
                  "thumb",
                  "thumb_plate",
                  "image_rights",
                  "images",
                  "handles"
                ],
                "additionalProperties": {},
                "description": "Exactly what `GET /api/v1/entities/{key}` answers for this key."
              }
            },
            "required": [
              "key",
              "status",
              "entity"
            ],
            "additionalProperties": {}
          },
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "description": "The key as asked for, trimmed."
              },
              "status": {
                "type": "string",
                "const": "not_found",
                "description": "No public entry answers to the key: where the single read answers 404."
              }
            },
            "required": [
              "key",
              "status"
            ],
            "additionalProperties": {}
          }
        ],
        "description": "What one requested key answers."
      },
      "description": "One element per key asked for, in the order asked, a repeated key once (where it first appears)."
    }
  },
  "required": [
    "results"
  ],
  "additionalProperties": {},
  "description": "Many entries at once: each key’s answer, in request order."
}

Search Wikimedia Commons#

search_commons_images

  • Reads only

Search Wikimedia Commons for an image to put on an entry, as the editor’s image picker does. An exact file name finds that file first, even one uploaded minutes ago. Each hit has a token: pass it to set_entry_image as commons_token.

Arguments

  • querystring#

    2–200 characters

Answer

  • resultsarray of object#
    The 6 fields of each item
    • filenamestring#
    • widthintegernullable#
    • heightintegernullable#
    • mimestringnullable#
    • tokenstring#

      The file, signed for 30 minutes: what POST /api/media/commons and the preview take.

    • commonsPagestring#

      The file’s page on Commons, with its licence and author.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 200
    }
  },
  "required": [
    "query"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string"
          },
          "width": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "height": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "mime": {
            "type": [
              "string",
              "null"
            ]
          },
          "token": {
            "type": "string",
            "description": "The file, signed for 30 minutes: what `POST /api/media/commons` and the preview take."
          },
          "commonsPage": {
            "type": "string",
            "description": "The file’s page on Commons, with its licence and author."
          }
        },
        "required": [
          "filename",
          "width",
          "height",
          "mime",
          "token",
          "commonsPage"
        ],
        "additionalProperties": {},
        "description": "A Wikimedia Commons file a search found."
      }
    }
  },
  "required": [
    "results"
  ],
  "additionalProperties": {}
}

Edit an entry’s text#

update_entry_fields

  • Changes something
  • Dry run by default
  • Needs live-edit rights on the entry

Change an entry’s title, subtitle, description, short name or (on an entry with no Wikidata item) a person’s sourced date of birth (bio), or remove its “from Wikipedia” credit or name the Wikipedia page it came from — a live edit, as the editor saves one: a new revision, audited. Give only what changes; null clears a field. The description is HTML (sanitised on save). A field you change here is no longer managed by the Wikidata sync; to hand one back, so the next sync refreshes it from the item, use set_wikidata_ownership (relinquish_fields). Dry run by default. To ask a reviewer instead, use propose_entry_change.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • titlestringoptional#

    1–500 characters

  • subtitlestringnullableoptional#

    up to 500 characters

  • descriptionstringnullableoptional#

    up to 65536 characters

  • shortstringnullableoptional#

    The short name in the entry’s URL; null removes it (the VHID URL stays).

    up to 100 characters

  • remove_wikipedia_creditbooleanoptional#

    true: remove the “from Wikipedia” credit from the description.

  • credit_wikipedia_pagestringoptional#

    Credit the description “from Wikipedia”: an English Wikipedia article or draft, by title ("Draft:Dominic McLaughlin") or address. The server reads the page (redirects followed) and refuses it unless at least half of the description’s three-word phrases are the page’s lead (credit_text_differs, with the share).

    1–2000 characters

  • credit_let_wikidata_managebooleanoptional#

    With a draft named in credit_wikipedia_page: false keeps the description site-authored. By default a draft’s credit hands the description to the Wikidata sync, which leaves it alone until the draft is an article linked from the entry’s Wikidata item.

  • bioobjectnullableoptional#

    A person’s date of birth (and optionally birth name and place of birth), each with the address of a source that states it, on an entry with NO Wikidata item; null removes it. The page states it like an item’s facts: for a person only, and only while they are 18 or over. Refused on an entry with a QID, where only the item’s facts are said; linking an item later drops it.

    The 6 fields of it
    • birth_datestring#

      The date of birth at the precision the source gives: "2004-10-21", "2004-10" or "2004".

    • birth_date_sourcestring#

      The web address (http or https) of a source that states the date of birth.

      up to 2048 characters

    • birth_namestringoptional#

      The birth name, when the source gives one that is not the entry’s name.

      up to 120 characters

    • birth_name_sourcestringoptional#

      The address of a source that states the birth name (required with it).

      up to 2048 characters

    • birth_placestringoptional#

      The place of birth, as a reader would name it ("Austin, Texas").

      up to 200 characters

    • birth_place_sourcestringoptional#

      The address of a source that states the place of birth (required with it).

      up to 2048 characters

  • summarystringoptional#

    Why you made this edit, in a few plain words; shown in the entry’s public history. At most 200 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.

    1–200 characters

  • base_revision_idstringoptional#

    The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.

    pattern ^[0-9]+$

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "subtitle": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ]
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 65536
        },
        {
          "type": "null"
        }
      ]
    },
    "short": {
      "description": "The short name in the entry’s URL; null removes it (the VHID URL stays).",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ]
    },
    "remove_wikipedia_credit": {
      "description": "true: remove the “from Wikipedia” credit from the description.",
      "type": "boolean"
    },
    "credit_wikipedia_page": {
      "description": "Credit the description “from Wikipedia”: an English Wikipedia article or draft, by title (\"Draft:Dominic McLaughlin\") or address. The server reads the page (redirects followed) and refuses it unless at least half of the description’s three-word phrases are the page’s lead (credit_text_differs, with the share).",
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "credit_let_wikidata_manage": {
      "description": "With a draft named in credit_wikipedia_page: false keeps the description site-authored. By default a draft’s credit hands the description to the Wikidata sync, which leaves it alone until the draft is an article linked from the entry’s Wikidata item.",
      "type": "boolean"
    },
    "bio": {
      "description": "A person’s date of birth (and optionally birth name and place of birth), each with the address of a source that states it, on an entry with NO Wikidata item; null removes it. The page states it like an item’s facts: for a person only, and only while they are 18 or over. Refused on an entry with a QID, where only the item’s facts are said; linking an item later drops it.",
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "birth_date": {
              "type": "string",
              "description": "The date of birth at the precision the source gives: \"2004-10-21\", \"2004-10\" or \"2004\"."
            },
            "birth_date_source": {
              "type": "string",
              "maxLength": 2048,
              "description": "The web address (http or https) of a source that states the date of birth."
            },
            "birth_name": {
              "description": "The birth name, when the source gives one that is not the entry’s name.",
              "type": "string",
              "maxLength": 120
            },
            "birth_name_source": {
              "description": "The address of a source that states the birth name (required with it).",
              "type": "string",
              "maxLength": 2048
            },
            "birth_place": {
              "description": "The place of birth, as a reader would name it (\"Austin, Texas\").",
              "type": "string",
              "maxLength": 200
            },
            "birth_place_source": {
              "description": "The address of a source that states the place of birth (required with it).",
              "type": "string",
              "maxLength": 2048
            }
          },
          "required": [
            "birth_date",
            "birth_date_source"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "summary": {
      "description": "Why you made this edit, in a few plain words; shown in the entry’s public history. At most 200 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "base_revision_id": {
      "description": "The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.",
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "entry"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Add or remove handles#

update_entry_handles

  • Changes something
  • Dry run by default
  • Needs live-edit rights on the entry

Add handles to an entry, remove them, or move some to the front — a live edit. Only the handles named are sent (add_handles / remove_handles), and the server applies them to the entry’s list as it is when it saves: an added handle goes at the end, one the entry has already, or one to remove that it has not, changes nothing (the answer’s handle_ops says which), and nothing is read first, so a handle someone else saved meanwhile is never undone. first moves the handles it names to the front, in its order, the others keeping theirs: the tool reads the list and sends it whole, against the revision it read (a save in between is refused as a conflict; run it again), and a handle in first the entry has not is refused. A handle you remove that the Wikidata sync supplied is held back so the sync does not bring it back. Dry run by default. To ask a reviewer instead, use propose_entry_change.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • addarray of objectoptional#
    The 3 fields of each item
    • platform_idstring#

      The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

    • valuestring#

      The handle as stored, e.g. "nasa".

    • displaystringoptional#

      Text to show instead of the value.

      up to 200 characters

  • removearray of one ofoptional#

    Handles to take off, each by its value — or, for an email this key may not see, by {platform_id: "email", ref}.

  • firstarray of one ofoptional#

    Handles to move to the front, in this order, each by its value (a masked email by its ref); the others keep their order after them. Each must be one of the entry’s handles (after add / remove); the entry then keeps its own order rather than the site’s.

  • summarystringoptional#

    Why you made this edit, in a few plain words; shown in the entry’s public history. At most 200 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.

    1–200 characters

  • base_revision_idstringoptional#

    Only with first (left out: the revision the tool reads). Without it, not sent: handles are added and removed against the entry as it is when the edit is saved.

    pattern ^[0-9]+$

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "add": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform_id": {
            "type": "string",
            "minLength": 1,
            "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "description": "The handle as stored, e.g. \"nasa\"."
          },
          "display": {
            "description": "Text to show instead of the value.",
            "type": "string",
            "maxLength": 200
          }
        },
        "required": [
          "platform_id",
          "value"
        ]
      }
    },
    "remove": {
      "description": "Handles to take off, each by its value — or, for an email this key may not see, by {platform_id: \"email\", ref}.",
      "maxItems": 50,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "platform_id": {
                "type": "string",
                "minLength": 1,
                "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
              },
              "value": {
                "type": "string",
                "minLength": 1,
                "description": "The handle as stored, e.g. \"nasa\"."
              }
            },
            "required": [
              "platform_id",
              "value"
            ]
          },
          {
            "type": "object",
            "properties": {
              "platform_id": {
                "type": "string",
                "minLength": 1,
                "description": "The masked handle’s platform: \"email\"."
              },
              "ref": {
                "type": "string",
                "pattern": "^[0-9]{1,18}$",
                "description": "A masked handle’s `ref` (get_entry → editing.handles, where its value is null): it names the stored handle without its address."
              }
            },
            "required": [
              "platform_id",
              "ref"
            ]
          }
        ]
      }
    },
    "first": {
      "description": "Handles to move to the front, in this order, each by its value (a masked email by its ref); the others keep their order after them. Each must be one of the entry’s handles (after add / remove); the entry then keeps its own order rather than the site’s.",
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "platform_id": {
                "type": "string",
                "minLength": 1,
                "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
              },
              "value": {
                "type": "string",
                "minLength": 1,
                "description": "The handle as stored, e.g. \"nasa\"."
              }
            },
            "required": [
              "platform_id",
              "value"
            ]
          },
          {
            "type": "object",
            "properties": {
              "platform_id": {
                "type": "string",
                "minLength": 1,
                "description": "The masked handle’s platform: \"email\"."
              },
              "ref": {
                "type": "string",
                "pattern": "^[0-9]{1,18}$",
                "description": "A masked handle’s `ref` (get_entry → editing.handles, where its value is null): it names the stored handle without its address."
              }
            },
            "required": [
              "platform_id",
              "ref"
            ]
          }
        ]
      }
    },
    "summary": {
      "description": "Why you made this edit, in a few plain words; shown in the entry’s public history. At most 200 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "base_revision_id": {
      "description": "Only with `first` (left out: the revision the tool reads). Without it, not sent: handles are added and removed against the entry as it is when the edit is saved.",
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "entry"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Edit many entries live#

update_entries

  • Changes something
  • Dry run by default
  • Needs confirm
  • Needs live-edit rights on the entry

Live edits to up to 25 entries in one request, each as update_entry_fields and update_entry_handles make one (the text fields, handles added and removed): a new revision each, audited with one batch id. Whether this key may edit each entry live is decided entry by entry, as for one edit (the dry run’s may_edit_live). By default each edit stands alone and the answer gives each one’s outcome; with atomic: true, any refused edit means none is made. Dry run by default: it reads each entry and lists what would change. The real run needs confirm set to the batch digest the dry run names. To ask a reviewer instead, use propose_entry_changes.

Arguments

  • editsarray of object#

    The edits, each to a different entry.

    The 10 fields of each item
    • entrystring#

      The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

      1–200 characters · pattern ^(?!\.{1,2}$)

    • titlestringoptional#

      1–500 characters

    • subtitlestringnullableoptional#

      up to 500 characters

    • descriptionstringnullableoptional#

      up to 65536 characters

    • shortstringnullableoptional#

      The short name in the entry’s URL; null removes it (the VHID URL stays).

      up to 100 characters

    • remove_wikipedia_creditbooleanoptional#

      true: remove the “from Wikipedia” credit from the description.

    • bioobjectnullableoptional#

      A person’s date of birth (and optionally birth name and place of birth), each with the address of a source that states it, on an entry with NO Wikidata item; null removes it. The page states it like an item’s facts: for a person only, and only while they are 18 or over. Refused on an entry with a QID, where only the item’s facts are said; linking an item later drops it.

      The 6 fields of it
      • birth_datestring#

        The date of birth at the precision the source gives: "2004-10-21", "2004-10" or "2004".

      • birth_date_sourcestring#

        The web address (http or https) of a source that states the date of birth.

        up to 2048 characters

      • birth_namestringoptional#

        The birth name, when the source gives one that is not the entry’s name.

        up to 120 characters

      • birth_name_sourcestringoptional#

        The address of a source that states the birth name (required with it).

        up to 2048 characters

      • birth_placestringoptional#

        The place of birth, as a reader would name it ("Austin, Texas").

        up to 200 characters

      • birth_place_sourcestringoptional#

        The address of a source that states the place of birth (required with it).

        up to 2048 characters

    • add_handlesarray of objectoptional#
      The 3 fields of each item
      • platform_idstring#

        The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

      • valuestring#

        The handle as stored, e.g. "nasa".

      • displaystringoptional#

        Text to show instead of the value.

        up to 200 characters

    • remove_handlesarray of one ofoptional#

      Handles to take off, each by its value — or, for an email this key may not see, by {platform_id: "email", ref}.

    • base_revision_idstringoptional#

      The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.

      pattern ^[0-9]+$

  • atomicbooleanoptional#

    true: all or nothing — if any edit is refused, none is made (the route answers 422 naming each refused edit). false (the default): each edit on its own.

    default false

  • summarystringoptional#

    Why you made these edits, in a few plain words: each edit’s summary unless it gives its own. Shown in each entry’s public history. Never an internal tracking ID; a VHID is fine.

    1–200 characters

  • confirmstringoptional#

    Needed with dry_run: false: this change’s exact target, as the dry run gives it in confirm.

    up to 300 characters

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "edits": {
      "minItems": 1,
      "maxItems": 25,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "entry": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^(?!\\.{1,2}$)",
            "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          },
          "subtitle": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 500
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 65536
              },
              {
                "type": "null"
              }
            ]
          },
          "short": {
            "description": "The short name in the entry’s URL; null removes it (the VHID URL stays).",
            "anyOf": [
              {
                "type": "string",
                "maxLength": 100
              },
              {
                "type": "null"
              }
            ]
          },
          "remove_wikipedia_credit": {
            "description": "true: remove the “from Wikipedia” credit from the description.",
            "type": "boolean"
          },
          "bio": {
            "description": "A person’s date of birth (and optionally birth name and place of birth), each with the address of a source that states it, on an entry with NO Wikidata item; null removes it. The page states it like an item’s facts: for a person only, and only while they are 18 or over. Refused on an entry with a QID, where only the item’s facts are said; linking an item later drops it.",
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "birth_date": {
                    "type": "string",
                    "description": "The date of birth at the precision the source gives: \"2004-10-21\", \"2004-10\" or \"2004\"."
                  },
                  "birth_date_source": {
                    "type": "string",
                    "maxLength": 2048,
                    "description": "The web address (http or https) of a source that states the date of birth."
                  },
                  "birth_name": {
                    "description": "The birth name, when the source gives one that is not the entry’s name.",
                    "type": "string",
                    "maxLength": 120
                  },
                  "birth_name_source": {
                    "description": "The address of a source that states the birth name (required with it).",
                    "type": "string",
                    "maxLength": 2048
                  },
                  "birth_place": {
                    "description": "The place of birth, as a reader would name it (\"Austin, Texas\").",
                    "type": "string",
                    "maxLength": 200
                  },
                  "birth_place_source": {
                    "description": "The address of a source that states the place of birth (required with it).",
                    "type": "string",
                    "maxLength": 2048
                  }
                },
                "required": [
                  "birth_date",
                  "birth_date_source"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "add_handles": {
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "platform_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
                },
                "value": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The handle as stored, e.g. \"nasa\"."
                },
                "display": {
                  "description": "Text to show instead of the value.",
                  "type": "string",
                  "maxLength": 200
                }
              },
              "required": [
                "platform_id",
                "value"
              ]
            }
          },
          "remove_handles": {
            "description": "Handles to take off, each by its value — or, for an email this key may not see, by {platform_id: \"email\", ref}.",
            "maxItems": 50,
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "platform_id": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The handle as stored, e.g. \"nasa\"."
                    }
                  },
                  "required": [
                    "platform_id",
                    "value"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "platform_id": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The masked handle’s platform: \"email\"."
                    },
                    "ref": {
                      "type": "string",
                      "pattern": "^[0-9]{1,18}$",
                      "description": "A masked handle’s `ref` (get_entry → editing.handles, where its value is null): it names the stored handle without its address."
                    }
                  },
                  "required": [
                    "platform_id",
                    "ref"
                  ]
                }
              ]
            }
          },
          "base_revision_id": {
            "description": "The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.",
            "type": "string",
            "pattern": "^[0-9]+$"
          }
        },
        "required": [
          "entry"
        ]
      },
      "description": "The edits, each to a different entry."
    },
    "atomic": {
      "default": false,
      "description": "true: all or nothing — if any edit is refused, none is made (the route answers 422 naming each refused edit). false (the default): each edit on its own.",
      "type": "boolean"
    },
    "summary": {
      "description": "Why you made these edits, in a few plain words: each edit’s summary unless it gives its own. Shown in each entry’s public history. Never an internal tracking ID; a VHID is fine.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "confirm": {
      "description": "Needed with dry_run: false: this change’s exact target, as the dry run gives it in `confirm`.",
      "type": "string",
      "maxLength": 300
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "edits"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Propose changes to many entries#

propose_entry_changes

  • Changes something
  • Dry run by default
  • Needs propose

Proposals for up to 25 entries in one request, each as propose_entry_change files one (the text fields, handles added and removed) for a reviewer to decide; nothing changes until a person approves each. Audited, with one batch id. Proposing the same change again while it waits answers the same proposal, and a change to an entry where your own proposal is still waiting is added to that one (its result says folded: true). By default each proposal stands alone; with atomic: true, any refused one means none is filed. Dry run by default: it reads each entry and lists what would be proposed.

Arguments

  • editsarray of object#

    The proposals, each to a different entry.

    The 10 fields of each item
    • entrystring#

      The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

      1–200 characters · pattern ^(?!\.{1,2}$)

    • titlestringoptional#

      1–500 characters

    • subtitlestringnullableoptional#

      up to 500 characters

    • descriptionstringnullableoptional#

      up to 65536 characters

    • shortstringnullableoptional#

      The short name in the entry’s URL; null removes it (the VHID URL stays).

      up to 100 characters

    • remove_wikipedia_creditbooleanoptional#

      true: remove the “from Wikipedia” credit from the description.

    • bioobjectnullableoptional#

      A person’s date of birth (and optionally birth name and place of birth), each with the address of a source that states it, on an entry with NO Wikidata item; null removes it. The page states it like an item’s facts: for a person only, and only while they are 18 or over. Refused on an entry with a QID, where only the item’s facts are said; linking an item later drops it.

      The 6 fields of it
      • birth_datestring#

        The date of birth at the precision the source gives: "2004-10-21", "2004-10" or "2004".

      • birth_date_sourcestring#

        The web address (http or https) of a source that states the date of birth.

        up to 2048 characters

      • birth_namestringoptional#

        The birth name, when the source gives one that is not the entry’s name.

        up to 120 characters

      • birth_name_sourcestringoptional#

        The address of a source that states the birth name (required with it).

        up to 2048 characters

      • birth_placestringoptional#

        The place of birth, as a reader would name it ("Austin, Texas").

        up to 200 characters

      • birth_place_sourcestringoptional#

        The address of a source that states the place of birth (required with it).

        up to 2048 characters

    • add_handlesarray of objectoptional#
      The 3 fields of each item
      • platform_idstring#

        The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

      • valuestring#

        The handle as stored, e.g. "nasa".

      • displaystringoptional#

        Text to show instead of the value.

        up to 200 characters

    • remove_handlesarray of one ofoptional#

      Handles to take off, each by its value — or, for an email this key may not see, by {platform_id: "email", ref}.

    • base_revision_idstringoptional#

      The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.

      pattern ^[0-9]+$

  • atomicbooleanoptional#

    true: all or nothing — if any edit is refused, none is made (the route answers 422 naming each refused edit). false (the default): each edit on its own.

    default false

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "edits": {
      "minItems": 1,
      "maxItems": 25,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "entry": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^(?!\\.{1,2}$)",
            "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          },
          "subtitle": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 500
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 65536
              },
              {
                "type": "null"
              }
            ]
          },
          "short": {
            "description": "The short name in the entry’s URL; null removes it (the VHID URL stays).",
            "anyOf": [
              {
                "type": "string",
                "maxLength": 100
              },
              {
                "type": "null"
              }
            ]
          },
          "remove_wikipedia_credit": {
            "description": "true: remove the “from Wikipedia” credit from the description.",
            "type": "boolean"
          },
          "bio": {
            "description": "A person’s date of birth (and optionally birth name and place of birth), each with the address of a source that states it, on an entry with NO Wikidata item; null removes it. The page states it like an item’s facts: for a person only, and only while they are 18 or over. Refused on an entry with a QID, where only the item’s facts are said; linking an item later drops it.",
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "birth_date": {
                    "type": "string",
                    "description": "The date of birth at the precision the source gives: \"2004-10-21\", \"2004-10\" or \"2004\"."
                  },
                  "birth_date_source": {
                    "type": "string",
                    "maxLength": 2048,
                    "description": "The web address (http or https) of a source that states the date of birth."
                  },
                  "birth_name": {
                    "description": "The birth name, when the source gives one that is not the entry’s name.",
                    "type": "string",
                    "maxLength": 120
                  },
                  "birth_name_source": {
                    "description": "The address of a source that states the birth name (required with it).",
                    "type": "string",
                    "maxLength": 2048
                  },
                  "birth_place": {
                    "description": "The place of birth, as a reader would name it (\"Austin, Texas\").",
                    "type": "string",
                    "maxLength": 200
                  },
                  "birth_place_source": {
                    "description": "The address of a source that states the place of birth (required with it).",
                    "type": "string",
                    "maxLength": 2048
                  }
                },
                "required": [
                  "birth_date",
                  "birth_date_source"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "add_handles": {
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "platform_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
                },
                "value": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The handle as stored, e.g. \"nasa\"."
                },
                "display": {
                  "description": "Text to show instead of the value.",
                  "type": "string",
                  "maxLength": 200
                }
              },
              "required": [
                "platform_id",
                "value"
              ]
            }
          },
          "remove_handles": {
            "description": "Handles to take off, each by its value — or, for an email this key may not see, by {platform_id: \"email\", ref}.",
            "maxItems": 50,
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "platform_id": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The handle as stored, e.g. \"nasa\"."
                    }
                  },
                  "required": [
                    "platform_id",
                    "value"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "platform_id": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The masked handle’s platform: \"email\"."
                    },
                    "ref": {
                      "type": "string",
                      "pattern": "^[0-9]{1,18}$",
                      "description": "A masked handle’s `ref` (get_entry → editing.handles, where its value is null): it names the stored handle without its address."
                    }
                  },
                  "required": [
                    "platform_id",
                    "ref"
                  ]
                }
              ]
            }
          },
          "base_revision_id": {
            "description": "The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.",
            "type": "string",
            "pattern": "^[0-9]+$"
          }
        },
        "required": [
          "entry"
        ]
      },
      "description": "The proposals, each to a different entry."
    },
    "atomic": {
      "default": false,
      "description": "true: all or nothing — if any edit is refused, none is made (the route answers 422 naming each refused edit). false (the default): each edit on its own.",
      "type": "boolean"
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "edits"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Hand fields or handles to Wikidata, or take them back#

set_wikidata_ownership

  • Changes something
  • Dry run by default
  • Needs live-edit rights on the entry

Say who manages an entry’s fields and handles. relinquish_* hands them to the Wikidata sync (the next sync refreshes them, and a relinquish queues one); takeover_* takes them back, so the sync leaves them alone. release_held_handles lets the sync add back handles that were held back after a removal. A live edit, audited. Dry run by default. To ask a reviewer instead, use propose_entry_change.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • relinquish_fieldsarray of stringoptional#
  • takeover_fieldsarray of stringoptional#
  • relinquish_handlesarray of objectoptional#

    Only while Wikidata lists the value.

    The 2 fields of each item
    • platform_idstring#

      The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

    • valuestring#

      The handle as stored, e.g. "nasa".

  • takeover_handlesarray of objectoptional#
    The 2 fields of each item
    • platform_idstring#

      The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

    • valuestring#

      The handle as stored, e.g. "nasa".

  • release_held_handlesarray of objectoptional#
    The 2 fields of each item
    • platform_idstring#

      The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

    • valuestring#

      The handle as stored, e.g. "nasa".

  • summarystringoptional#

    Why you made this edit, in a few plain words; shown in the entry’s public history. At most 200 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.

    1–200 characters

  • base_revision_idstringoptional#

    The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.

    pattern ^[0-9]+$

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "relinquish_fields": {
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "title",
          "subtitle",
          "description",
          "image",
          "entity_type"
        ]
      }
    },
    "takeover_fields": {
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "title",
          "subtitle",
          "description",
          "image",
          "entity_type"
        ]
      }
    },
    "relinquish_handles": {
      "description": "Only while Wikidata lists the value.",
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform_id": {
            "type": "string",
            "minLength": 1,
            "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "description": "The handle as stored, e.g. \"nasa\"."
          }
        },
        "required": [
          "platform_id",
          "value"
        ]
      }
    },
    "takeover_handles": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform_id": {
            "type": "string",
            "minLength": 1,
            "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "description": "The handle as stored, e.g. \"nasa\"."
          }
        },
        "required": [
          "platform_id",
          "value"
        ]
      }
    },
    "release_held_handles": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform_id": {
            "type": "string",
            "minLength": 1,
            "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "description": "The handle as stored, e.g. \"nasa\"."
          }
        },
        "required": [
          "platform_id",
          "value"
        ]
      }
    },
    "summary": {
      "description": "Why you made this edit, in a few plain words; shown in the entry’s public history. At most 200 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "base_revision_id": {
      "description": "The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.",
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "entry"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Set or clear an entry’s image#

set_entry_image

  • Changes something
  • Dry run by default
  • Needs live-edit rights on the entry
  • Link images, for a link

Put an image on an entry — one already on the site (media_id, from media_catalog or get_entry) or a Wikimedia Commons file (commons_token, from search_commons_images) — or take the image off (clear: true). A new image starts with no link; link sets the address the image opens on the entry page instead of the full-screen viewer ("" clears it), which needs Link images. A live edit, audited. Setting the image yourself takes it from the Wikidata sync. Dry run by default. To ask a reviewer instead, use propose_entry_change.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • media_idstringoptional#

    pattern ^[0-9]{1,18}$

  • commons_tokenstringoptional#

    1–2000 characters

  • clearbooleanoptional#
  • linkstringoptional#

    An absolute https:// (or http://) address the image links to instead of opening the full-screen viewer; "" for no link. Needs Link images.

    up to 2048 characters

  • summarystringoptional#

    Why you made this edit, in a few plain words; shown in the entry’s public history. At most 200 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.

    1–200 characters

  • base_revision_idstringoptional#

    The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.

    pattern ^[0-9]+$

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "media_id": {
      "type": "string",
      "pattern": "^[0-9]{1,18}$"
    },
    "commons_token": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "clear": {
      "type": "boolean"
    },
    "link": {
      "description": "An absolute https:// (or http://) address the image links to instead of opening the full-screen viewer; \"\" for no link. Needs Link images.",
      "type": "string",
      "maxLength": 2048
    },
    "summary": {
      "description": "Why you made this edit, in a few plain words; shown in the entry’s public history. At most 200 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "base_revision_id": {
      "description": "The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.",
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "entry"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Set an entry’s gallery#

set_entry_gallery

  • Changes something
  • Dry run by default
  • Needs live-edit rights on the entry
  • Link images, for a link

Set the images an entry shows after its lead image: the whole ordered list of media ids (from media_catalog or get_entry), replacing the gallery; [] empties it. At most 5 (6 images in all with the lead), each once, never the lead itself (set_entry_image sets that). An image taken off loses its link; links sets or clears the link of an image in the list (needs Link images). A live edit, audited. Dry run by default. To ask a reviewer instead, use propose_entry_change.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • media_idsarray of string#
  • linksobject (any keys)optional#

    media id → the address that image links to on the entry page instead of the full-screen viewer; "" clears it. Images not named keep theirs. Needs Link images.

  • summarystringoptional#

    Why you made this edit, in a few plain words; shown in the entry’s public history. At most 200 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.

    1–200 characters

  • base_revision_idstringoptional#

    The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.

    pattern ^[0-9]+$

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "media_ids": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[0-9]{1,18}$"
      }
    },
    "links": {
      "description": "media id → the address that image links to on the entry page instead of the full-screen viewer; \"\" clears it. Images not named keep theirs. Needs Link images.",
      "type": "object",
      "propertyNames": {
        "type": "string",
        "pattern": "^[0-9]{1,18}$"
      },
      "additionalProperties": {
        "type": "string",
        "maxLength": 2048
      }
    },
    "summary": {
      "description": "Why you made this edit, in a few plain words; shown in the entry’s public history. At most 200 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "base_revision_id": {
      "description": "The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.",
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "entry",
    "media_ids"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Propose putting an entry back to an earlier revision#

propose_entry_revert

  • Changes something
  • Dry run by default
  • Needs propose

Propose, for a reviewer to decide, putting an entry back as it was at one of its revisions (get_entry_history: a ref_id like "r123"; imported legacy revisions cannot be put back). The proposal holds only what differs from now — title, subtitle, description, short name, handles and their order, lead image, gallery — as propose_entry_change would send it; who manages each value (Wikidata or the site) is left as it is. An image withdrawn since is left out, and the answer names it. Refused (nothing_to_change) when the entry already matches that revision. note tells the reviewer why. Audited. Dry run by default.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • revisionstring#

    The revision’s ref_id, e.g. "r123".

    pattern ^r[0-9]+$

  • notestringoptional#

    Why you propose this, in plain words: posted as the proposal’s first comment, which the reviewer reads with it. At most 2,000 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.

    1–2000 characters

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "revision": {
      "type": "string",
      "pattern": "^r[0-9]+$",
      "description": "The revision’s ref_id, e.g. \"r123\"."
    },
    "note": {
      "description": "Why you propose this, in plain words: posted as the proposal’s first comment, which the reviewer reads with it. At most 2,000 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.",
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "entry",
    "revision"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Propose a change to an entry#

propose_entry_change

  • Changes something
  • Dry run by default
  • Needs propose

Propose a change for a reviewer to decide — for any entry you may propose to, including ones you could edit live; nothing changes until a person approves it. Give only what changes; null clears a field. On an entry with no Wikidata item, bio proposes a person’s date of birth (and birth name and place of birth), each with its source. qid proposes linking the entry to a Wikidata item, or a different one (null: unlink it), with adopt naming the fields the item may manage (left out: the server’s default on a first link, unchanged on a re-point); only a reviewer with Manage entries may approve that. note tells the reviewer why. While your own proposal on the entry is still waiting, this change is added to it rather than filed beside it: the answer names that proposal, with folded: true. Audited. Dry run by default: it names the entries already on the item.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • titlestringoptional#

    1–500 characters

  • subtitlestringnullableoptional#

    up to 500 characters

  • descriptionstringnullableoptional#

    up to 65536 characters

  • shortstringnullableoptional#

    up to 100 characters

  • remove_wikipedia_creditbooleanoptional#

    true: remove the “from Wikipedia” credit from the description.

  • credit_wikipedia_pagestringoptional#

    Credit the description “from Wikipedia”: an English Wikipedia article or draft, by title ("Draft:Dominic McLaughlin") or address. The server reads the page (redirects followed) and refuses it unless at least half of the description’s three-word phrases are the page’s lead (credit_text_differs, with the share).

    1–2000 characters

  • credit_let_wikidata_managebooleanoptional#

    With a draft named in credit_wikipedia_page: false keeps the description site-authored. By default a draft’s credit hands the description to the Wikidata sync, which leaves it alone until the draft is an article linked from the entry’s Wikidata item.

  • bioobjectnullableoptional#

    A person’s date of birth (and optionally birth name and place of birth), each with the address of a source that states it, on an entry with NO Wikidata item; null removes it. The page states it like an item’s facts: for a person only, and only while they are 18 or over. Refused on an entry with a QID, where only the item’s facts are said; linking an item later drops it.

    The 6 fields of it
    • birth_datestring#

      The date of birth at the precision the source gives: "2004-10-21", "2004-10" or "2004".

    • birth_date_sourcestring#

      The web address (http or https) of a source that states the date of birth.

      up to 2048 characters

    • birth_namestringoptional#

      The birth name, when the source gives one that is not the entry’s name.

      up to 120 characters

    • birth_name_sourcestringoptional#

      The address of a source that states the birth name (required with it).

      up to 2048 characters

    • birth_placestringoptional#

      The place of birth, as a reader would name it ("Austin, Texas").

      up to 200 characters

    • birth_place_sourcestringoptional#

      The address of a source that states the place of birth (required with it).

      up to 2048 characters

  • add_handlesarray of objectoptional#
    The 3 fields of each item
    • platform_idstring#

      The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

    • valuestring#

      The handle as stored, e.g. "nasa".

    • displaystringoptional#

      up to 200 characters

  • remove_handlesarray of one ofoptional#

    Handles to take off, each by its value — or, for an email this key may not see (value null in get_entry’s editing.handles), by {platform_id: "email", ref}.

  • handle_orderarray of one ofoptional#

    Every handle, in the order the entry should show them: exactly the entry’s handles after add_handles and remove_handles, each once (a masked email by its ref). To move a few to the front, use first instead.

  • firstarray of one ofoptional#

    Handles to move to the front, in this order, each by its value (a masked email by its ref); the others keep their order after them. Each must be one of the entry’s handles (after add / remove); the entry then keeps its own order rather than the site’s.

  • image_media_idstringoptional#

    A new lead image already on the site (media_catalog, get_entry), or one you uploaded held for this proposal (upload_image or upload_image_from_url with hold: true): only its uploader may propose a held image, and the approval releases it.

    pattern ^[0-9]{1,18}$

  • image_commons_tokenstringoptional#

    A new lead image from Wikimedia Commons: a hit’s token from search_commons_images. The file is recorded on the site first, as the editor’s picker does.

    1–2000 characters

  • clear_imagebooleanoptional#

    true: take the lead image off. At most one of image_media_id, image_commons_token and clear_image.

  • galleryarray of stringoptional#

    The images after the lead: the whole ordered list of media ids, replacing the gallery; [] empties it. At most 5, each once, never the lead.

  • relinquish_fieldsarray of stringoptional#

    Fields to hand to the Wikidata sync.

  • takeover_fieldsarray of stringoptional#

    Fields to take back from the Wikidata sync, keeping their values.

  • relinquish_handlesarray of objectoptional#

    Handles to hand to the Wikidata sync; only while Wikidata lists the value.

    The 2 fields of each item
    • platform_idstring#

      The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

    • valuestring#

      The handle as stored, e.g. "nasa".

  • takeover_handlesarray of objectoptional#

    Handles to take back from the Wikidata sync.

    The 2 fields of each item
    • platform_idstring#

      The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

    • valuestring#

      The handle as stored, e.g. "nasa".

  • release_held_handlesarray of objectoptional#

    Held-back handles the sync may add back.

    The 2 fields of each item
    • platform_idstring#

      The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

    • valuestring#

      The handle as stored, e.g. "nasa".

  • qidstringnullableoptional#

    The Wikidata item to link the entry to, e.g. "Q42" (a different one re-points it); null unlinks it.

    pattern ^[Qq][1-9][0-9]*$

  • adoptarray of stringoptional#

    With qid: the fields the item may manage; the rest are taken back by the site.

  • base_revision_idstringoptional#

    The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.

    pattern ^[0-9]+$

  • notestringoptional#

    Why you propose this, in plain words: posted as the proposal’s first comment, which the reviewer reads with it. At most 2,000 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.

    1–2000 characters

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "subtitle": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ]
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 65536
        },
        {
          "type": "null"
        }
      ]
    },
    "short": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ]
    },
    "remove_wikipedia_credit": {
      "description": "true: remove the “from Wikipedia” credit from the description.",
      "type": "boolean"
    },
    "credit_wikipedia_page": {
      "description": "Credit the description “from Wikipedia”: an English Wikipedia article or draft, by title (\"Draft:Dominic McLaughlin\") or address. The server reads the page (redirects followed) and refuses it unless at least half of the description’s three-word phrases are the page’s lead (credit_text_differs, with the share).",
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "credit_let_wikidata_manage": {
      "description": "With a draft named in credit_wikipedia_page: false keeps the description site-authored. By default a draft’s credit hands the description to the Wikidata sync, which leaves it alone until the draft is an article linked from the entry’s Wikidata item.",
      "type": "boolean"
    },
    "bio": {
      "description": "A person’s date of birth (and optionally birth name and place of birth), each with the address of a source that states it, on an entry with NO Wikidata item; null removes it. The page states it like an item’s facts: for a person only, and only while they are 18 or over. Refused on an entry with a QID, where only the item’s facts are said; linking an item later drops it.",
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "birth_date": {
              "type": "string",
              "description": "The date of birth at the precision the source gives: \"2004-10-21\", \"2004-10\" or \"2004\"."
            },
            "birth_date_source": {
              "type": "string",
              "maxLength": 2048,
              "description": "The web address (http or https) of a source that states the date of birth."
            },
            "birth_name": {
              "description": "The birth name, when the source gives one that is not the entry’s name.",
              "type": "string",
              "maxLength": 120
            },
            "birth_name_source": {
              "description": "The address of a source that states the birth name (required with it).",
              "type": "string",
              "maxLength": 2048
            },
            "birth_place": {
              "description": "The place of birth, as a reader would name it (\"Austin, Texas\").",
              "type": "string",
              "maxLength": 200
            },
            "birth_place_source": {
              "description": "The address of a source that states the place of birth (required with it).",
              "type": "string",
              "maxLength": 2048
            }
          },
          "required": [
            "birth_date",
            "birth_date_source"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "add_handles": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform_id": {
            "type": "string",
            "minLength": 1,
            "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "description": "The handle as stored, e.g. \"nasa\"."
          },
          "display": {
            "type": "string",
            "maxLength": 200
          }
        },
        "required": [
          "platform_id",
          "value"
        ]
      }
    },
    "remove_handles": {
      "description": "Handles to take off, each by its value — or, for an email this key may not see (value null in get_entry’s editing.handles), by {platform_id: \"email\", ref}.",
      "maxItems": 50,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "platform_id": {
                "type": "string",
                "minLength": 1,
                "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
              },
              "value": {
                "type": "string",
                "minLength": 1,
                "description": "The handle as stored, e.g. \"nasa\"."
              }
            },
            "required": [
              "platform_id",
              "value"
            ]
          },
          {
            "type": "object",
            "properties": {
              "platform_id": {
                "type": "string",
                "minLength": 1,
                "description": "The masked handle’s platform: \"email\"."
              },
              "ref": {
                "type": "string",
                "pattern": "^[0-9]{1,18}$",
                "description": "A masked handle’s `ref` (get_entry → editing.handles, where its value is null): it names the stored handle without its address."
              }
            },
            "required": [
              "platform_id",
              "ref"
            ]
          }
        ]
      }
    },
    "handle_order": {
      "description": "Every handle, in the order the entry should show them: exactly the entry’s handles after add_handles and remove_handles, each once (a masked email by its ref). To move a few to the front, use `first` instead.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "platform_id": {
                "type": "string",
                "minLength": 1,
                "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
              },
              "value": {
                "type": "string",
                "minLength": 1,
                "description": "The handle as stored, e.g. \"nasa\"."
              }
            },
            "required": [
              "platform_id",
              "value"
            ]
          },
          {
            "type": "object",
            "properties": {
              "platform_id": {
                "type": "string",
                "minLength": 1,
                "description": "The masked handle’s platform: \"email\"."
              },
              "ref": {
                "type": "string",
                "pattern": "^[0-9]{1,18}$",
                "description": "A masked handle’s `ref` (get_entry → editing.handles, where its value is null): it names the stored handle without its address."
              }
            },
            "required": [
              "platform_id",
              "ref"
            ]
          }
        ]
      }
    },
    "first": {
      "description": "Handles to move to the front, in this order, each by its value (a masked email by its ref); the others keep their order after them. Each must be one of the entry’s handles (after add / remove); the entry then keeps its own order rather than the site’s.",
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "platform_id": {
                "type": "string",
                "minLength": 1,
                "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
              },
              "value": {
                "type": "string",
                "minLength": 1,
                "description": "The handle as stored, e.g. \"nasa\"."
              }
            },
            "required": [
              "platform_id",
              "value"
            ]
          },
          {
            "type": "object",
            "properties": {
              "platform_id": {
                "type": "string",
                "minLength": 1,
                "description": "The masked handle’s platform: \"email\"."
              },
              "ref": {
                "type": "string",
                "pattern": "^[0-9]{1,18}$",
                "description": "A masked handle’s `ref` (get_entry → editing.handles, where its value is null): it names the stored handle without its address."
              }
            },
            "required": [
              "platform_id",
              "ref"
            ]
          }
        ]
      }
    },
    "image_media_id": {
      "description": "A new lead image already on the site (media_catalog, get_entry), or one you uploaded held for this proposal (upload_image or upload_image_from_url with hold: true): only its uploader may propose a held image, and the approval releases it.",
      "type": "string",
      "pattern": "^[0-9]{1,18}$"
    },
    "image_commons_token": {
      "description": "A new lead image from Wikimedia Commons: a hit’s `token` from search_commons_images. The file is recorded on the site first, as the editor’s picker does.",
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "clear_image": {
      "description": "true: take the lead image off. At most one of image_media_id, image_commons_token and clear_image.",
      "type": "boolean"
    },
    "gallery": {
      "description": "The images after the lead: the whole ordered list of media ids, replacing the gallery; [] empties it. At most 5, each once, never the lead.",
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[0-9]{1,18}$"
      }
    },
    "relinquish_fields": {
      "description": "Fields to hand to the Wikidata sync.",
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "title",
          "subtitle",
          "description",
          "image",
          "entity_type"
        ]
      }
    },
    "takeover_fields": {
      "description": "Fields to take back from the Wikidata sync, keeping their values.",
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "title",
          "subtitle",
          "description",
          "image",
          "entity_type"
        ]
      }
    },
    "relinquish_handles": {
      "description": "Handles to hand to the Wikidata sync; only while Wikidata lists the value.",
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform_id": {
            "type": "string",
            "minLength": 1,
            "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "description": "The handle as stored, e.g. \"nasa\"."
          }
        },
        "required": [
          "platform_id",
          "value"
        ]
      }
    },
    "takeover_handles": {
      "description": "Handles to take back from the Wikidata sync.",
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform_id": {
            "type": "string",
            "minLength": 1,
            "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "description": "The handle as stored, e.g. \"nasa\"."
          }
        },
        "required": [
          "platform_id",
          "value"
        ]
      }
    },
    "release_held_handles": {
      "description": "Held-back handles the sync may add back.",
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform_id": {
            "type": "string",
            "minLength": 1,
            "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "description": "The handle as stored, e.g. \"nasa\"."
          }
        },
        "required": [
          "platform_id",
          "value"
        ]
      }
    },
    "qid": {
      "description": "The Wikidata item to link the entry to, e.g. \"Q42\" (a different one re-points it); null unlinks it.",
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[Qq][1-9][0-9]*$"
        },
        {
          "type": "null"
        }
      ]
    },
    "adopt": {
      "description": "With qid: the fields the item may manage; the rest are taken back by the site.",
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "title",
          "subtitle",
          "description",
          "image",
          "entity_type"
        ]
      }
    },
    "base_revision_id": {
      "description": "The revision you read (get_entry → editing.baseRevisionId). If the entry has changed since, the edit is refused as a conflict. Left out, the current revision is used.",
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "note": {
      "description": "Why you propose this, in plain words: posted as the proposal’s first comment, which the reviewer reads with it. At most 2,000 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.",
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "entry"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Propose a new entry#

propose_new_entry

  • Changes something
  • Dry run by default
  • Needs propose

Propose a new entry for a reviewer to decide: it waits in Console → Applications under Quick proposals (list_applications with tab "proposals") and becomes live when approved. Refused (not_accepting) while Settings pauses new-entry requests, unless this account may create entries itself. For someone or something with no Wikidata item, leave out qid. With qid, the entry is linked to that item, and after approval Wikidata keeps up to date whatever you did not write (and any field in let_wikidata_manage). Refused, naming the entry, when one is already on the item. A merged-away QID is refused (409 qid_merged), naming the item Wikidata kept in wikidata_item: propose on that one. Sending the same proposal again within 15 minutes answers with the first one. note tells the reviewer why. Audited. Dry run by default: it names the entries already on the item, a short name already taken or held by a site redirect (short_is_redirect), and handles already on another entry. Related entries link themselves: when it is approved, this entry and the other new entries this account proposed within a day link each other both ways on the first plain-text mention of each title, so write names as plain text and file no follow-up to add links; the dry run lists them (related_entries, links_on_approval).

Arguments

  • titlestring#

    1–500 characters

  • subtitlestringoptional#

    up to 500 characters

  • descriptionstringoptional#

    HTML; it is sanitised when stored.

    up to 65536 characters

  • shortstringoptional#

    The short name, as in verifiedhandles.org/<short>. Whether it is free is checked when the proposal is approved.

    up to 100 characters

  • handlesarray of objectoptional#
    The 3 fields of each item
    • platform_idstring#

      The platform id, e.g. "twitter": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform).

    • valuestring#

      The handle as stored, e.g. "nasa".

    • displaystringoptional#

      up to 200 characters

  • qidstringoptional#

    The Wikidata item, e.g. "Q42". Leave it out for an entry with no item.

    pattern ^[Qq][1-9][0-9]*$

  • let_wikidata_managearray of stringoptional#

    With qid: fields you give that Wikidata should keep up to date after approval, as the console form does for a title it prefilled and you left as it was.

  • notestringoptional#

    Why you propose this, in plain words: posted as the proposal’s first comment, which the reviewer reads with it. At most 2,000 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.

    1–2000 characters

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "subtitle": {
      "type": "string",
      "maxLength": 500
    },
    "description": {
      "description": "HTML; it is sanitised when stored.",
      "type": "string",
      "maxLength": 65536
    },
    "short": {
      "description": "The short name, as in verifiedhandles.org/<short>. Whether it is free is checked when the proposal is approved.",
      "type": "string",
      "maxLength": 100
    },
    "handles": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform_id": {
            "type": "string",
            "minLength": 1,
            "description": "The platform id, e.g. \"twitter\": one the platform catalog has (get_entry with include_platforms lists the enabled ones; platform_catalog, every one). A new handle on an unknown or disabled platform is refused (400 invalid_platform)."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "description": "The handle as stored, e.g. \"nasa\"."
          },
          "display": {
            "type": "string",
            "maxLength": 200
          }
        },
        "required": [
          "platform_id",
          "value"
        ]
      }
    },
    "qid": {
      "description": "The Wikidata item, e.g. \"Q42\". Leave it out for an entry with no item.",
      "type": "string",
      "pattern": "^[Qq][1-9][0-9]*$"
    },
    "let_wikidata_manage": {
      "description": "With qid: fields you give that Wikidata should keep up to date after approval, as the console form does for a title it prefilled and you left as it was.",
      "maxItems": 3,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "title",
          "subtitle",
          "description"
        ]
      }
    },
    "note": {
      "description": "Why you propose this, in plain words: posted as the proposal’s first comment, which the reviewer reads with it. At most 2,000 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.",
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "title"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Report an entry#

report_entry

  • Changes something
  • Dry run by default

Report an entry to the Verified Handles team, as its page’s “Report” form does: for a person to decide: delete, merge, image rights, wrong information. Reason image names the image it is about (media_id, one of the images the entry shows) and needs a note saying who owns it and what should change. Reason image_link is about where an image links (only for an image with a link — get_entry’s images[].link); media_id names which, else the first with one, and the report keeps the link as it is now. To delete or merge an entry, report it as incorrect or other with a note naming the entry to keep. It lands in Console → Reports. Audited. Dry run by default.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • reasonstring#

    impersonation: a handle here isn’t the real account; incorrect information; outdated: a handle has changed or closed; abuse or inappropriate content; image: its rights or permission; image_link: where an image links goes somewhere wrong, misleading or harmful; other.

    One of "impersonation", "incorrect", "outdated", "abuse", "image", "image_link", "other".

  • notestringoptional#

    What is wrong, for the team (at most 1000 characters). Needed for an image report.

    up to 1000 characters

  • media_idstringoptional#

    For reason image or image_link: which of the entry’s images (the dry run lists them).

    pattern ^[0-9]{1,18}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "reason": {
      "type": "string",
      "enum": [
        "impersonation",
        "incorrect",
        "outdated",
        "abuse",
        "image",
        "image_link",
        "other"
      ],
      "description": "impersonation: a handle here isn’t the real account; incorrect information; outdated: a handle has changed or closed; abuse or inappropriate content; image: its rights or permission; image_link: where an image links goes somewhere wrong, misleading or harmful; other."
    },
    "note": {
      "description": "What is wrong, for the team (at most 1000 characters). Needed for an image report.",
      "type": "string",
      "maxLength": 1000
    },
    "media_id": {
      "description": "For reason `image` or `image_link`: which of the entry’s images (the dry run lists them).",
      "type": "string",
      "pattern": "^[0-9]{1,18}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "entry",
    "reason"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

My own submissions#

list_my_submissions

  • Reads only

This key’s own account’s submissions — proposed changes, new-entry proposals, claims, reports and applications — newest first, 25 a page: each with its status, its entry, when it was sent and decided, and the reviewer’s notes. status: open keeps the ones still waiting. With id, one submission (yours, or any a reviewer may see) with what it asks and its comment thread.

Arguments

  • statusstringoptional#

    One of "open", "all".

    default "all"

  • pageintegeroptional#

    1–10,000 · default 1

  • idstringoptional#

    One submission’s id, from this list or from the tool that sent it.

    pattern ^[0-9]{1,18}$

Answer

  • statusone of#
    One shape it may be: Shape 1

    One of "open", "all".

    One shape it may be: Shape 2

    One of "pending", "needs_info", "approved", "rejected", "merged", "spam", "superseded", "retracted", "resolved".

  • pageintegeroptional#

    at least 1

  • per_pagenumberoptional#

    Always 25.

  • totalintegeroptional#

    at least 0

  • has_nextbooleanoptional#
  • submissionsarray of objectoptional#
    The 8 fields of each item
    • idstring#

      pattern ^\d+$

    • kindstring#

      What was asked: a new entry, a change, a claim, a report or an application.

      One of "new_entity", "correction", "claim", "report", "application".

    • statusstring#

      One of "pending", "needs_info", "approved", "rejected", "merged", "spam", "superseded", "retracted", "resolved".

    • entryobjectnullable#

      The entry it is about; null for a new entry or an application.

      The 3 fields of it
      • vhidstring#
      • shortstringnullable#
      • titlestring#
    • qidstringnullable#

      The Wikidata item it names, if any.

    • created_atstring#

      pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ · date-time

    • decided_atstringnullable#

      pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ · date-time

    • review_notesstringnullable#

      What the reviewer wrote when deciding it.

  • idstringoptional#

    pattern ^\d+$

  • kindstringoptional#

    What was asked: a new entry, a change, a claim, a report or an application.

    One of "new_entity", "correction", "claim", "report", "application".

  • entryobjectnullableoptional#

    The entry it is about; null for a new entry or an application.

    The 3 fields of it
    • vhidstring#
    • shortstringnullable#
    • titlestring#
  • qidstringnullableoptional#

    The Wikidata item it names, if any.

  • created_atstringoptional#

    pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ · date-time

  • decided_atstringnullableoptional#

    pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ · date-time

  • review_notesstringnullableoptional#

    What the reviewer wrote when deciding it.

  • minebooleanoptional#

    You sent it.

  • payloadobject (any keys)optional#

    What it asks for, in its kind’s shape: for correction, new_entity and application, an EditPayload (the fields to set, and for a revert or an approval the server’s own); for report, {reason, note?, media_id?, link?}; for claim, {method}.

  • commentsarray of objectoptional#
    The 5 fields of each item
    • idstring#

      pattern ^\d+$

    • author_namestringnullable#

      The writer’s name, where you may see it.

    • author_rolestringnullable#

      reviewer for a reviewer’s comment; null for the submitter’s own.

    • bodystring#
    • created_atstring#

      pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ · date-time

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "status": {
      "default": "all",
      "type": "string",
      "enum": [
        "open",
        "all"
      ]
    },
    "page": {
      "default": 1,
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    },
    "id": {
      "description": "One submission’s id, from this list or from the tool that sent it.",
      "type": "string",
      "pattern": "^[0-9]{1,18}$"
    }
  }
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "status": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "open",
            "all"
          ]
        },
        {
          "type": "string",
          "enum": [
            "pending",
            "needs_info",
            "approved",
            "rejected",
            "merged",
            "spam",
            "superseded",
            "retracted",
            "resolved"
          ]
        }
      ]
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "per_page": {
      "type": "number",
      "const": 25
    },
    "total": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "has_next": {
      "type": "boolean"
    },
    "submissions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^\\d+$"
          },
          "kind": {
            "type": "string",
            "enum": [
              "new_entity",
              "correction",
              "claim",
              "report",
              "application"
            ],
            "description": "What was asked: a new entry, a change, a claim, a report or an application."
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "needs_info",
              "approved",
              "rejected",
              "merged",
              "spam",
              "superseded",
              "retracted",
              "resolved"
            ]
          },
          "entry": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "vhid": {
                    "type": "string"
                  },
                  "short": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "vhid",
                  "short",
                  "title"
                ],
                "additionalProperties": {}
              },
              {
                "type": "null"
              }
            ],
            "description": "The entry it is about; null for a new entry or an application."
          },
          "qid": {
            "description": "The Wikidata item it names, if any.",
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          },
          "decided_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "review_notes": {
            "description": "What the reviewer wrote when deciding it.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "status",
          "entry",
          "qid",
          "created_at",
          "decided_at",
          "review_notes"
        ],
        "additionalProperties": {},
        "description": "One thing you sent for review, as your submissions list shows it."
      }
    },
    "id": {
      "type": "string",
      "pattern": "^\\d+$"
    },
    "kind": {
      "type": "string",
      "enum": [
        "new_entity",
        "correction",
        "claim",
        "report",
        "application"
      ],
      "description": "What was asked: a new entry, a change, a claim, a report or an application."
    },
    "entry": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "vhid": {
              "type": "string"
            },
            "short": {
              "type": [
                "string",
                "null"
              ]
            },
            "title": {
              "type": "string"
            }
          },
          "required": [
            "vhid",
            "short",
            "title"
          ],
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ],
      "description": "The entry it is about; null for a new entry or an application."
    },
    "qid": {
      "description": "The Wikidata item it names, if any.",
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "decided_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
        },
        {
          "type": "null"
        }
      ]
    },
    "review_notes": {
      "description": "What the reviewer wrote when deciding it.",
      "type": [
        "string",
        "null"
      ]
    },
    "mine": {
      "type": "boolean",
      "description": "You sent it."
    },
    "payload": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {},
      "description": "What it asks for, in its kind’s shape: for `correction`, `new_entity` and `application`, an `EditPayload` (the fields to set, and for a revert or an approval the server’s own); for `report`, `{reason, note?, media_id?, link?}`; for `claim`, `{method}`."
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^\\d+$"
          },
          "author_name": {
            "description": "The writer’s name, where you may see it.",
            "type": [
              "string",
              "null"
            ]
          },
          "author_role": {
            "description": "`reviewer` for a reviewer’s comment; null for the submitter’s own.",
            "type": [
              "string",
              "null"
            ]
          },
          "body": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          }
        },
        "required": [
          "id",
          "author_name",
          "author_role",
          "body",
          "created_at"
        ],
        "additionalProperties": {}
      }
    }
  },
  "required": [
    "status"
  ],
  "additionalProperties": {}
}

Retract my own submission#

retract_my_submission

  • Changes something
  • Dry run by default

Withdraw one of this key’s own account’s submissions while it is still open (waiting for a reviewer, or for your answer): no reviewer acts on it after, and it cannot be reopened. Only your own, whatever the key’s role. Audited. Dry run by default: it says whether the submission is yours and still open.

Arguments

  • idstring#

    The submission’s id (list_my_submissions, or the tool that sent it).

    pattern ^[0-9]{1,18}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[0-9]{1,18}$",
      "description": "The submission’s id (list_my_submissions, or the tool that sent it)."
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "id"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Comment on my own submission#

comment_on_my_submission

  • Changes something
  • Dry run by default

Add a message to one of this key’s own account’s submissions (or, for a reviewer, any they may see): the reviewer reads it with the submission, and the submitter sees it on theirs. Answering a question a reviewer asked on your application sends it back to them. Audited. Dry run by default.

Arguments

  • idstring#

    The submission’s id (list_my_submissions, or the tool that sent it).

    pattern ^[0-9]{1,18}$

  • textstring#

    The message, in plain words; at most 2,000 characters.

    1–2000 characters

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[0-9]{1,18}$",
      "description": "The submission’s id (list_my_submissions, or the tool that sent it)."
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000,
      "description": "The message, in plain words; at most 2,000 characters."
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "text"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Revoke an API key#

revoke_api_key

  • Changes something
  • Dry run by default
  • Needs confirm

Revoke an API key: anything using it stops working at once, and it cannot be brought back (its owner makes a new one). One of your own account’s keys, or — with sub, and the permission to manage users — one of another account’s. The dry run lists the account’s keys (never more than a key’s public prefix) and says if it is the key this call is made with. Audited. Dry run by default; the real run needs confirm set to the key’s id.

Arguments

  • key_idstring#

    The key’s id, as the dry run lists it.

    pattern ^[0-9]{1,18}$

  • substringoptional#

    Another account’s id (sub), to revoke one of its keys. Left out: one of your own.

    1–200 characters · pattern ^(?!\.{1,2}$)

  • confirmstringoptional#

    Needed with dry_run: false: this change’s exact target, as the dry run gives it in confirm.

    up to 300 characters

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "key_id": {
      "type": "string",
      "pattern": "^[0-9]{1,18}$",
      "description": "The key’s id, as the dry run lists it."
    },
    "sub": {
      "description": "Another account’s id (`sub`), to revoke one of its keys. Left out: one of your own.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)"
    },
    "confirm": {
      "description": "Needed with dry_run: false: this change’s exact target, as the dry run gives it in `confirm`.",
      "type": "string",
      "maxLength": 300
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "key_id"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}

Propose what a Wikidata item says#

propose_from_wikidata

  • Changes something
  • Dry run by default
  • Needs propose

Propose, for a reviewer to decide, what a Wikidata item says for an entry: its identifier handles, and when asked its label (as the title), its description (as the subtitle) and its image. qid defaults to the item the entry is linked to. For that item, unless the entry is protected or claimed, it proposes handing the values to the Wikidata sync instead of copying them (the sync then writes and keeps them up to date), and says so. For another item it copies the values, which become the site’s own: the sync will not keep them up to date. Handles the entry already has (by each platform’s own rule for letter case) are left out. The entry’s description comes from Wikipedia, not from the item, so it is only ever handed to the sync. Warns when the item is another entry’s. note tells the reviewer why. Audited. Dry run by default: it shows what the item has, what the entry has, and the proposal.

Arguments

  • entrystring#

    The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42).

    1–200 characters · pattern ^(?!\.{1,2}$)

  • qidstringoptional#

    The Wikidata item, e.g. "Q42". Default: the item the entry is linked to.

    pattern ^[Qq][1-9][0-9]*$

  • takearray of stringoptional#

    What to take from the item: "handles" (the default), "title" (its label), "subtitle" (its description), "description" (only by handing it to the sync), "image".

  • notestringoptional#

    Why you propose this, in plain words: posted as the proposal’s first comment, which the reviewer reads with it. At most 2,000 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.

    1–2000 characters

  • idempotency_keystringoptional#

    Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).

    pattern ^[\x20-\x7E]{1,255}$

  • dry_runbooleanoptional#

    true (the default): write nothing — show the change and the exact request it would send. false: make the change.

    default true

Answer

A dry run (dry_run: true): what the change would be and the exact request it would send. A real run: what the route answered.

  • dry_runbooleanoptional#

    true: a dry run, which wrote nothing. Absent from a real run.

  • would_sendanyoptional#

    A dry run: the exact request the real run would send (method, path, any headers such as an Idempotency-Key, and its body, form or query), or the requests, in order.

  • noteanyoptional#

    A dry run: what to do next to make the change, in words.

  • confirmstringoptional#

    A dry run of a change that needs it: the exact target to send back as confirm with dry_run: false.

  • replayedbooleanoptional#

    A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.

    Always true.

  • may_edit_livebooleanoptional#

    A dry run of a live edit: whether this key’s account may edit this entry live.

  • refused_becausestringoptional#

    A dry run the real run would be refused for: why, in words.

  • resultanyoptional#

    A real run: the route’s own answer, where the tool adds facts of its own beside it.

Input schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^(?!\\.{1,2}$)",
      "description": "The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42)."
    },
    "qid": {
      "description": "The Wikidata item, e.g. \"Q42\". Default: the item the entry is linked to.",
      "type": "string",
      "pattern": "^[Qq][1-9][0-9]*$"
    },
    "take": {
      "description": "What to take from the item: \"handles\" (the default), \"title\" (its label), \"subtitle\" (its description), \"description\" (only by handing it to the sync), \"image\".",
      "minItems": 1,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "handles",
          "title",
          "subtitle",
          "description",
          "image"
        ]
      }
    },
    "note": {
      "description": "Why you propose this, in plain words: posted as the proposal’s first comment, which the reviewer reads with it. At most 2,000 characters. Never an internal tracking ID (a backlog or ticket number); a VHID is fine.",
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "idempotency_key": {
      "description": "Optional: a key you choose (1–255 printable ASCII, e.g. a UUID), sent as the write’s Idempotency-Key. Calling again with the same key and the same change within 24 hours answers the first call’s result (replayed: true) and writes nothing; the same key with another change is refused (422).",
      "type": "string",
      "pattern": "^[\\x20-\\x7E]{1,255}$"
    },
    "dry_run": {
      "default": true,
      "description": "true (the default): write nothing — show the change and the exact request it would send. false: make the change.",
      "type": "boolean"
    }
  },
  "required": [
    "entry"
  ]
}
Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "dry_run": {
      "description": "true: a dry run, which wrote nothing. Absent from a real run.",
      "type": "boolean"
    },
    "would_send": {
      "description": "A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order."
    },
    "note": {
      "description": "A dry run: what to do next to make the change, in words."
    },
    "confirm": {
      "description": "A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false.",
      "type": "string"
    },
    "replayed": {
      "description": "A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now.",
      "type": "boolean",
      "const": true
    },
    "may_edit_live": {
      "description": "A dry run of a live edit: whether this key’s account may edit this entry live.",
      "type": "boolean"
    },
    "refused_because": {
      "description": "A dry run the real run would be refused for: why, in words.",
      "type": "string"
    },
    "result": {
      "description": "A real run: the route’s own answer, where the tool adds facts of its own beside it."
    }
  },
  "additionalProperties": {},
  "description": "A dry run (`dry_run: true`): what the change would be and the exact request it would send. A real run: what the route answered."
}