mcp-server

v0.7.0
@dynomapper/mcp-server Checked 2 days ago Published 13 days ago

DYNO Mapper MCP Server for AI agents and Claude integrations

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_current_user

Get the authenticated user’s profile: the user the access token belongs to, and the account that user works in. This is the cheapest way to check that a token works — it reads no project and needs no id, so it is the call to make first when a request fails, to determine whether the credential or the request is at fault. `accountId` is what the rest of the tools are scoped to, because every project, keyword and report belongs to an account rather than to a user. `thirdPartyProviders` lists the external identities linked for signing in.

get_account_usage

Report the plan’s allowances for the authenticated account and how much of each is already in use, so a caller can tell whether there is room for the work before it starts writing. Four counters come back. `projects` counts projects that are pending or published; `keywords` counts tracked keywords that are active; `content` is the page-content storage the account occupies; `users` counts the owner and the invites that hold a seat. Only `content` is measured in bytes, and it uses decimal units, so a 10 GB allowance reads `10000000000`. Each counter is one of three shapes, told apart by `kind`…

get_projects

List projects. Lists the projects this account can read, one row per project, newest crawl first unless `order` says otherwise. Only published projects are listed by default: a project whose first crawl is still running does not appear here, though `get_project_details` reads it by id. Pass `filter` set to `archived` to list archived projects instead. `items` on each row is the count stored on the project, not a recount taken for this call. `limit` must be between 10 and 100, `page` is 1-based, and `total` is the number of projects matching the filters across every page. Group ids come from `g…

ParameterTypeDescription
filterstringWhich projects to list. `none` (the default) lists published projects only; `scheduled` narrows that to projects with a weekly or monthly crawl schedule; `archived` lists archived projects and nothing…
groupnumberProject group to list, using an id from `get_project_groups`. Pass -1 to list only projects that are in no group. Omit it — or send 0 — to list grouped and ungrouped projects together.
limitnumberPage size. Minimum 10, maximum 100, default 100. A value outside the range is rejected with 400.
orderstringSort order. `latest` (the default) is most recently crawled first, `oldest` the reverse of that, `title` sorts alphabetically, `items` puts the projects with the most items first, and `latest_modified…
pagenumberPage of results to return, 1-based. Defaults to 1; the page size is `limit`, so the last page is `total` divided by `limit`, rounded up.
searchstringText to match anywhere in the project title; surrounding whitespace is trimmed before the match. Omit it to list projects regardless of title.

get_project_details

Get a project. Returns one project, with the counts and flags that decide what can be done with it. Three numbers are reported: `items` is the count stored on the project, `pages` the published pages counted now, `buckets` the published containers that group pages; the stored count is not guaranteed to be the sum of the other two. A project is readable while its first crawl runs, and `crawlDate` reports its creation date until that crawl finishes. Deleted, unpublished and archived projects answer 404, and so does a project belonging to another account. Read crawl and import progress with `get_…

ParameterTypeDescription
projectId *numberID of the project, as returned by `get_projects` or by one of the `create_project_from_url`, `create_project_from_file` and `create_project_from_sharepoint` tools.

create_project_from_url

Create a project from a URL. Starts a crawl of a website and creates a project from it, returning as soon as the crawl is queued; follow progress with `get_project_url_job_status` using the returned `id`. Without `maxPages` the account’s page allowance is used, and a larger value is lowered to it; at the plan’s project allowance the call fails with “You have reached your project limit”. A crawl that signs in can stop and ask for more while it runs: answer each prompt in `loginInputs` with `submit_project_login_input`. The URL is followed through up to five redirects before the crawl st…

get_project_url_job_status

Get the status and progress of a project that is being crawled. Poll it immediately with the project id returned by `create_project_from_url` or `create_project_from_sharepoint` — the project exists while the crawl is still queued. `status` goes from `PENDING` (queued) to `RUNNING` (crawling pages, or waiting for a login input) to `PERSIST` (writing the results) to `FINISHED`; `data` is null until the crawler reports progress, then carries `pageCount`, `downloadCount` and `crawlTime` in milliseconds. Answer a paused sign-in with `get_project_login_inputs` and `submit_project_login_input`, an…

ParameterTypeDescription
id *numberID of the project whose crawl to report, as returned by `create_project_from_url` or `create_project_from_sharepoint`.

cancel_project_url_job

Cancel a queued crawl. Cancels a crawl that has not started yet and deletes the project it was creating; this is the only way to delete a project created from a URL. Only a project that is still pending can be canceled: once the crawl is running, or the project is published, the call answers 500 “Project is not in cancellable state”, the API’s way of reporting a failed precondition. An id that does not exist, or that belongs to another account, answers 500 rather than 404, and after a cancel succeeds the project no longer resolves in `get_project_details`. To stop a re-crawl of a publish…

ParameterTypeDescription
id *numberID of the project whose queued crawl to cancel, as returned by `create_project_from_url`.

refresh_project_url

Refresh a crawled project. Re-crawls a project created from a URL and merges the results into it rather than a second project; the project must already be published: a crawl still pending answers 500 “Project does not exist”. Choose what the re-crawl may change with `addNewPages`, `updateTitles`, `overwriteMetadata` and `overwriteContent`; an option left false applies none of its changes. A project that signs in needs `authOptions.inputs` on every refresh — the credentials were never stored — and omitting them answers 400 `login_inputs_required` before anything is written. Answer a pro…

ParameterTypeDescription
id *numberID of the project to refresh, as returned by `create_project_from_url`.
addNewPagesbooleanAdd pages the re-crawl finds that the project does not have yet. Defaults to false, so an omitted value only re-reads the pages already there.
authOptionsobjectCredentials for the login the project was created with. Omit it for a project that does not sign in.
overwriteContentbooleanWhether to replace existing page content with what the re-crawl downloads. Defaults to false.
overwriteMetadatabooleanWhether to replace the metadata already stored on the project’s items with what the re-crawl finds. Defaults to false, which leaves existing metadata alone.
speedstringPace of the re-crawl. `slower` throttles it, `slowest` throttles it further; omit it to crawl as fast as the crawler allows.
updateTitlesbooleanWhether to replace existing item titles with the titles the re-crawl finds. Defaults to false.

cancel_project_url_refresh

Cancel a project refresh. Cancels every queued or running refresh of a project and leaves the project and its pages as they are. Unlike the import refresh cancels this call is not idempotent: a project with nothing outstanding answers 500 “No outstanding refresh found for project ID {id}” — a failed precondition the API reports as 500 — so treat that message as “nothing to cancel” rather than retrying; an id that does not exist answers the same way as one belonging to another account. It does not stop the original crawl; use `cancel_project_url_job` for a crawl that has not started…

ParameterTypeDescription
id *numberID of the project whose outstanding refresh to cancel, as returned by `create_project_from_url`.

get_project_categories

List project categories. Returns the categories the account uses to label sitemap pages, in the order the application shows them; hidden categories are left out, so this is the set a client can actually assign. Categories are reported flat, so a nested category keeps the position it has but the nesting is not shown. An `id` here is what `get_project_sitemap_items` reports as an item’s `category`, and what `get_assignments` accepts as its `category` filter. A category with `editable: false` is shared by every account: it can be recoloured and moved, and hidden with `delete_project_category`,…

create_project_category

Ensure a category exists. Makes sure a category of this name is visible to the account and answers it; a name that already exists returns the existing category and writes nothing. Names are trimmed and compared exactly, so case matters. A new category is appended to the end of the list; one an earlier delete took out of the list comes back in the place it had. Duplicate names are allowed, so the account’s own visible category is preferred over a shared one. Read the full list with `get_project_categories`.

ParameterTypeDescription
name *stringName of the category. Trimmed; 1 to 255 characters. A category with this name is returned if it already exists.

update_project_category

Update a project category. Renames a category, sets or clears its color, or both; only the fields sent are written, and `color: null` removes the color. Renaming a shared category answers 409 because it is every other account’s category too — create one with `create_project_category` instead. Renaming does not touch the items carrying the category: they store the id and follow the new name. Sending neither field answers 400 `nothing_to_update`. Read the result with `get_project_categories`.

ParameterTypeDescription
categoryId *numberID of the category, as `get_project_categories` reports it.
colorstring | nullColor to paint the category with, as `#rrggbb`, or null to clear it. Sent alone, it recolours without touching the name.
namestringNew name for the category. Trimmed; 1 to 255 characters. Refused with 409 for a category every account shares.

delete_project_category

Remove a project category. Takes the category out of this account’s list; one the account created leaves the list, and `create_project_category` with the same name later brings it back in the place it had, while a shared category is only hidden for this account. Items keep the category value they carried, so a project filtered by the category still answers the same way; the category just stops being offered as a choice. The call is idempotent and answers the removed id. Read the remaining categories with `get_project_categories`.

ParameterTypeDescription
categoryId *numberID of the category, as `get_project_categories` reports it.

move_project_category

Move a project category. Places a category directly after `afterId` in the account’s list, or first when `afterId` is null. The list is the one `get_project_categories` returns, so a hidden category is not a position anything can be moved to. The whole list is renumbered from 1, which is what keeps “after this one” true after the next move as well. Answers the category that was moved.

ParameterTypeDescription
afterId *number | nullID of the category to place this one after. Null puts it first in the list.
categoryId *numberID of the category, as `get_project_categories` reports it.

get_project_workflow_statuses

List workflow statuses. Returns the statuses a sitemap page can be given, in the order the application offers them. The ten built-in statuses — `draft`, `publish`, `pending`, `complete`, `incomplete`, `action`, `leaveasis`, `improve`, `consolidate` and `remove` — exist for every account and are listed unless hidden, so the list can hold fewer than ten. Created statuses appear alongside them, and a nested status follows the statuses without a parent. `key` is what `get_project_sitemap_items` reports as `workflowStatus` and the value for the `workflow` filter of `get_assignments`. Built-in s…

create_project_workflow_status

Ensure a workflow status exists. Makes sure a status of this name is visible to the account and answers it; the key is derived from the name, lowercased with spaces replaced by underscores, because items store the key. A name that resolves to one of the ten built-in statuses answers that built-in and un-hides it; otherwise the account’s own visible status with that key or name is reused, then one an earlier delete took out of the list comes back in its old place, and only then is a status created. Names longer than twenty characters, and nested statuses, are keyed `wfs#<id>`; the `key` argum…

ParameterTypeDescription
name *stringName of the status. Trimmed; 1 to 255 characters. Its key is derived from it, and a status with that key or name is returned if one already exists.
parentKeyKey of the status to nest the new one under, or null for a top-level status. A key in a body is plain text, so `wfs#12` is sent as it is. A status can only be nested one level deep.

update_project_workflow_status

Update a workflow status. Renames a status the account created, sets or clears the color of any status including a built-in one, or both. Only the fields sent are written; `color: null` removes the color. Renaming does not change the key, because every item stores the key and a new one would orphan the pages carrying the status. A built-in status cannot be renamed and answers 409, though it can be recoloured; sending neither field answers 400 `nothing_to_update`. The `key` argument is the one `get_project_workflow_statuses` reports; a `#` in it is encoded as `%23`.

ParameterTypeDescription
key *stringKey of the status, exactly as `get_project_workflow_statuses` reports it. A built-in status uses a plain word such as `publish`; one the account created may be keyed `wfs#12`, which the `key` argument…
colorstring | nullColor to paint the status with, as `#rrggbb`, or null to clear it. Sent alone, it recolours without touching the name.
namestringNew name for the status, trimmed to 1 to 255 characters. Refused with 409 for a built-in status, whose key does not change.

delete_project_workflow_status

Remove a workflow status. Takes the status out of this account’s list; one the account created leaves the list, and `create_project_workflow_status` with the same name later brings it back in the place it had, while a built-in status is only hidden for this account. Items keep the `workflowStatus` they carried, so a project filtered by the status still answers the same way; nested statuses keep a parent that is no longer listed. The call is idempotent and answers the removed key. The `key` argument is the one `get_project_workflow_statuses` reports; a `#` in it is encoded as `%23`.

ParameterTypeDescription
key *stringKey of the status, exactly as `get_project_workflow_statuses` reports it. A built-in status uses a plain word such as `publish`; one the account created may be keyed `wfs#12`, which the `key` argument…

move_project_workflow_status

Move a workflow status. Reorders a status within its list, moves it under another status, or lifts it back to the top level. `parentKey` names the list to move into — omit it, or send null, for the top level — and `afterKey` the position inside it, with null meaning first. Statuses are one level deep, so nesting a status that is already nested, nesting one that has children, and naming the status as its own parent are refused. A built-in status can be reordered but not nested. Answers the status that was moved.

ParameterTypeDescription
key *stringKey of the status, exactly as `get_project_workflow_statuses` reports it. A built-in status uses a plain word such as `publish`; one the account created may be keyed `wfs#12`, which the `key` argument…
afterKeyKey of the status to place this one after, inside the list named by `parentKey`. Null puts it first in that list.
parentKeyKey of the status to move this one under, or null for the top level. A key in a body is plain text, so `wfs#12` is sent as it is. Omit it to leave the status at the top level.

get_project_sitemap_items

List sitemap items. Lists the project’s sitemap tree, one row per item, the way the application’s sitemap editor walks it. An item is either a page (`type: link`) or a container (`type: container`); `url` is the page’s address and `children` the number of published items beneath it. Send `parentId` to list one item’s subtree: the item itself comes first, followed by every published item beneath it, with `depth` counted from that item. `limit` defaults to 100 and values above 1000 are lowered to 1000; `offset` is 0-based, defaults to 0 and applies whether or not `limit` is sent. `nextOf…

ParameterTypeDescription
projectId *numberID of the project, as returned by `get_projects`.
limitintegerMaximum number of items to return. Defaults to 100; values above 1000 are lowered to 1000 rather than refused, and a value that is not a positive whole number is rejected.
maxLevelintegerHow many levels of the tree to list, counting the first row as level 1, so the deepest `depth` returned is `maxLevel - 1`. Defaults to the project’s configured maximum level (3 when the project sets…
offsetintegerNumber of items to skip, 0-based. Defaults to 0 and applies whether or not `limit` is sent; a negative or fractional value is rejected.
parentIdnumberID of the item to list from: its subtree is returned, the item itself first (`depth: 0`) when it is published. Omit it to list from the top of the sitemap. An id that is not in this project lists noth…

get_project_groups

List project groups. Returns the groups projects can be filed under, in the order the application shows them. An `id` here is what a project reports as `groupId` and what `get_projects` accepts as its `group` filter — pass -1 there to list the projects that are in no group. The listing is scoped to the caller: a user who has neither account-wide sitemap access nor group management rights sees only the groups they created and the groups holding a project they own or have been given access to, so two members of one account can get different lists. Groups that are no longer published are not re…

get_project_custom_logins

List the multi-step login definitions the account has saved, ordered by title. Each one is a recipe for signing in to a site: an `id` here is what `create_project_from_url` takes as `authOptions.id` when a crawl has to sign in, and the definition’s `inputs` are the values that call takes as `authOptions.inputs`, in the same order. Definitions the application manages itself are left out, because they are not something a user can pick or edit. Try one out with `test_project_custom_login` and read the verdict with `get_project_custom_login_test_result` before using it for a project.

test_project_custom_login

Run a saved login definition against a site with the supplied values, so a login can be checked before it is used for a project. The test is queued and this call returns its id immediately; nothing about the site or the project is changed. Poll the verdict with `get_project_custom_login_test_result` using that id. When the test passes, pass the same definition as `authOptions.id` and the same values as `authOptions.inputs` to `create_project_from_url`, which is what makes the crawl sign in. Only a multi-step login of this account can be tested: a definition that does not exist, one belonging t…

ParameterTypeDescription
id *numberID of the login definition to test, from `get_project_custom_logins`.
inputs *arrayValues for the definition’s inputs, in the same order as its `inputs` in the listing — typically the username and password. All of them are sent to the test as it runs.
httpPasswordstringPassword for HTTP basic authentication, when the login page is also behind it. Omit it when it is not.
httpUsernamestringUsername for HTTP basic authentication, when the login page is also behind it. Omit it when it is not.
urlstringLogin page to test against, for a definition that does not fix a complete URL. Omit it to use the URL stored in the definition.

get_project_custom_login_test_result

Report the outcome of a test started by `test_project_custom_login`. Poll it with the test id until `success` is true or `reason` explains the failure; a missing verdict reads as `success: false`, so a test that is still running also reads false — read `reason` before treating false as a rejection. The result is held by the crawler rather than looked up here, so an unknown test id cannot be answered with a 404: the crawler’s own answer decides what comes back, and a crawler that refuses the lookup surfaces as 500. The test changes nothing about the site or the project.

ParameterTypeDescription
id *stringTest id, as returned by `test_project_custom_login`.

create_project_from_file

Create a project from a text file or an XML sitemap, imported rather than crawled: `type: 'text'` imports a plain-text list of URLs, `type: 'xml'` an XML sitemap. The request names one source — a `fileKey` from `upload_file`, or a `url` the import service fetches — and a file is never sent with this call. Send neither, or both, and it answers 400 `invalid_file_source`; the key also has to have been uploaded for the matching purpose, or it answers `purpose_mismatch`. A project created from a `fileKey` cannot be refreshed with `refresh_project_file`, because no source URL is kept, so send a…

ParameterTypeDescription
type *stringWhich import to run: `text` for a plain-text list of URLs, `xml` for an XML sitemap.
fileKeystringKey returned by `upload_file` for a file uploaded with the matching purpose — `project_text` for `type: 'text'`, `project_xml` for `type: 'xml'`. This is the only way a file reaches this call, so up…
speedstringPace of the import. `slower` throttles it, `slowest` throttles it further; omit it to run as fast as the import service allows.
urlstringURL the import service fetches the file from. It must start with http:// or https://, and it is the source a refresh re-reads later — the only source `refresh_project_file` can use. Send it instead…

get_project_file_job_status

Report the import started by `create_project_from_file` with `type: 'text'` or `type: 'xml'`: whether it has finished, when it started and finished, how many of the listed URLs have been read, and the last URL it processed. Poll it after the create call until `finished` is true; the project is readable meanwhile with `get_project_details`. A refresh started by `refresh_project_file` reports here too, because the project’s import record is pointed at the new task. An id that is not an import project of that `type`, a deleted one, or one belonging to another account answers 500 with the reason…

ParameterTypeDescription
id *numberID of the project whose import this reports.
type *stringWhich import to report: `text` for a plain-text list of URLs, `xml` for an XML sitemap. It must match the import the project was created by, or the call answers 500.

cancel_project_file_job

Cancel the import started by `create_project_from_file` with `type: 'text'` or `type: 'xml'` and delete the project it created. The import service is told to stop, and the project is deleted at the same time, so its id stops resolving in `get_project_details` and `get_project_file_job_status` answers 500 afterwards. Unlike `cancel_project_url_job` this is not limited to the pending state: an already-published project is deleted too. Another project type, an unknown id, one belonging to another account and an already-deleted one all answer 500 with the reason instead of 404. If the import servi…

ParameterTypeDescription
id *numberID of the project to cancel and delete.
type *stringWhich import to cancel: `text` or `xml`. It must match the project’s import type, or the call answers 500.

refresh_project_file

Re-import a project created by `create_project_from_file` with `type: 'text'` or `type: 'xml'`, instead of creating a second project. Only applies to projects created from a `url`: one created from a `fileKey` keeps no source URL and answers 500, and `get_project_details` reports the same fact as `allowTextRefresh` or `allowXmlRefresh` for the matching `type`. The project must be published, and only one refresh may run at a time — a second answers 500 asking the caller to wait, so cancel the outstanding one with `cancel_project_file_refresh` first if different options are needed. The re-impo…

ParameterTypeDescription
id *numberID of the project to re-import.
type *stringWhich import to refresh: `text` or `xml`. It must match the project’s import type, or the call answers 500.
addNewPagesbooleanAdd URLs the re-import finds that the project does not have yet. Defaults to false, so omitting it only re-reads the pages already there.
speedstringPace of the re-import. `slower` throttles it, `slowest` throttles it further; omit it to run as fast as the import service allows.
updateTitlesbooleanReplace existing item titles with the titles the re-import finds. Defaults to false.

cancel_project_file_refresh

Cancel a queued or running refresh started by `refresh_project_file` with `type: 'text'` or `type: 'xml'`, and leave the project as it is. The call is idempotent: a project with no outstanding refresh still answers 200 with its id, so it is safe to call when it is not known whether one is still running. Only a project that can be refreshed at all can be canceled here — one that is not published, was created from a `fileKey`, is of another `type`, is deleted or belongs to another account all answer 500 with the reason. Re-queue the refresh with `refresh_project_file` and follow it with `get_p…

ParameterTypeDescription
id *numberID of the project whose refresh to cancel.
type *stringWhich refresh to cancel: `text` or `xml`. It must match the project’s import type, or the call answers 500.

get_project_vacq_score

Get the VACQ score of a project. Returns the VACQ score of a project that is publicly reachable: content quality, accessibility and search visibility, plus their average. A private SharePoint project has no search visibility to measure and is scored with DACQ instead — read `get_project_dacq_score` for those. The pillars are measured by other tools, so each can be missing on its own: accessibility needs a completed run of `run_accessibility_checker`, and visibility needs keywords tracked for the domain of the project, added with `create_visibility_keywords`. A pillar that has not been measur…

ParameterTypeDescription
projectId *numberID of the project, as returned by `get_projects`.

get_project_dacq_score

Get the DACQ (Discoverability, Accessibility, Content Quality) score of a private SharePoint project. DACQ replaces VACQ for projects that are not publicly reachable: with no search visibility to measure, the total is built from Discoverability, Accessibility and Content Quality instead. The average is null until all three pillars are measured; Discoverability comes from the crawl, and Accessibility needs a completed accessibility run, started with `run_accessibility_checker`. A project that is not a private SharePoint project, and a project that has not been crawled yet, answers every field a…

ParameterTypeDescription
projectId *numberID of the project, as returned by `create_project_from_url` or `create_project_from_sharepoint`.

get_project_login_inputs

List the login prompts a project’s crawl is waiting on, with the current state of each. A crawl of a site behind a login can stop and ask for a value such as an MFA code, and the work stays `RUNNING` (see `get_project_url_job_status`) while it waits; poll this tool until an item reports `ready: 1`, then send the value with `submit_project_login_input`. The list is empty for a project that does not sign in. A prompt that expired about an hour after the crawl created it reports `completed: 1` rather than disappearing, so it will never become answerable: refresh the project to request a new pro…

ParameterTypeDescription
projectId *numberID of the project whose crawl to inspect, as returned by `create_project_from_url` or `create_project_from_sharepoint`.

submit_project_login_input

Submit the value of a project’s login prompt, which releases the crawl to continue signing in. Omit `value` — the tool then sends an empty object — when the prompt already carries the value the crawl needs, such as a Microsoft Authenticator approval where the crawl reports the number to match and only waits to be told to continue; the input is marked complete and the value the crawl filled in is left as it is. Re-read `get_project_login_inputs` if the prompt has expired, or refresh the project to request a new prompt; the crawl is still waiting while `get_project_url_job_status` reports…

ParameterTypeDescription
inputId *integerPosition of the input, 0-based, as returned by `get_project_login_inputs`.
projectId *numberID of the project whose crawl is waiting, as returned by `create_project_from_url` or `create_project_from_sharepoint`.
valuestringValue to enter, for example the MFA verification code. Omit it to mark an input complete without changing the value the crawl filled in. A value that is sent must not be empty.

create_project_from_sharepoint

Create a project from a private SharePoint team site. The crawl runs with a fixed scope: platform plumbing and first-party Microsoft domains are excluded, and the sign-in goes through the Microsoft login form with the supplied credentials, so unlike `create_project_from_url` nothing else is configurable. Track the crawl with `get_project_url_job_status`. When the account is protected by MFA the crawl pauses: poll `get_project_login_inputs` for the prompt and send the code with `submit_project_login_input` — the prompts it may use are already listed in this response, so their ids are known be…

ParameterTypeDescription
password *stringPassword of that account. It is sent to the crawler and never stored. If the account requires MFA, the project reports login inputs to answer during the crawl.
subdomain *stringSharePoint team site subdomain
username *stringMicrosoft account that can sign in to the site. It is sent to the crawler and never stored.

create_project_from_scratch

Create an empty project that is built by hand rather than crawled or imported. The project is published and editable as soon as it is created, and it counts against the plan’s project allowance; at the allowance the call answers 400 `project_limit_reached`. It starts with one root item titled `Home` at `https://www.example.com`, which is also the project’s domain and placeholder image — an address to replace, not a page that was fetched. The body is optional: without `title` the project is called `Untitled Project`. There is no job to poll; the project is complete when the call returns.…

ParameterTypeDescription
titlestringName of the new project, 1 to 255 characters. Omit it to accept the default name `Untitled Project`.

get_project_sitemap_item_details

Get a sitemap item. Returns one sitemap item with its metadata: meta keywords and description, sitemap `priority` and `changeFrequency`, the tags and language alternates it records, and its thumbnail. Metadata falls back to what the crawler recorded for the page when the item itself carries none. `mode`, `slug` and `staticUrl` describe the address the application gives the page: `Slug` builds it from `slug`, `Static` from `staticUrl`, and an empty `mode` means the application has no link path for the item. The item is looked up through the project, so a project that cannot be read answers 404…

ParameterTypeDescription
itemId *numberID of the item, as returned by `get_project_sitemap_items`.
projectId *numberID of the project, as returned by `get_projects`.

create_project_sitemap_item

Create a sitemap item. Adds an item to the project’s sitemap tree: a page when `url` is sent, a container when it is not. The item is published immediately, carries no children, and takes its place after `afterItemId` or at the end of its parent’s children. Send `parentId: null` (or omit it) only to create the project’s root item; a project has exactly one, so once it has one this answers `root_exists`. `category` is an id and `workflowStatus` a key, not names; an unknown value is rejected rather than created. The write is one undo step, reversible with `undo_project_sitemap_edit`. `link…

ParameterTypeDescription
projectId *numberID of the project, as `get_projects` reports it.
title *stringTitle of the new item. Required; the editor’s form requires one too.
afterItemIdID of the sibling to place the new item after. Omit it to append to the end of the parent’s children. The sibling must be a child of `parentId`, otherwise the request is rejected with `invalid_after…
backgroundColorstring | nullBackground color the application paints the item with in the sitemap. `null` restores the default.
categoryID of the category to assign, from `get_project_categories`. `null` clears it. An id this account cannot see is rejected with `unknown_category`; categories are never created implicitly.
changeFrequencyHow often the page is expected to change, as a sitemap change frequency. `null` clears it. Only these seven values are accepted, unlike the free-text field the editor’s form allows.
foregroundColorstring | nullText color the application paints the item with in the sitemap. `null` restores the default.
hreflangarrayLanguage alternates of the page, as the complete set: the array replaces the ones recorded. Send an empty array to remove them all.
metaDescriptionstring | nullMeta description of the page. `null` clears it.
metaKeywordsstring | nullMeta keywords of the page. `null` clears it.
parentIdID of the container to create the item under. Omit it, or send `null`, only to create the project’s root item: a project has exactly one, the sitemap’s entry point, so creating a second answers `r…
pathModestringWhich address scheme the application should give the page: `Slug` builds the address from `slug`, `Static` uses `staticUrl`. Omit it to leave the item’s link path untouched. There is no way to clear…
prioritySitemap priority, between 0 and 1 inclusive. New items default to 0.5, the value the editor uses.
slugstring | nullPath segment used when `pathMode` is `Slug`. Ignored unless `pathMode` is sent. Defaults to an empty string.
staticUrlstring | nullFull address served when `pathMode` is `Static`. Ignored unless `pathMode` is sent. Defaults to an empty string.
tagsarrayTags of the item, as the complete set: the array replaces the tags the item has, in the order given, and duplicates are dropped. Send an empty array to remove them all.
urlstring | nullAddress the item points at, stored verbatim — no trimming, no validation, no de-duplication, so two items may share one URL. Sending `null` or an empty string turns the item into a container; sendin…
workflowStatusstring | nullWorkflow status key to assign, from `get_project_workflow_statuses`, for example `publish`. `null` clears it. An unknown key is rejected with `unknown_workflow_status`; statuses are never created impl…

bulk_update_project_sitemap_items

Assign a category, status, tags or colors to sitemap items. Sets one or more attributes across many items in one call — the bulk operations the editor uses when several nodes are selected at once. Send at least one of `category`, `workflowStatus`, `tags` or `colors`; none is rejected with `nothing_to_update`. `apply` decides how far each change reaches: `selected` for the named items alone, `children` includes their direct children, `subtree` includes everything beneath them. The batch is capped at 500 ids and records one undo step per attribute: setting both a category and tags undoes as tw…

ParameterTypeDescription
itemIds *arrayIDs the edit names, at most 500. Every id must belong to this project, otherwise the request is rejected with `invalid_item_ids` and nothing is changed; an id that has been deleted answers 404 `item_n…
projectId *numberID of the project, as `get_projects` reports it.
applystringHow far the edit reaches from each named id. `selected` changes only the named items; `children` also changes their direct children; `subtree` changes everything beneath them. The undo record keeps on…
categoryCategory id to assign to every affected item, or `null` to clear it. Rejected with `unknown_category` when the account cannot see it.
colorsobjectColors to paint the affected items with, as a pair. Send both keys, or omit the object to leave colors alone.
tagsarrayTags to assign. With `tagsMode: replace` this is the complete set for every affected item; with `merge` the tags are added and the items’ other tags stay.
tagsModestringWhat `tags` means. `replace` (the default) makes the array the whole tag set; `merge` adds the tags and keeps the rest.
workflowStatusstring | nullWorkflow status key to assign, or `null` to clear it. Rejected with `unknown_workflow_status` when the key does not exist.

update_project_sitemap_item

Update a sitemap item. Changes the fields an item carries. Only the fields sent are written, so this is safe to use for a rename as well as for a full edit, and a title change is recorded as a `renameTitle` step even when it is sent with other fields; `url: null` turns the item into a container and `category: null` or `workflowStatus: null` clears them. Sending `url` re-derives the item’s type, and editing the root’s URL also rewrites the project’s domain, and its `image_url` unless the project was crawled. `pathMode` sets the address scheme, with `slug` or `staticUrl`; sending it again…

ParameterTypeDescription
itemId *numberID of the sitemap item, as `get_project_sitemap_items` reports it.
projectId *numberID of the project, as `get_projects` reports it.
backgroundColorstring | nullBackground color the application paints the item with in the sitemap. `null` restores the default.
categoryID of the category to assign, from `get_project_categories`. `null` clears it. An id this account cannot see is rejected with `unknown_category`; categories are never created implicitly.
changeFrequencyHow often the page is expected to change, as a sitemap change frequency. `null` clears it. Only these seven values are accepted, unlike the free-text field the editor’s form allows.
foregroundColorstring | nullText color the application paints the item with in the sitemap. `null` restores the default.
hreflangarrayLanguage alternates of the page, as the complete set: the array replaces the ones recorded. Send an empty array to remove them all.
metaDescriptionstring | nullMeta description of the page. `null` clears it.
metaKeywordsstring | nullMeta keywords of the page. `null` clears it.
pathModestringWhich address scheme the application should give the page: `Slug` builds the address from `slug`, `Static` uses `staticUrl`. Omit it to leave the item’s link path untouched. There is no way to clear…
prioritySitemap priority, between 0 and 1 inclusive. New items default to 0.5, the value the editor uses.
slugstring | nullPath segment used when `pathMode` is `Slug`. Ignored unless `pathMode` is sent. Defaults to an empty string.
staticUrlstring | nullFull address served when `pathMode` is `Static`. Ignored unless `pathMode` is sent. Defaults to an empty string.
tagsarrayTags of the item, as the complete set: the array replaces the tags the item has, in the order given, and duplicates are dropped. Send an empty array to remove them all.
titlestringTitle of the page or container, shown in the tree and used as the page title. Cannot be empty when it is sent.
urlstring | nullAddress the item points at, stored verbatim — no trimming, no validation, no de-duplication, so two items may share one URL. Sending `null` or an empty string turns the item into a container; sendin…
workflowStatusstring | nullWorkflow status key to assign, from `get_project_workflow_statuses`, for example `publish`. `null` clears it. An unknown key is rejected with `unknown_workflow_status`; statuses are never created impl…

delete_project_sitemap_item

Delete a sitemap item. Deletes the item and everything beneath it; the delete is reversible with `undo_project_sitemap_edit`, which puts the subtree back. Deleting an already-deleted item is safe and answers the same way. The project’s root item cannot be deleted and answers 400 `root_not_deletable`; the delete also needs a published project and a role that may delete items. The response names the item and the project’s remaining item count. To delete several items in one call, use `bulk_delete_project_sitemap_items`.

ParameterTypeDescription
itemId *numberID of the sitemap item, as `get_project_sitemap_items` reports it.
projectId *numberID of the project, as `get_projects` reports it.

bulk_delete_project_sitemap_items

Delete sitemap items. Deletes a batch of items, and everything beneath each of them, as one atomic operation: either every id is deleted or none is. An id that is not in this project rejects the whole request with `invalid_item_ids`, naming the ids that were wrong. The batch is capped at 500 ids and undoes as one step, so `undo_project_sitemap_edit` restores the whole batch. Naming the root item rejects the batch with `root_not_deletable`. The response names only the deleted items, not their descendants.

ParameterTypeDescription
itemIds *arrayIDs of the items to delete, at most 500 per request. Every id must belong to this project, otherwise the whole request is rejected with `invalid_item_ids` and nothing is deleted.
projectId *numberID of the project, as `get_projects` reports it.

move_project_sitemap_item

Move a sitemap item. Reparents an item, repositions it among its siblings, or both. Omitting `parentId` keeps the current parent; `null` makes the item a root, refused with `root_exists` when the project already has one, and the root item itself cannot be moved (`root_not_movable`). `afterItemId` places the item after a sibling, or omitting it appends to the end. The whole subtree moves, and a move into the item’s own subtree is refused with `item_cycle`. The move is one undo step; to move several items at once, use `bulk_move_project_sitemap_items`.

ParameterTypeDescription
itemId *numberID of the sitemap item, as `get_project_sitemap_items` reports it.
projectId *numberID of the project, as `get_projects` reports it.
afterItemIdnumber | nullID of the sibling to place the item after, among the published children of `parentId`. Omit it to append to the end.
parentIdnumber | nullID of the container to move the item under, or `null` to make it a root item — refused with `root_exists` when the project already has one. Omit it to keep the current parent. A parent inside the it…

bulk_move_project_sitemap_items

Move sitemap items. Moves a batch of items as one atomic operation, all of them or none. The moves are applied in the order given, each against the tree the previous one left, and the whole batch undoes as one step. Every id and `parentId` must belong to this project, no item may appear twice, no move may use another item in the batch as its parent, and the root item cannot be moved; any of those rejects the whole request and changes nothing. The batch is capped at 500 moves. The response names the moved items and the project’s item count.

ParameterTypeDescription
items *arrayThe moves to make, at most 500. They are applied in order, all of them or none: a single invalid id, parent or cycle rolls the batch back. An item may appear once, and no move may target another item…
projectId *numberID of the project, as `get_projects` reports it.

duplicate_project_sitemap_item

Duplicate a sitemap item. Copies an item and, by default, its direct children. The copy carries the title, URL, type, metadata, priority, change frequency, category, workflow status, colors, tags and content; language alternates, the thumbnail and the link path are not copied. Omit `parentId` to copy the item where it stands; send a container id to put the copy under it, or `null` for the root. Only one level of children is copied. The whole copy is one undo step. The response names the new ids and the project’s item count.

ParameterTypeDescription
itemId *numberID of the sitemap item, as `get_project_sitemap_items` reports it.
projectId *numberID of the project, as `get_projects` reports it.
includeChildrenbooleanWhether to copy the item’s direct children as well, each with its own tags and content. Defaults to true. Only one level is copied, so the children’s children stay behind.
parentIdnumber | nullID of the container to put the copy under, or `null` for the root — refused with `root_exists` when the project already has a root, and copying the root itself would make a second one. Omit it to co…

sort_project_sitemap_items

Sort the children of a container. Reorders the published children of one container, or of the root. `itemIds` names the children to reorder and `parentId` the container they belong to; an id that is not a child is ignored. The children are ordered by title, not by the order of `itemIds`: naming them compares titles byte by byte, while omitting them sorts every child naturally, with digit runs compared as numbers. Omit `itemIds`, or send an empty array, to sort every child. The sort is one undo step; the response lists the children in their new order.

ParameterTypeDescription
projectId *numberID of the project, as `get_projects` reports it.
itemIdsarrayChildren to reorder, at most 500, each of them a child of `parentId` — an id that is not is ignored. The array names which children move, not the order they end up in: the application sorts the name…
parentIdnumber | nullContainer whose children to reorder. Omit it, or send `null`, to reorder the root items.

get_project_sitemap_undo

Inspect the next undo. Reports the edit that `undo_project_sitemap_edit` would reverse, without reversing it. The project’s history is shared with the application, so an edit made in the editor appears here too, and an edit made here appears there. When there is nothing left to undo, every field is null rather than an error. The history keeps the 30 most recent edits, so undoing further back is not possible.

ParameterTypeDescription
projectId *numberID of the project, as `get_projects` reports it.

undo_project_sitemap_edit

Undo the last sitemap edit. Reverses the newest edit in the project’s history, whoever made it: the stack is shared with the application, so an edit made in the editor can be undone here and the other way round. Everything the twelve kinds of edit can change is restored: an added item is deleted, a deleted subtree is republished, a rename is put back, a move returns to its previous parent and position, and a sort to its previous order. An undo does not undo the undo: it steps back through the history, so a following redo replays what was just reversed. That is also why it is worth calling de…

ParameterTypeDescription
projectId *numberID of the project, as `get_projects` reports it.

get_project_sitemap_redo

Inspect the next redo. Reports the edit that `redo_project_sitemap_edit` would replay, without replaying it. A redo is only available after an undo: any new edit clears the undone steps, so every field is null in the ordinary case where the history sits at its newest edit. When the cursor is at the newest edit, the step is the same one the next undo would reverse; otherwise it is the one most recently undone.

ParameterTypeDescription
projectId *numberID of the project, as `get_projects` reports it.

redo_project_sitemap_edit

Redo the last undone sitemap edit. Replays the edit the last undo reversed, restoring the same item at the same position with the same values. Like undo, it operates on the project’s shared history rather than the caller’s own edits. A redo is only available directly after an undo or a run of them; any new edit clears the undone steps. Nothing to redo answers 409 `nothing_to_redo`. The response names the step that was replayed. Inspect the next step with `get_project_sitemap_redo`.

ParameterTypeDescription
projectId *numberID of the project, as `get_projects` reports it.

get_project_sitemap_item_content

List the content blocks of an item. Returns every content block of one page, in the order the page renders them, each with the markup the application builds from it. A block is one of six kinds — rich text, plain text, link, image, file and video — and each type reads different keys from `properties`. `rendered` is built from the stored values on every read rather than stored alongside them, so it always reflects the current renderer. The blocks are the editor’s material: what the content tab of an item shows. Replace the set with `replace_project_sitemap_item_content`.

ParameterTypeDescription
itemId *numberID of the sitemap item, as `get_project_sitemap_items` reports it.
projectId *numberID of the project, as `get_projects` reports it.

replace_project_sitemap_item_content

Replace the content blocks of an item. Replaces every content block of one page with the blocks in the request, in the order they are sent. It is the only write: the editor holds the whole set, so a partial update would have to invent what it means for the blocks it was not told about. A block sent with an `id` is rewritten in place and must keep its `type`; a block without an id is added; a stored block absent from the array is deleted. An empty array clears the page without touching the item. The whole request is checked before anything is written. Read the result with `get_project_sitemap_i…

ParameterTypeDescription
itemId *numberID of the sitemap item, as `get_project_sitemap_items` reports it.
items *arrayEvery block the item should end up with, in the order the page should show them. The set is replaced wholesale — a block whose id is sent is rewritten, one without an id is added, and a stored block…
projectId *numberID of the project, as `get_projects` reports it.

get_inventory

List the links the crawl found on the site: one row per distinct host and path, with the status the URL answered, the element it was found in and how many references the crawl counted. `total` counts the distinct URLs the filters matched, `limit` defaults to 100 and `page` to 1, and `pageSize` reports how many pages of that size the match spans. Inventory exists only once a crawl has run: a project that was never crawled answers 500 rather than an empty page. For the totals alone use `get_inventory_summary`, for the links on one sitemap item use `get_inventory_item_links`, and for where a row…

ParameterTypeDescription
projectId *numberID of the project, as returned by `get_projects`, and also the id the crawl of the project is stored under
discoverabilitystringWhat the `robots` directives of the site allowed for the link. `crawlable` and `non-crawlable` keep links whose directives allow, or forbid, following them, `indexable` and `non-indexable` do the same…
languagestringLanguage code recorded for the page, such as `en`, matched exactly rather than as a prefix. A page whose language the crawl did not record never matches, so sending it narrows the result to pages with…
limitnumberMaximum number of links to return in this page. Defaults to 100. A negative value is treated as 0, which returns no rows, and no upper bound is applied, so a large value returns a large page
locationstring`internal` keeps links that stay on the crawled site and `external` keeps links that point at another site, matching the `isExternal` field of each row. Omitting the parameter keeps both
orderBystringField to sort by. `occurrence` puts the most referenced URLs first, `status` sorts ascending by HTTP status, `id` sorts ascending by link id and `last_modified` puts the most recently modified pages f…
pagenumber1-based page number to return. Defaults to 1, and a value below 1 is treated as 1. A page past the end answers an empty `items` with the full `total` still reported
searchstringText to match against the URL of the link and the anchor text recorded for it, matched as a pattern in which `%` matches any run of characters and `_` matches one character. A numeric value also match…
statusstringHTTP status bucket to keep. `ok` is 200-299, `bad` is 400-599, `redirect` is 300-399 and `unexpected` is a stored status above 599, meaning the crawl got no HTTP response. No value selects 100-199 or…
typestringMedia type to keep, decided from the response MIME type and the file extension of the URL. `page` is HTML answered with a status between 200 and 599, `image` a successfully answered PNG, JPEG, GIF, We…

get_inventory_summary

One call for the numbers behind the inventory: how many pages the crawl found, how many internal and external links it recorded, and how many of those links failed. Use it to size a project before paging through `get_inventory`, or to render a header without fetching a single row. Every count comes from the statistics the crawl stored, so the `total` of `get_inventory` matches neither `internalLinks` nor `externalLinks`. A project that has never been crawled has no crawler record and answers 500 rather than zeroes or a 404, and zeroes are a real answer only for a crawl that ran and found nothi…

ParameterTypeDescription
projectId *numberID of the project, as returned by `get_projects`, and also the id the crawl of the project is stored under

get_audit_results

List a project’s audit runs, newest first: one row per run with the issue counts that run recorded. This is the audit history, not the current state — the eleven issue tools and `get_audit_score` read the latest run alone, so use this to show progress between runs or to find out when a count was taken. Each count is what the run found minus what the account has archived since. A project that has never been audited answers an empty page, `total` 0 with no items, rather than an error, and audits themselves are started in the application. Requires the Content Audit feature, else 403 `feature_…

ParameterTypeDescription
projectId *numberThe ID of the project
limitnumberNumber of runs to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.

get_audit_score

Get a project’s content audit score, computed from its latest run and reported on a 0-100 scale. Before the project’s first audit there is no latest run and the call answers zeros rather than failing, so it is safe to call for any project without checking first. `crawlability` and `indexability` stay null until the project has been crawled, and are always null for a private SharePoint project, whose site is not publicly indexable; `score` is unaffected either way, because it measures duplicated and orphaned content rather than search visibility. `get_audit_results` lists the runs behind th…

ParameterTypeDescription
projectId *numberThe ID of the project

get_audit_client_error

List client errors: the links the latest run recorded as answering with a status between 400 and 499, which means the link itself was wrong — stale, forbidden or mistyped — rather than the server failing. This is the 4xx subset of `get_audit_broken_links`, which also carries the 5xx and crawler-level failures; start here when the fix belongs to the link. Reads the latest run only, so a page fixed since that run stays listed until the next audit replaces it. Until the project has been audited once the answer is 500 `Project is not audited.` rather than an empty list. Requires the Content Au…

ParameterTypeDescription
projectId *numberThe ID of the project
archivedstringWhich archived state to list, as a string: `1` for issues the account has archived in the application, `0` for issues it has not. Defaults to `0`, so archived issues stay hidden unless asked for.
limitnumberNumber of rows to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.
searchstringTerm matched against the URL of the affected page: one starting with `http` is matched as a URL prefix, any other is matched anywhere in the URL, and a three-digit term between 200 and 599 is matched…

get_audit_duplicate_title

List duplicated titles: the titles the latest run found on more than one page, one row per duplicated title rather than per page. `links` is how many pages the run recorded sharing it and `urls` lists their addresses, which together show whether a template is repeating a title or two pages merely collided. A page with no title is on `get_audit_missing_title` instead, and one whose title is too long on `get_audit_long_title`. Reads the latest run only, so a page fixed since that run stays listed until the next audit; a project that has never been audited answers 500 `Project is not audited.` Re…

ParameterTypeDescription
projectId *numberThe ID of the project
archivedstringWhich archived state to list, as a string: `1` for issues the account has archived in the application, `0` for issues it has not. Defaults to `0`, so archived issues stay hidden unless asked for.
limitnumberNumber of rows to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.
searchstringTerm matched against the URL of the affected page: one starting with `http` is matched as a URL prefix, any other is matched anywhere in the URL. It narrows the groups to those with a matching page UR…

get_audit_missing_title

List pages with no title: the pages the latest run found without a `<title>`, one row per page, with the crawled page’s id and URL. A missing title leaves the search engine to write the headline of the result itself, which is why this list is worth clearing before duplicated or over-long titles. A title that exists but is too long is on `get_audit_long_title`, and a title shared by several pages on `get_audit_duplicate_title`. Reads the latest run only, so a page fixed since that run stays listed until the next audit replaces it; a project that has never been audited answers 500 `Project is…

ParameterTypeDescription
projectId *numberThe ID of the project
archivedstringWhich archived state to list, as a string: `1` for issues the account has archived in the application, `0` for issues it has not. Defaults to `0`, so archived issues stay hidden unless asked for.
limitnumberNumber of rows to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.
searchstringTerm matched against the URL of the affected page: one starting with `http` is matched as a URL prefix, any other is matched anywhere in the URL. Omitted returns every row.

get_audit_long_title

List pages with a long title: the pages whose title is longer than the application allows, one row per page, with the title text, its `length` in characters and the page URL. The threshold that put the page on the list is the application’s and is not returned, so compare `length` against the intended limit. Search results truncate long titles, so their ends may never be shown. Pages with no title at all are on `get_audit_missing_title`, and titles shared by several pages on `get_audit_duplicate_title`. Reads the latest run only; a project that has never been audited answers 500 `Project is n…

ParameterTypeDescription
projectId *numberThe ID of the project
archivedstringWhich archived state to list, as a string: `1` for issues the account has archived in the application, `0` for issues it has not. Defaults to `0`, so archived issues stay hidden unless asked for.
limitnumberNumber of rows to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.
searchstringTerm matched against the URL of the affected page: one starting with `http` is matched as a URL prefix, any other is matched anywhere in the URL. Omitted returns every row.

get_audit_duplicate_description

List duplicated meta descriptions: the descriptions the latest run found on more than one page, one row per duplicated description rather than per page. `links` is how many pages share it and `urls` lists their addresses; a description repeated across a template makes those pages compete for the same snippet. A page with no description is on `get_audit_missing_description`, and one whose description is too long on `get_audit_long_description`. Reads the latest run only, so a page fixed since that run stays listed until the next audit replaces it; a project that has never been audited answers 5…

ParameterTypeDescription
projectId *numberThe ID of the project
archivedstringWhich archived state to list, as a string: `1` for issues the account has archived in the application, `0` for issues it has not. Defaults to `0`, so archived issues stay hidden unless asked for.
limitnumberNumber of rows to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.
searchstringTerm matched against the URL of the affected page: one starting with `http` is matched as a URL prefix, any other is matched anywhere in the URL. It narrows the groups to those with a matching page UR…

get_audit_missing_description

List pages with no meta description: the pages the latest run found without one, one row per page, with the crawled page’s id and URL. With no description the search engine composes the snippet from page text, so the result is unpredictable and often not the sentence a person would choose. A description that exists but is too long is on `get_audit_long_description`, and one shared by several pages on `get_audit_duplicate_description`. Reads the latest run only, so a page fixed since that run stays listed until the next audit replaces it; a project that has never been audited answers 500 `Pro…

ParameterTypeDescription
projectId *numberThe ID of the project
archivedstringWhich archived state to list, as a string: `1` for issues the account has archived in the application, `0` for issues it has not. Defaults to `0`, so archived issues stay hidden unless asked for.
limitnumberNumber of rows to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.
searchstringTerm matched against the URL of the affected page: one starting with `http` is matched as a URL prefix, any other is matched anywhere in the URL. Omitted returns every row.

get_audit_long_description

List pages with a long meta description: the pages whose description is longer than the application allows, one row per page, with the description text, its `length` in characters and the URL. The threshold that selected the page is the application’s and is not returned, so compare `length` against the intended limit. Search engines truncate over-long descriptions, so the end of each one is likely never displayed. Pages with no description at all are on `get_audit_missing_description`. Reads the latest run only; a project that has never been audited answers 500 `Project is not audited.` Requ…

ParameterTypeDescription
projectId *numberThe ID of the project
archivedstringWhich archived state to list, as a string: `1` for issues the account has archived in the application, `0` for issues it has not. Defaults to `0`, so archived issues stay hidden unless asked for.
limitnumberNumber of rows to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.
searchstringTerm matched against the URL of the affected page: one starting with `http` is matched as a URL prefix, any other is matched anywhere in the URL. Omitted returns every row.

get_audit_non_crawlable

List non-crawlable pages: the pages the latest run was not allowed to crawl, one row per page whose robots directives kept the crawler out. `robotsAllowed` is the crawl decision the run recorded, `robotsNofollow` whether the page also tells crawlers not to follow its links, and `status` the HTTP status the run recorded when it fetched the page. Crawling and indexing are separate decisions: a crawlable page can still be kept out of the index. The pages robots exclude from the index are on `get_audit_non_indexable`. Reads the latest run only; a project that has never been audited answers 500 `Pr…

ParameterTypeDescription
projectId *numberThe ID of the project
archivedstringWhich archived state to list, as a string: `1` for issues the account has archived in the application, `0` for issues it has not. Defaults to `0`, so archived issues stay hidden unless asked for.
limitnumberNumber of rows to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.
searchstringTerm matched against the URL of the affected page: one starting with `http` is matched as a URL prefix, any other is matched anywhere in the URL. Omitted returns every row.

get_audit_non_indexable

List non-indexable pages: the pages the latest run recorded as excluded from search indexes. `robotsNoindex` reports whether robots directives tell search engines not to index it, `robotsCrawlable` whether those directives still allowed the crawler in, `isExternal` whether the page sits outside the project’s host, and `canonicalLink` the address the page declares as its canonical version, or `null` when it declares none. Crawling and indexing are separate decisions, so this is not the other half of `get_audit_non_crawlable`: a crawlable page can still be kept out of the index, so read the tw…

ParameterTypeDescription
projectId *stringThe ID of the project
archivedstringWhich archived state to list, as a string: `1` for issues the account has archived in the application, `0` for issues it has not. Defaults to `0`, so archived issues stay hidden unless asked for.
limitnumberNumber of rows to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.
searchstringTerm matched against the URL of the affected page: one starting with `http` is matched as a URL prefix, any other is matched anywhere in the URL. Omitted returns every row.

get_audit_orphan_pages

List orphan pages: the pages the latest run found with no inbound link, one row per page that nothing else on the site links to, so a visitor reaches it only from outside the site or a bookmark. `id` identifies the run’s orphan-page record, not a crawled page — use `url` instead — and rows are in no guaranteed order. `get_audit_score` weights these: 9% of the score is the share of them archived. A page can be an orphan and miss a title or description too, so expect it on several lists. Reads the latest run only; a project that has never been audited answers 500 `Project is not audited.`…

ParameterTypeDescription
projectId *numberThe ID of the project
archivedstringWhich archived state to list, as a string: `1` for issues the account has archived in the application, `0` for issues it has not. Defaults to `0`, so archived issues stay hidden unless asked for.
limitnumberNumber of rows to return per page. Defaults to 20.
pagenumberPage to return, 1-based. Defaults to 1.
searchstringTerm matched against the URL of the affected page: one starting with `http` is matched as a URL prefix, any other is matched anywhere in the URL. Omitted returns every row.

get_analytics_project

Traffic totals for a project over a date range, taken from the Google Analytics 4 properties linked to the project. This is the headline call: `get_analytics_project_daily` breaks the same metrics down by day, `get_analytics_project_traffic_source` by channel and `get_analytics_project_pages` by page. Both dates are required, the range includes both ends, and the figures are the ones already collected for those properties, so a day only has numbers once it has been collected. With several properties linked their rows are added together, so a user or session seen on two properties counts twice.…

ParameterTypeDescription
endDate *stringLast calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive. An `endDate` earlier than `startDate` is not rejected; it matches no rows
projectId *numberThe ID of the project, as returned by `get_projects`
startDate *stringFirst calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive: traffic recorded for this day is included

get_analytics_project_daily

One row of traffic figures per stored day for a project, taken from the Google Analytics 4 properties linked to the project and ordered oldest first. Use it to chart a trend; `get_analytics_project` returns the same metrics totaled over the whole range. Both dates are required and the range includes both ends. Days without collected data are absent rather than zero-filled, and the rows come back as stored without merging, so a day with figures from more than one property appears more than once: add those rows up if one figure per day is needed.

ParameterTypeDescription
endDate *stringLast calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive. An `endDate` earlier than `startDate` is not rejected; it matches no rows
projectId *numberThe ID of the project, as returned by `get_projects`
startDate *stringFirst calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive: traffic recorded for this day is included

get_analytics_project_traffic_source

One row per Google Analytics default channel group, such as `Direct`, `Organic Search`, `Referral` or `Email`, with the traffic that channel produced over the range, largest by active users first. Channels are grouped across the properties linked to the project and across the days in the range, so each channel appears once. Both dates are required and the range includes both ends. Here `averageSessionDuration` and `sessionConversionRate` are the stored daily values added together rather than averaged, so compare channels by them only loosely. A project with no linked property, or a range with…

ParameterTypeDescription
endDate *stringLast calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive. An `endDate` earlier than `startDate` is not rejected; it matches no rows
projectId *numberThe ID of the project, as returned by `get_projects`
startDate *stringFirst calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive: traffic recorded for this day is included

get_analytics_project_events

One row per event name recorded over the range, most frequent first: `page_view`, `session_start`, `purchase` and whatever else the properties linked to the project collected. Events are grouped by name across properties and days, so each name appears once. Both dates are required and the range includes both ends. `eventCountPerUser` is computed by DYNO Mapper, the event count divided by the active users of the event, and falls back to the event count when the event has no active users. For traffic per page instead of per event use `get_analytics_project_pages`.

ParameterTypeDescription
endDate *stringLast calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive. An `endDate` earlier than `startDate` is not rejected; it matches no rows
projectId *numberThe ID of the project, as returned by `get_projects`
startDate *stringFirst calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive: traffic recorded for this day is included

get_analytics_project_pages

A paged table of the pages that had traffic, one row per page, from the Google Analytics 4 properties linked to the project. Rows are keyed by page URL after normalization, host lowercased with a leading `www.` dropped, path and query lowercased and trailing slash trimmed, so the same page reached by differently written URLs collapses into one row. Both dates are required and the range includes both ends. `total` is the number of distinct pages matching `filter`, and the sort defaults to `active_users` descending. A page with no traffic in the range is not in the table.

ParameterTypeDescription
endDate *stringLast calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive. An `endDate` earlier than `startDate` is not rejected; it matches no rows
projectId *numberThe ID of the project, as returned by `get_projects`
startDate *stringFirst calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive: traffic recorded for this day is included
filterstringText that must appear somewhere in the page URL. Matched as a substring; omitted or blank returns every page
limitintegerRows per page, 1 or more. Defaults to 20 and is capped at 1000: a larger value is reduced to 1000 rather than rejected
orderBystringMetric to sort by, named as Google Analytics names it and matching one of the row fields: `active_users`, `sessions`, `engaged_sessions`, `screen_page_views` for total views, `engagement_rate`, `bounc…
orderDirstringDirection of the sort: `asc` for smallest first, `desc` for largest first. `desc` when omitted, which is what a traffic table usually wants
pageinteger1-based page number to return. Defaults to 1; a value below 1 or a fraction is rejected

get_analytics_sitemap_item

Traffic totals for one sitemap item over a date range. `linkId` is a sitemap item id, the `id` of an item returned by `get_project_sitemap_items`. The URL of the item is normalized like the stored page rows, host lowercased and a leading `www.` dropped, path and query lowercased, trailing slash trimmed, then matched against them; a URL that cannot be parsed matches no page at all. Both dates are required and the range includes both ends. A page with no traffic answers zeroes, while an item id that does not exist, or that belongs to a different project, answers 500 rather than 404. For the whol…

ParameterTypeDescription
endDate *stringLast calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive. An `endDate` earlier than `startDate` is not rejected; it matches no rows
linkId *numberThe ID of the sitemap item, as `get_project_sitemap_items` reports it
projectId *numberThe ID of the project, as returned by `get_projects`
startDate *stringFirst calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive: traffic recorded for this day is included

get_analytics_sitemap_item_daily

One row per day of traffic for a single sitemap item, ordered oldest first, where `linkId` is a sitemap item id, the `id` of an item returned by `get_project_sitemap_items`. The URL of the item is normalized the same way as the stored page rows and then matched against them, so the series covers that one page. Both dates are required and the range includes both ends; days without collected data are absent rather than zero-filled. For the range total use `get_analytics_sitemap_item`, and for every page of the project use `get_analytics_project_pages`. An item id that does not exist, or belongs…

ParameterTypeDescription
endDate *stringLast calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive. An `endDate` earlier than `startDate` is not rejected; it matches no rows
linkId *numberThe ID of the sitemap item, as `get_project_sitemap_items` reports it
projectId *numberThe ID of the project, as returned by `get_projects`
startDate *stringFirst calendar day of the range, in `YYYY-MM-DD` form. Required, with no default. Inclusive: traffic recorded for this day is included

get_commented_items

List commented items. Lists the sitemap items of a project that carry at least one published comment, most recently commented first. One row describes one item, not one comment; an item nobody has commented on is never listed, so an empty `items` array means no item matched `search` or that `page` is past the last one. An item deleted from the sitemap is not listed even if comments remain, and `lastActivity` comes from published comments only, so the date is one a reader can see. `id` is the sitemap item id that `get_project_sitemap_items` reports and `get_item_comments` expects; `comments` is…

ParameterTypeDescription
projectId *numberThe ID of the project, as returned by `get_projects`
limitintegerHow many items one page holds. Defaults to 20. Must be a positive whole number; a value above 100 is lowered to 100 rather than refused
orderBystringOrder of the list: `lastActivity` puts the item whose newest comment is the most recent first, `comments` puts the item with the most published comments first. Defaults to `lastActivity`
pageinteger1-based number of the page to return. Defaults to 1, the first page.
searchstringReturn only items whose title contains this text. A plain substring test on the title, not a prefix or word search, with surrounding whitespace trimmed. An empty value applies no filter

get_all_project_comments

List every comment in a project. The project’s whole conversation, newest first: every published comment on every published item, each row naming the item it belongs to. It is the moderation view rather than the reading view — `get_item_comments` answers one item oldest first, while this answers the whole project newest first. `search` matches the comment text, not the item title; pass `itemId` to narrow the feed to one item. Comments on deleted items and deleted comments are left out. Paging is `page` (1-based, default 1) and `limit` (default 20, capped at 100); `total` counts every match…

ParameterTypeDescription
projectId *integerID of the project, as `get_projects` reports it.
itemIdintegerReturn only comments on this sitemap item. An id that is not in this project matches nothing rather than failing.
limitintegerHow many comments one page holds. Defaults to 20 when omitted; a value above 100 is lowered to 100 rather than refused.
orderstringDirection to sort in: `desc` for newest first, the default, `asc` for oldest first. Ties within a second are broken by comment id, so pages do not overlap.
pageinteger1-based number of the page to return. Defaults to 1, the first page.
searchstringReturn only comments whose text contains this text. A plain substring test with surrounding whitespace trimmed; the item title is not searched. An empty value applies no filter.

get_item_comments

Return the comments on one sitemap item, oldest first unless `order=desc` asks for the newest first. Only published comments are returned, and only on a published item of a published project; a deleted comment stops appearing. `itemId` is a sitemap item id from `get_project_sitemap_items`. An item deleted from the sitemap, or one that belongs to another project, answers 404 `item_not_found` rather than an empty list — this tool no longer hides the difference between “no comments” and “no such item”. An existing item with no comments answers an empty `items` array. Paging is `page` (1…

ParameterTypeDescription
itemId *numberThe ID of the sitemap item, as `get_project_sitemap_items` reports it. An id that belongs to another project answers 404 with `item_not_found` rather than an empty list
projectId *numberThe ID of the project, as returned by `get_projects`
limitintegerHow many comments one page holds. Defaults to 20 when omitted; a value above 100 is lowered to 100 rather than refused.
orderstringDirection to sort in: `asc` for oldest first, the default, `desc` for newest first. Ties within a second are broken by comment id, so pages do not overlap.
pageinteger1-based number of the page to return. Defaults to 1, the first page.
searchstringReturn only comments whose text contains this text. A plain substring test with surrounding whitespace trimmed. An empty value applies no filter.

create_item_comment

Post a comment on a sitemap item. Publishes the comment immediately on the named item; there is no approval step. `comment` is trimmed and must be 1 to 1000 characters, or the write is refused with `comment_empty` or `comment_too_long`. The item must belong to this project and still be published, or the write answers 404 `item_not_found`. The response is the published comment, including the commenter’s account details and gravatar picture. Read the thread with `get_item_comments`.

ParameterTypeDescription
comment *stringText of the comment. Surrounding whitespace is trimmed; the trimmed text must be between 1 and 1000 characters, or the write is refused with `comment_empty` or `comment_too_long`.
itemId *integerID of the sitemap item to comment on, as `get_project_sitemap_items` reports it. It must belong to this project and still be published, or the write answers 404 `item_not_found`.
projectId *integerID of the project, as `get_projects` reports it.

update_item_comment

Edit a comment. Replaces the text of one comment; any user who can reach the project may edit any comment on it, the author included. `comment` is trimmed and must be 1 to 1000 characters, or the write is refused with `comment_empty` or `comment_too_long`. The comment is stamped as modified. The response is the edited comment. Read the thread with `get_item_comments`.

ParameterTypeDescription
comment *stringText of the comment. Surrounding whitespace is trimmed; the trimmed text must be between 1 and 1000 characters, or the write is refused with `comment_empty` or `comment_too_long`.
commentId *integerID of the comment, as any comment response reports it. It must sit on the item named before it, or the write answers 404 with `comment_not_found`.
itemId *integerID of the sitemap item the comment sits on, as `get_project_sitemap_items` reports it.
projectId *integerID of the project, as `get_projects` reports it.

delete_item_comment

Delete a comment. Deletes one comment: it stops appearing in every read of the project and in the item’s thread, and nothing else about the item changes. There is no restore through this API. Deleting an already-deleted comment answers 204 again rather than 404, because the caller asked for a state the comment is already in. An id from another project, or an item that no longer exists, still answers 404. Writes are refused on a project that is not published, with `409 project_not_editable`, so a delete there changes nothing. The call returns no body. Read the remaining thread with `get_item_…

ParameterTypeDescription
commentId *integerID of the comment, as any comment response reports it. It must sit on the item named before it, or the write answers 404 with `comment_not_found`.
itemId *integerID of the sitemap item the comment sits on, as `get_project_sitemap_items` reports it.
projectId *integerID of the project, as `get_projects` reports it.

get_visibility_project_ranking

Returns one row per tracked keyword for the window between `startDate` and `endDate`, with each engine’s newest rank, the rank at the start of the window and the difference between them. A row is a keyword tracked for one locale and one device, so the same text on desktop and mobile is two rows. Rank fields are `null` until a check lands: give a newly added keyword a few days before reading a rank. Only published keywords and those awaiting publication are listed. `limit` defaults to 50 and is capped at 100, and `pageSize` is a page count, not a row count. A project with no Visibility domain…

ParameterTypeDescription
endDate *stringLast day of the window, inclusive, as `YYYY-MM-DD`. Required. The newest check on or before this day is the one the position fields report.
projectId *numberNumeric project id, from `get_projects`.
startDate *stringFirst day of the window, inclusive, as `YYYY-MM-DD`. Required, with no default: ranks are always reported relative to a window, and the earliest recorded check inside it is the baseline the increases…
devicestringOnly return keywords tracked for this device: `desktop` for desktop search results, `tablet` or `mobile` for the respective mobile results. Omitted means all three.
groupnumberOnly return keywords assigned to this group id, from `get_visibility_project_groups`. A negative value such as `-1` returns the keywords in no group at all, `0` applies no group filter, and omitting i…
limitintegerRows per page. Defaults to 50; any value above 100 is reduced to 100 rather than rejected, and the returned `limit` repeats the value actually used.
localestringOnly return keywords tracked in this locale, one of the values from `get_visibility_locales` such as `en-us`. Omitted means every locale.
orderBystringSort key: `keyword` sorts alphabetically by keyword text, `google`, `bing` and `yahoo` by the newest rank on that engine, `volume` and `avg_cpc` by the research figures, and `google_increase`, `bing_i…
orderDirstringDirection of `orderBy`: `asc` for smallest first, `desc` for largest first. Defaults to `asc`; `desc` is the useful one for rank and increase keys, because rank 1 is the best position.
pageintegerPage to return, 1-based, so the first page is `1` and not `0`. Defaults to 1. A page past the end returns an empty `items` array with the real `total` intact.
searchstringOnly return keywords whose text contains this substring, matched anywhere inside the stored text rather than at the start. Trimmed before matching; omitted or empty means no text filter.

get_visibility_project_score

Summarizes the project’s tracked keywords over `startDate` to `endDate` as one block of numbers per search engine, for a scorecard or a trend line rather than a table of keywords. Field names follow two conventions: a trailing `0` is the value at the start of the window, and `Inc` is current minus start, so a positive `…Inc` always means movement in the good direction. Only actively tracked keywords are counted, and there are no filter parameters: every locale, device and group is included. A project whose keywords have never been checked returns zeros rather than nulls. For the individual…

ParameterTypeDescription
endDate *stringLast day of the window, inclusive, as `YYYY-MM-DD`. Required. The newest check on or before this day is the one the non-`0` fields report.
projectId *numberNumeric project id, from `get_projects`.
startDate *stringFirst day of the window, as `YYYY-MM-DD`. Required, with no default: every `…0` field and every `…Inc` field is measured from the earliest check on or after this day.

get_visibility_project_groups

Returns the keyword groups defined for the project, each with the id that `update_visibility_keywords_group` assigns keywords to and that the `group` filter of `get_visibility_project_ranking` accepts. Groups split a project’s keywords into topics so a report can be read one topic at a time: create one with `create_visibility_keyword_group`, add keywords with `create_visibility_keywords`, then file them with `update_visibility_keywords_group`. A group deleted with `delete_visibility_keyword_group` disappears from this list, but its keywords keep the assignment and still report the old group…

ParameterTypeDescription
projectId *numberNumeric project id, from `get_projects`.

create_visibility_keyword_group

Creates a group for splitting the project’s keywords into topics and returns it with its `id` — the id `update_visibility_keywords_group` takes as `groupId`, `create_visibility_keywords` takes as `group`, and the `group` filter of `get_visibility_project_ranking` accepts. Names are trimmed before they are stored and are unique within a project, and the call is safe to repeat: a name that already exists does not fail and does not add a second group, and a name that belonged to a group deleted earlier brings that group back under its old id rather than creating a second one. Keywords come ba…

ParameterTypeDescription
name *stringName of the group, trimmed before it is stored, 1 to 255 characters. Unique within the project: an existing name returns that group instead of creating a duplicate, and a name that belonged to a delet…
projectId *numberNumeric project id, from `get_projects`.

delete_visibility_keyword_group

Takes a group out of service: it stops appearing in `get_visibility_project_groups` and so from any list a client builds from it. The keywords filed under it are not unassigned — they keep their assignment, still report the deleted group’s name in `get_visibility_project_ranking`, and are still returned by that tool’s `group` filter, with no ranking history touched. Move them with `update_visibility_keywords_group`, or send them to `null` for no group at all. Creating a group with the same name later brings this one back under the same id, which returns its keywords to view with it. A gr…

ParameterTypeDescription
groupId *numberID of the keyword group to delete, from `get_visibility_project_groups`. It has to exist and still be live: an id that does not exist, belongs to another project or was already deleted fails with 500…
projectId *numberNumeric project id, from `get_projects`.

create_visibility_keywords

Adds up to 100 keywords to the project and returns their ids, one per entry of `keywords`, in the order sent. A keyword is identified by its text together with `locale` and `device`, so sending a combination that already exists returns the existing id instead of creating a duplicate — the call is safe to repeat, and repeating it with a different `group` does not move the keywords either. Tracking is queued, not immediate: an account at its keyword allowance gets the keywords stored but left inactive, and they appear in `get_visibility_project_ranking` with `enabled` of `false` and no positio…

ParameterTypeDescription
keywords *arrayKeyword texts to track, 1 to 100 entries, each 1 to 255 characters after trimming. Stored lower-cased, so `Coffee` and `coffee` are the same keyword; a text already tracked for the same locale and dev…
projectId *numberNumeric project id, from `get_projects`.
devicestringDevice whose search results the keywords are tracked on: `desktop`, `tablet` or `mobile`. Defaults to `desktop`; each device is tracked separately, so tracking desktop and mobile takes two entries in…
groupnumberID of an existing group, from `get_visibility_project_groups`, to file the new keywords under. Omitted means no group; the group must belong to the same account, and an id from another account fails w…
localestringLocale whose search results the keywords are tracked in, one of the values from `get_visibility_locales`. Defaults to `en-us`; rankings are per locale, so the same keyword in two locales is two tracke…

update_visibility_keywords_group

Files each keyword under a group, replacing whichever group it was in — the third step of the usual chain, after `create_visibility_keyword_group` and `create_visibility_keywords`. IDs that do not belong to this project are dropped without an error, so compare the returned `ids` with the ones sent: they list only what was actually reassigned, and an empty array means nothing matched. Passing `null` as `groupId` is how a keyword is returned to no group, the set `get_visibility_project_ranking` lists with `group: -1`. Assignment is the only thing this changes: ranks, history and the keyword’…

ParameterTypeDescription
ids *arrayIDs of the keywords to reassign, at least one, as returned by `create_visibility_keywords` or read from `id` in `get_visibility_project_ranking`. IDs belonging to another project are silently ignored.
projectId *numberNumeric project id, from `get_projects`.
groupIdnumber | nullID of the group to assign, from `get_visibility_project_groups`, or `null` to take the keywords out of any group. Defaults to `null`; a group that does not exist or belongs to another project fails th…

update_visibility_keyword_setting

Moves keywords to a different locale or device — the pair that decides which search results their rank is read from — for a keyword added in the wrong market or one that should also be tracked elsewhere. Each keyword succeeds or fails on its own, so read `result` rather than assuming the call worked: it can succeed while keywords were skipped. A keyword that already has ranking history is refused, and so is one that would collide with a keyword already tracked for the same text under the target pair — in practice only keywords not yet checked can be moved. IDs from another project are fi…

ParameterTypeDescription
device *stringDevice to move the keywords to: `desktop`, `tablet` or `mobile`. Required, with no default; together with `locale` it is what identifies the keyword, so moving to a pair already used by the same text…
ids *arrayIDs of the keywords to change, at least one, as returned by `create_visibility_keywords` or read from `id` in `get_visibility_project_ranking`. IDs belonging to another project are ignored and are not…
locale *stringLocale to move the keywords to, one of the values from `get_visibility_locales`. Required, with no default here — unlike `create_visibility_keywords` there is no `en-us` fallback, so the target mark…
projectId *numberNumeric project id, from `get_projects`.

get_visibility_keyword_ranking

Returns one keyword with its day-by-day rank on one search engine, for a trend line or to find the day a position changed. Each entry of `data` is a day the engine recorded the keyword, oldest first, so the gaps between dates are days that were not checked — not days at position 0. `service` picks the engine, so a chart covering three engines takes three calls with the same dates. `keywordId` is the `id` of a row from `get_visibility_project_ranking`, not the internal keyword id, and it is not checked against the project: an id from another project is accepted and normally returns an empty `…

ParameterTypeDescription
endDate *stringLast day of the history, inclusive, as `YYYY-MM-DD`. Required.
keywordId *numberID of the keyword, the `id` of a row from `get_visibility_project_ranking` — not the internal keyword id. It is not checked against this project, so an id from another project is accepted and normal…
projectId *numberNumeric project id, from `get_projects`.
startDate *stringFirst day of the history, as `YYYY-MM-DD`. Required; days before it are never returned even when they were checked.
servicestringSearch engine whose positions are returned: `google`, `bing` or `yahoo`. Defaults to `google`; one call reports one engine, so each additional engine costs another call over the same dates.

get_visibility_locales

Returns every locale a keyword can be tracked in: the code to send as `locale`, and the country and language that code stands for. Pass one of these values to `create_visibility_keywords` when adding keywords, or to `update_visibility_keyword_setting` to move existing ones. The catalogue is the whole set the application supports, not the locales a single project already uses, so it is safe to fetch once and cache. A locale is read from the search results of that country, which means the same keyword tracked in two locales is two independent keywords with their own rank history.

run_accessibility_checker

Start an accessibility check of a project and return the id of the run it queued. The work is asynchronous: the call answers with an id, not results, and the checker starts on its own. Watch the run with `get_accessibility_results`, where the page count, the problem counts and the score appear as it progresses, and per page with `get_accessibility_report_items`; `get_accessibility_score` then reports the finished run’s score. If the project has a stored login recipe the run reuses it and may pause on a sign-in prompt: `loginInputs` lists those prompts, `get_accessibility_login_inputs` report…

ParameterTypeDescription
projectId *numberID of the project to check.
authOptionsobjectCredentials for a project that signs in, such as a private SharePoint team site or a project created from a URL with authentication. Only used when the project has a stored login recipe; for any other…
guidelinesarrayGuideline sets to check the pages against, one entry per standard and level. `WCAG2-A`, `WCAG2-AA` and `WCAG2-AAA` are WCAG 2.0 at levels A, AA and AAA; `WCAG21-*` is WCAG 2.1 and `WCAG22-*` is WCAG 2…
reportSettingsobjectWhich classes of problem the run records. Omit it to record likely and potential problems and no manual checks.

get_accessibility_results

List the accessibility runs of a project, newest first, one row per run. `id` on a row is the `reportId` every other accessibility tool takes, so this is the call that turns a project id into a report id. Runs that were deleted are not listed, and a run that was just queued appears with `urls`, the problem counts and `score` still `null`, filling them in as the checker progresses. An `unauthorized_access` error means the token’s account cannot read this project; `feature_disabled` means its plan does not include Accessibility.

ParameterTypeDescription
projectId *numberID of the project whose runs to list.
limitintegerMaximum number of runs to return. Defaults to 20; values above 1000 are lowered to 1000 rather than rejected.
pageinteger1-based page number to return. Defaults to 1, which is the newest run.

delete_accessibility_report

Delete one accessibility run of a project: it deletes the named run, not every result for the project. The run drops out of `get_accessibility_results`, while the project’s other runs stay and keep feeding `get_accessibility_score`. A check that is still running for it is canceled first, and the run still leaves the list even if that cancellation fails, so the call does not report the failure. Returns the id of the run it deleted. A `reportId` that is not a run of this project, a run that belongs to another account, and a run that is already deleted all answer `500` rather than `404`, so che…

ParameterTypeDescription
projectId *numberID of the project the run belongs to.
reportId *numberID of the accessibility run to delete — the `id` from `get_accessibility_results`, or the `id` that `run_accessibility_checker` returned.

get_accessibility_report_items

List the pages of one accessibility run, one row per checked page, with what the checker found on it. Each row carries its lifecycle in `state` (`pending`, `running`, `finished`), the three problem counts and the page’s score, so one call is enough to show a run while it is still going. `id` is the row id that `get_accessibility_report_item_result` takes; `itemId` is the page’s own id inside the project, so the two are different values. `group` and `subgroup` take the ids from `get_accessibility_report_groups`, and `search` matches the page URL. A run that belongs to another project, or an…

ParameterTypeDescription
projectId *numberID of the project the run belongs to.
reportId *numberID of the accessibility run — the `id` from `get_accessibility_results`, or the `id` that `run_accessibility_checker` returned.
groupnumberOnly return pages with at least one problem in this guideline group. Pass the `id` of a group from `get_accessibility_report_groups`; omit it to include every group.
limitintegerMaximum number of pages to return. Defaults to 50; values above 100 are lowered to 100 rather than rejected.
orderBystringField to order by: `known_problems`, `likely_problems` or `potential_problems` order by that count on the page, `created` by when the page row was created, `id` by the row id. Defaults to `id`.
orderDirstringDirection applied to `orderBy`, defaulting to `desc`. Ordering by `id` ignores it and is always ascending, so paging stays stable.
pageinteger1-based page number to return. Defaults to 1.
searchstringSubstring matched against the page URL. Wrap it in slashes, such as `/^\/blog\//`, to have it used as a regular expression; with `group` or `subgroup` set it is always a plain substring.
subgroupnumberOnly return pages with at least one problem in this subgroup. Pass a subgroup `id` from `get_accessibility_report_groups`; combine it with `group` to narrow further.

get_accessibility_history

Return the finished accessibility runs of a project as a time series, oldest first, for charting how its accessibility has moved: one row per run with its id, when it ran, its three problem counts and its score. Only runs that finished, checked at least one page and recorded no error are included, so failed attempts do not interrupt the series. With neither date it returns the 100 most recent qualifying runs; with `startDate` and/or `endDate` it returns every qualifying run in the range. This is the data `get_accessibility_score` reduces to a single number, and the run ids are accepted as `rep…

ParameterTypeDescription
projectId *numberID of the project whose history to read.
endDatestringLatest creation date to include, as `YYYY-MM-DD`, compared at midnight of that day — so a run later on the same day falls outside the range, and the following day is needed to include it. Omit to ru…
startDatestringEarliest creation date to include, as `YYYY-MM-DD`; runs created that day are included. Omit to start from the project’s first qualifying run.

get_accessibility_score

Get one number for the project’s current accessibility plus the per-page averages behind it, read from the two most recent runs that have results. `score` is the latest of those runs’ stored score multiplied by 100, so it is a 0–100 value to show on a dashboard; the same run’s score appears unscaled in `get_accessibility_results`. The two runs are also compared: the `moved*` fields give the change since the previous run, which is what an “improving or worsening” indicator needs. Every field is `0` when the project has no run with results, so a project that was never checked reads e…

ParameterTypeDescription
projectId *numberID of the project whose score to read.

get_accessibility_report_problems

Summarize one accessibility run by guideline group: one row per group with how many problems it produced and how many pages it touched. Rows are keyed by the group name trimmed to its numbered prefix, so the subgroups under one guideline — the WCAG guidelines `1.1` to `4.1` — are summed into a single row; use `get_accessibility_report_groups` when the subgroup breakdown is needed instead. Counts are relative to the run’s page total, `totalPages`, which includes pages with no problem at all. Only groups that produced at least one problem appear, so a run that found nothing answers an empt…

ParameterTypeDescription
projectId *numberID of the project the run belongs to.
reportId *numberID of the accessibility run — the `id` from `get_accessibility_results`, or the `id` that `run_accessibility_checker` returned.

get_accessibility_report_groups

Return the guideline groups and subgroups that a run found problems in, as a tree: a group is a WCAG guideline such as `1.1 Text Alternatives`, and the subgroups below it are the success criteria such as `1.1.1 Non-text Content`. Each level carries the pages affected and the problems recorded, so this drives a drill-down. Only groups that produced a problem appear, and within them only the subgroups that did, sorted by name — an empty `groups` array means the run found nothing, not that it is unfinished. The `id` values are the ones `get_accessibility_report_items` takes as `group` and `subg…

ParameterTypeDescription
projectId *numberID of the project the run belongs to.
reportId *numberID of the accessibility run — the `id` from `get_accessibility_results`, or the `id` that `run_accessibility_checker` returned.

get_accessibility_report_item_result

Return everything the checker found on one page of an accessibility run, split into four buckets and nested group, then subgroup, then finding. `knownProblems` are confirmed violations, `likelyProblems` findings the checker believes but cannot prove without a person looking, `potentialProblems` findings that may be violations, and `archived` findings that were archived for this page — every finding also states its own `type` and `isArchived`. `itemId` is the `id` of a page row from `get_accessibility_report_items`, not that row’s `itemId` field. A page or run that does not belong to this p…

ParameterTypeDescription
itemId *numberID of the page row in the run — the `id` from `get_accessibility_report_items`, not that row’s `itemId` field.
projectId *numberID of the project the run belongs to.
reportId *numberID of the accessibility run — the `id` from `get_accessibility_results`, or the `id` that `run_accessibility_checker` returned.

get_accessibility_pdf_files

List the PDF files the checker has found on, or been given for, a project — one row per file with the file’s check state and its problem counts. `id` is the `itemId` that `get_accessibility_pdf_item_result` takes for the per-criterion results. Checking is asynchronous: a file sits at `queued` and moves through `running` to `completed`, and its counts fill in as it goes. Files that were deleted are excluded from the list, so `deleted` never appears in `state` here even though the field can hold it. Without `orderBy` the most recently modified file comes first, and `orderDir` defaults to `as…

ParameterTypeDescription
projectId *numberID of the project whose files to list.
limitintegerMaximum number of files to return. Defaults to 50; values above 100 are lowered to 100 rather than rejected.
locationstringRestrict to files found on the project’s own domain (`internal`) or to files linked from another domain (`external`). Omit to include both kinds, and uploaded files with them.
orderBystringField to order by: `date` orders by when the file was last modified and then when it was created, the other three by that problem count. Omit it to get the most recently modified files first.
orderDirstringDirection applied to `orderBy`, defaulting to `asc` — pass `desc` to rank the largest counts first. Without an `orderBy` the ordering is newest-modified first whatever this is set to.
pageinteger1-based page number to return. Defaults to 1.
searchstringSubstring matched against the file’s URL or its filename, so a search for `invoice` finds both a URL ending in `invoice.pdf` and a file named that way.

get_accessibility_pdf_guidelines

Return the checklist that PDF results are reported against: the WCAG 2.0 success criteria, each with its number, title, explanation and a link to the published criterion. Join it to a result’s `criteria` to show what a failing check means, and to its `guideline` to find the family. It needs no project and answers the same list for every account whose plan includes PDF Accessibility; the criteria are grouped into one array per family on the way out, and only the `WCAG20` family is published today.

get_accessibility_pdf_item_result

Return every criterion the checker evaluated for one PDF as a flat list, one row per criterion, so a client can render the file’s full checklist instead of the counts `get_accessibility_pdf_files` summarizes. `itemId` is the `id` of a file row from `get_accessibility_pdf_files`. Each row names its family in `guideline` and its criterion in `criteria`; match those against `get_accessibility_pdf_guidelines` for the criterion’s title, explanation and link. `valid` is what the checker decided, `needsManualCheck` marks criteria a person still has to confirm, and archived results are included wi…

ParameterTypeDescription
itemId *numberID of the PDF file — the `id` from `get_accessibility_pdf_files`.
projectId *numberID of the project the file belongs to.

run_accessibility_pdf_upload_test

Start a PDF accessibility check of one file the account has uploaded, and answer the ID of the run it queued. Nothing is returned about the file itself: the check happens in another process and the result arrives as a row in `get_accessibility_pdf_files`. Upload the PDF once with `upload_file` and the `pdf_accessibility` purpose, then send the key it returned here. The key is not consumed, so one upload can back several runs, and each run copies the file for the checker and evaluates it again from scratch. A run costs one PDF check against the plan’s allowance, and a request with none left i…

ParameterTypeDescription
fileKey *stringKey returned by `upload_file` for a file uploaded with the `pdf_accessibility` purpose. It is not a public link, and only the account that uploaded it can use it.
projectId *integerID of the project the run belongs to.

run_accessibility_pdf_url_test

Start a PDF accessibility check of files named by URL, and answer the ID of the run it queued. Each URL becomes one file row in `get_accessibility_pdf_files`, identified by that URL. The checker fetches each URL itself, so only `http` and `https` are accepted, a host on a loopback, private or link-local address is refused with `400 invalid_url`, and so is a value that is not a URL at all. At most 100 URLs go in one call, and a URL repeated in the call is checked once. A run costs one PDF check per URL against the plan’s allowance, so a call that asks for more files than the allowance has lef…

ParameterTypeDescription
projectId *integerID of the project the run belongs to.
urls *arrayURLs of the PDF files to check, at most 100 per call. Each must be `http` or `https`, and each must be reachable from the checker rather than resolving to an internal address.

run_accessibility_pdf_sitemap_test

Start a PDF accessibility check of the PDF files already found on a project, and answer the ID of the run it queued. For a project created by crawling, the files come from the crawl; for one created from a sitemap, each sitemap item is fetched to see whether it serves a PDF. Each file the run finds becomes a row in `get_accessibility_pdf_files`. The run checks no more files than the plan’s allowance has left, so it costs at most that many checks, and a request with none left is refused with `403 pdf_testing_limit_reached`. A project with no crawled pages, and one with no PDF files, still sta…

ParameterTypeDescription
projectId *integerID of the project the run belongs to.

get_accessibility_pdf_run

Return the state of one PDF accessibility run and what it has found so far, for a caller that queued one and wants to know when the results are in the file list. The run is scoped to the project and the account that started it. Checking is asynchronous, so the run moves from `queued` to `running` and then to `completed`, and `urls` fills in once the checker has resolved its work. `completed` is not a verdict: a run that found nothing to check, or could not reach a URL, also ends there and says why in `error` and `errorReason`. The per-file results are in `get_accessibility_pdf_files`, and the…

ParameterTypeDescription
projectId *integerID of the project the run belongs to.
runId *integerID of the run, as the call that started it returned it: `run_accessibility_pdf_upload_test`, `run_accessibility_pdf_url_test` or `run_accessibility_pdf_sitemap_test`.

delete_accessibility_pdf_item

Drop one file out of the project’s PDF list: `get_accessibility_pdf_files` stops returning it, and every call that names it afterwards answers `404 pdf_item_not_found`. Deleting also drops the “never report this again” marks its findings had set. Those marks are matched by file address and criterion across the project, so a file that is deleted and later found again is checked afresh instead of being quietly dismissed. The checks it spent are not given back: the plan’s allowance counts files in the project, which deleting one does not reduce. Answers `200` with the deleted ID rather th…

ParameterTypeDescription
itemId *integerID of the PDF file — the `id` that `get_accessibility_pdf_files` reports.
projectId *integerID of the project the file belongs to.

refresh_accessibility_pdf_item

Queue one file to be checked again, replacing the results it has now. Use it after the file itself has been fixed: the checker fetches it afresh and records new results against the same file row. A refresh spends one check from the plan’s allowance, so it is refused with `403 pdf_testing_limit_reached` before anything is sent when none is left. Asking for a file that is already queued or running queues it again rather than failing, and each call spends another check. A refresh keeps dismissals made with `always`, which are matched by file address and criterion, but drops ordinary dismissals…

ParameterTypeDescription
itemId *integerID of the PDF file — the `id` that `get_accessibility_pdf_files` reports.
projectId *integerID of the project the file belongs to.

archive_accessibility_pdf_results

Dismiss findings on one PDF file, removing them from its problem counts and moving them into its archived counts. The file’s `status` — `FAIL`, `CONDITIONAL PASS` or `PASS` — is recomputed from what is left, so dismissing the last known problem can turn a file into a pass. Dismissing is what makes a note possible: a note is stored on the archive entry, so a result that is not archived has nowhere to keep one. Omitting `note`, or sending an empty string, leaves any note already there untouched; use `set_accessibility_pdf_result_note` to clear one. `always` makes the dismissal survive the…

ParameterTypeDescription
ids *arrayResults to archive, by the `id` that `get_accessibility_pdf_item_result` reports. Up to 200 per call, and every one of them has to belong to this file: one that does not answers `404` and nothing is w…
itemId *integerID of the PDF file — the `id` that `get_accessibility_pdf_files` reports.
projectId *integerID of the project the file belongs to.
alwaysbooleanWhen true, the dismissal also survives a later check of the same file, matched by address and criterion. Defaults to false, which dismisses this result only.
notestringNote to store with the dismissal, for example why it was accepted. Up to 1000 characters. Omitting it, or sending an empty string, leaves any note already there untouched.

unarchive_accessibility_pdf_results

Restore dismissed findings to the PDF file’s problem counts and recompute its `status`. The notes on them are dropped with the dismissal they were stored against, because a note is a field of the archive entry rather than an object of its own. Restoring also clears the “never report this again” marks that match those findings across the project, so the finding is reported normally by the next check of the same file instead of being dismissed on arrival. The batch is applied whole or not at all: an `ids` value that is not a result of this file answers `404 pdf_result_not_found` and nothin…

ParameterTypeDescription
ids *arrayResults to restore, by the `id` that `get_accessibility_pdf_item_result` reports. Up to 200 per call, and every one of them has to belong to this file: one that does not answers `404` and nothing is w…
itemId *integerID of the PDF file — the `id` that `get_accessibility_pdf_files` reports.
projectId *integerID of the project the file belongs to.

set_accessibility_pdf_result_note

Write the reviewer’s note on one archived finding of a PDF file, replacing any note already there. An empty string clears it, which is the only way to clear one: `archive_accessibility_pdf_results` leaves an existing note alone when it carries none. The finding has to be archived first, because the note is stored on the archive entry: an archived finding is one whose `isArchived` is true in `get_accessibility_pdf_item_result`, and that call reports the note back as `note`. Unarchiving the finding drops the note with it, and so does a refresh that replaces the results. A finding that is not a…

ParameterTypeDescription
itemId *integerID of the PDF file — the `id` that `get_accessibility_pdf_files` reports.
note *stringNote to store, up to 1000 characters. An empty string clears the note.
projectId *integerID of the project the file belongs to.
resultId *integerID of one result of that file — the `id` that `get_accessibility_pdf_item_result` reports.

get_accessibility_login_inputs

List the login prompts an accessibility run may be waiting on, with the current state of each. Authenticated projects reuse the crawl’s login recipe, so a run can pause for a deferred value such as an MFA code; poll this tool until an item reports `ready: 1`, then send it with `submit_accessibility_login_input`. Only the user who started the run sees its prompts: a colleague with access to the same project can read the report but gets an empty list here. The list is also empty for a project that does not sign in. A prompt that expired about an hour after the run created it reports `completed…

ParameterTypeDescription
projectId *numberID of the project the run belongs to.
reportId *numberID of the accessibility run — the `id` from `get_accessibility_results`, or the `id` that `run_accessibility_checker` returned.

submit_accessibility_login_input

Submit the value of a login prompt an accessibility run is waiting on, which releases the run to carry on checking. Omit `value` — the tool then sends an empty object — when the prompt already carries the value the run needs, such as an authenticator approval where the run reports the number to match; the input is marked complete and the value the run filled in is left as it is. Re-read `get_accessibility_login_inputs` if the prompt has expired, or start a new run with `run_accessibility_checker`; the run is still waiting while `get_accessibility_results` shows it unfinished.

ParameterTypeDescription
inputId *integer0-based position of the prompt, as returned by `get_accessibility_login_inputs`.
projectId *numberID of the project the run belongs to.
reportId *numberID of the accessibility run — the `id` from `get_accessibility_results`, or the `id` that `run_accessibility_checker` returned.
valuestringValue to enter, for example the MFA verification code. Omit it to mark the prompt complete without changing the value the run filled in. A value that is sent must not be empty.

upload_file

Upload a file and get the key another call accepts in its place. `purpose` is a contract rather than a label: it fixes the media types the file may have, its size limit, and the one call allowed to spend the returned key. The two import purposes feed `create_project_from_file` with the matching `type` — `project_text` for `text`, `project_xml` for `xml`. `pdf_accessibility` feeds `run_accessibility_pdf_upload_test`, `sitemap_content_image` feeds `store_content_image` and `sitemap_content_file` feeds `store_content_file`. The file is `file`, an absolute path on the machine running this server…

ParameterTypeDescription
file *stringAbsolute path to the file to store, on the machine running this server. Its declared media type must be one the purpose accepts, and it may not be empty or larger than that purpose’s limit: 64 MB fo…
purpose *stringWhat the file is for, which decides the media types it may have, its size limit, and the one call that can spend the key. `project_text` takes any `text/*` file plus `application/json`, `application/x…

store_content_image

Copy an image the account has already uploaded into the project’s image store, and answer the public address a content block points at. Upload the picture once with `upload_file` and the `sitemap_content_image` purpose, then send the key it returned here. Adoption is what makes the bytes public and what counts them against the account’s storage: until it runs, the upload waits in staging and expires there. An image is stored under the SHA-1 of its bytes, so uploading and adopting the same picture twice answers the same address and stores nothing new. Pointing a block at the address is a se…

ParameterTypeDescription
fileKey *stringKey returned by `upload_file` for a file uploaded with the `sitemap_content_image` purpose. It is not a public link, and only the account that uploaded it can use it.
projectId *integerID of the project the image belongs to.

get_content_images

List the images a project stores, so a caller can offer a choice of existing pictures instead of another upload. The list is the project’s whole image store, including the images the application’s own editor uploaded, because both read one library. Pages are ordered by stored name, which for an image is the hash of its bytes, so the order carries no meaning. Read on by passing the `nextCursor` of one response as the `cursor` of the next; a `null` `nextCursor` means the page was the last. A cursor belongs to one project, one kind of asset and one `search` value, so presenting it with anothe…

ParameterTypeDescription
projectId *integerID of the project whose images to list.
cursorstringCursor to continue from, taken from the `nextCursor` of the previous response. Omit it for the first page.
limitintegerMaximum number of images to return. Defaults to 50; a value above 200 is lowered to 200 rather than refused, and a value below 1 to 1.
searchstringText the stored name must start with, matched as a prefix rather than anywhere in the name. An image is stored under the hash of its bytes, so this narrows an image library hardly at all.

delete_content_image

Remove one image from the project’s store and take its bytes back off the account’s storage. The image is named by its address, which is what a block holds and what `get_content_images` returns. Nothing keeps a count of which blocks point at an image, so deleting one that a page still shows leaves that page pointing at an address that no longer answers: change the block with `replace_project_sitemap_item_content` as well. The call answers `204` with no body, so a repeat is safe but does not report that the image was already gone. A `url` that names nothing this project stores answers `404…

ParameterTypeDescription
projectId *integerID of the project the image belongs to.
url *stringAddress of the image to delete, as a block stores it: the `url` that `store_content_image` or `get_content_images` returned, or the one the application’s own library shows.

store_content_file

Copy a file the account has already uploaded into the project’s file store, and answer the public address and label that a `file` block shows. Upload the file once with `upload_file` and the `sitemap_content_file` purpose, then send the key it returned here. Adoption is what makes the bytes public and what counts them against the account’s storage: until it runs, the upload waits in staging and expires there. A file is stored under the name it was uploaded with, so adopting a file of the same name again replaces the stored one: the address stays the same and only the difference in size cou…

ParameterTypeDescription
fileKey *stringKey returned by `upload_file` for a file uploaded with the `sitemap_content_file` purpose. It is not a public link, and only the account that uploaded it can use it.
projectId *integerID of the project the file belongs to.

get_content_files

List the files a project stores, so a caller can offer a choice of existing files instead of another upload. The list is the project’s whole file store, including the files the application’s own editor uploaded, because both read one library. Pages are ordered by stored name, so the list reads alphabetically, and each item reports when it was written. Read on by passing the `nextCursor` of one response as the `cursor` of the next; a `null` `nextCursor` means the page was the last. A cursor belongs to one project, one kind of asset and one `search` value, so presenting it with another answe…

ParameterTypeDescription
projectId *integerID of the project whose files to list.
cursorstringCursor to continue from, taken from the `nextCursor` of the previous response. Omit it for the first page.
limitintegerMaximum number of files to return. Defaults to 50; a value above 200 is lowered to 200 rather than refused, and a value below 1 to 1.
searchstringText the stored name must start with, matched as a prefix rather than anywhere in the name. A file is stored under the name it was uploaded with, so this narrows a file library usefully.

delete_content_file

Remove one file from the project’s store and take its bytes back off the account’s storage. The file is named by its address, which is what a block holds and what `get_content_files` returns. Nothing keeps a count of which blocks point at a file, so deleting one that a page still links to leaves that page linking to an address that no longer answers: change the block with `replace_project_sitemap_item_content` as well. The call answers `204` with no body, so a repeat is safe but does not report that the file was already gone. A `url` that names nothing this project stores answers `404 file…

ParameterTypeDescription
projectId *integerID of the project the file belongs to.
url *stringAddress of the file to delete, as a block stores it: the `url` that `store_content_file` or `get_content_files` returned, or the one the application’s own library shows.

get_assignments

List assignments: one page of the content assignments in the account, one row per assignment, spanning every project that still holds assignments. A caller without account-wide visibility sees only the assignments assigned to them. Filters combine with AND: `search` matches the assignment title only, while `category`, `workflow` and `tags` match the page the assignment is attached to, so a project-wide assignment never matches them. `total` counts every match before the page is cut, so request pages until that many rows have been collected. A row carries no users and no metadata: read one with…

ParameterTypeDescription
categorynumberID of a page category to filter by, from `get_project_categories`. Matched against the page the assignment is attached to, so an assignment covering the whole project never matches. Omit it to include…
createdEndstringLatest creation date to include, as `YYYY-MM-DD` counted to 23:59:59 of that day. Applied only together with `createdStart`: on its own it has no effect.
createdStartstringEarliest creation date to include, as `YYYY-MM-DD` counted from 00:00:00 of that day. Applied only together with `createdEnd`: on its own it has no effect.
dueEndstringLatest due date to include, as `YYYY-MM-DD` counted to 23:59:59 of that day. Unlike the other date pairs this end works alone, as a plain “due on or before” bound; send `dueStart` with it for a cl…
dueStartstringEarliest due date to include, as `YYYY-MM-DD` counted from 00:00:00 of that day. Applied only together with `dueEnd`: on its own it has no effect.
filterByUserIdstringComma-separated user ids to narrow the list to, for example `12,34`; an assignment matches when at least one of those users is assigned to it. Only a caller who may see other people’s assignments ca…
limitnumberAssignments per page, from 1 to 100. Defaults to 20; a larger value is rejected rather than clamped, so request at most 100 per call and page through the rest.
orderBystringField to sort by: `created` (when the assignment was created), `start` (the start date of its window) or `due` (its deadline). Defaults to `created`.
orderDirstringDirection of the sort: `asc` puts the oldest or earliest first, `desc` the newest or latest. Defaults to `desc`, so the default listing is newest-created first.
pagenumberPage of results to return, 1-based. Defaults to 1, and a value below 1 is rejected. A page past the last one is not an error: it answers an empty `items` array with the same `total`.
searchstringText that must appear inside the assignment’s own title, matched as `LIKE %…%`, so `%` and `_` keep their wildcard meaning. The title of the page the assignment is attached to is not searched. Omi…
startEndstringLatest start date to include, as `YYYY-MM-DD` counted to 23:59:59 of that day. Applied only together with `startStart`: on its own it has no effect.
startStartstringEarliest start date to include, as `YYYY-MM-DD` counted from 00:00:00 of that day. Applied only together with `startEnd`: on its own it has no effect.
statusstringRestrict to `open` (still to be done) or `completed` (finished). Omit it for both; assignments in any other stored state are never returned.
tagsstringComma-separated page tag names, for example `seo,legal`; spaces around each name are trimmed and empty entries dropped. An assignment matches when its page carries at least one of the names, and an as…
workflowstringID of a workflow status to filter by, from `get_project_workflow_statuses`, sent as the string form of the id, for example "12" rather than 12. Matched against the page the assignment is attached to,…

get_project_assignments

List assignments in a project: the same rows, filters, defaults and paging as `get_assignments`, scoped to one project instead of the whole account. An id that is not in the account fails with `project_not_found` and one the caller may not read fails with `unauthorized_access`, both before any assignment is read; a project that has nothing matching is not an error and answers an empty `items` array with `total` 0. Assignee scoping still applies inside the project, so a caller without account-wide visibility sees only their own assignments there. Confirm the project is visible with `get_project…

ParameterTypeDescription
projectId *numberID of the project, from `get_projects`.
categorynumberID of a page category to filter by, from `get_project_categories`. Matched against the page the assignment is attached to, so an assignment covering the whole project never matches. Omit it to include…
createdEndstringLatest creation date to include, as `YYYY-MM-DD` counted to 23:59:59 of that day. Applied only together with `createdStart`: on its own it has no effect.
createdStartstringEarliest creation date to include, as `YYYY-MM-DD` counted from 00:00:00 of that day. Applied only together with `createdEnd`: on its own it has no effect.
dueEndstringLatest due date to include, as `YYYY-MM-DD` counted to 23:59:59 of that day. Unlike the other date pairs this end works alone, as a plain “due on or before” bound; send `dueStart` with it for a cl…
dueStartstringEarliest due date to include, as `YYYY-MM-DD` counted from 00:00:00 of that day. Applied only together with `dueEnd`: on its own it has no effect.
filterByUserIdstringComma-separated user ids to narrow the list to, for example `12,34`; an assignment matches when at least one of those users is assigned to it. Only a caller who may see other people’s assignments ca…
limitnumberAssignments per page, from 1 to 100. Defaults to 20; a larger value is rejected rather than clamped, so request at most 100 per call and page through the rest.
orderBystringField to sort by: `created` (when the assignment was created), `start` (the start date of its window) or `due` (its deadline). Defaults to `created`.
orderDirstringDirection of the sort: `asc` puts the oldest or earliest first, `desc` the newest or latest. Defaults to `desc`, so the default listing is newest-created first.
pagenumberPage of results to return, 1-based. Defaults to 1, and a value below 1 is rejected. A page past the last one is not an error: it answers an empty `items` array with the same `total`.
searchstringText that must appear inside the assignment’s own title, matched as `LIKE %…%`, so `%` and `_` keep their wildcard meaning. The title of the page the assignment is attached to is not searched. Omi…
startEndstringLatest start date to include, as `YYYY-MM-DD` counted to 23:59:59 of that day. Applied only together with `startStart`: on its own it has no effect.
startStartstringEarliest start date to include, as `YYYY-MM-DD` counted from 00:00:00 of that day. Applied only together with `startEnd`: on its own it has no effect.
statusstringRestrict to `open` (still to be done) or `completed` (finished). Omit it for both; assignments in any other stored state are never returned.
tagsstringComma-separated page tag names, for example `seo,legal`; spaces around each name are trimmed and empty entries dropped. An assignment matches when its page carries at least one of the names, and an as…
workflowstringID of a workflow status to filter by, from `get_project_workflow_statuses`, sent as the string form of the id, for example "12" rather than 12. Matched against the page the assignment is attached to,…

get_assignments_totals

Get assignment totals: how many assignments exist in all, how many are open, how many are completed, how many were created in the last seven days and how many are past due. No individual assignment comes back, so use `get_assignments` when the rows are needed. The figures follow the caller’s reach rather than a named project, and a caller without account-wide visibility is always narrowed to their own assignments. An account holding assignments in zero or one project has no project id to key on, so the call fails rather than answering counts — for a single project use `get_project_assignme…

ParameterTypeDescription
filterByUserIdstringComma-separated user ids to count assignments for, for example `12,34`; an assignment counts once when at least one of those users is assigned to it. Only a caller who may see other people’s assignm…

get_project_assignments_totals

Get totals for a project: the same five counts as `get_assignments_totals`, restricted to one project’s assignments — `total`, `open`, `completed`, `recent` (created in the last seven days) and `pastDue` (open and overdue). The numbers come from every assignment in the project, including any whose page no longer exists, so this is also the call to make when the account-wide totals fail. An id that is not in the account fails with `project_not_found` and one the caller may not read fails with `unauthorized_access`; a project with no assignments answers zeros rather than an error. `filterByU…

ParameterTypeDescription
projectId *numberID of the project, from `get_projects`.
filterByUserIdstringComma-separated user ids to count assignments for, for example `12,34`; an assignment counts once when at least one of those users is assigned to it. Only a caller who may see other people’s assignm…

get_assignment_details

Get an assignment: one assignment in full, with the fields the list tools leave out — `users`, the people it is assigned to with their display name and preferred color, and `metadata`, the free-form object stored with it. Unlike the lists it returns the assignment whatever its state. It fails when no assignment carries that id, and also when the assignment’s project is not one of the account’s published projects holding an open or completed assignment, so a failure does not always mean the assignment belongs to somebody else — one in a still-pending project lands there too. Those failu…

ParameterTypeDescription
id *numberID of the assignment, from `get_assignments`.