---
title: "Scan in the Fulldev API"
description: "Every Scan operation of the Fulldev API, with what it takes, what it answers and an example."
---

# Scan in the Fulldev API

Every Scan operation of the Fulldev API, with what it takes, what it answers and an example.

The reference comes straight from the API's own definition, so it always matches what the API does. [The OpenAPI document](https://app.full.dev/api/openapi.json)

## revoke_public_link

`POST /api/v1/actions/revoke_public_link`

Revokes a public link (/view/<id>) of the organization for good: it shows nothing from then on and its id is never used again. Publishing the page again gives it a new link.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `linkId` (string, required): The id at the end of the link, after /view/.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## run_scan

`POST /api/v1/actions/run_scan`

Starts the next scan of one of the organization's Scan sites (siteId, the website's id) as soon as the worker has a free slot, also between its nightly rounds. The scan runs what the site's settings enable and counts toward the organization's weekly minutes. Running it twice is harmless; a paused site fails. Returns the site's id and its new due time.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `siteId` (string (uuid), required): The website's id, as Scan's sites list it.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## prepare_scan_upload

`POST /api/v1/actions/prepare_scan_upload`

A one-time 15-minute link to upload one screenshot (JPEG, PNG or WebP) or short screen recording (MP4 or WebM) up to 4 MB, as proof in a shared report's review (share_scan_report). POST the raw bytes to uploadUrl (never base64 in a tool call), then give fileId in the review's media. Once uploaded, anyone with its url can view it.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `contentType` ("image/jpeg" | "image/png" | "image/webp" | "video/mp4" | "video/webm", required): The file's type: WebP keeps a screenshot small, MP4 (H.264) plays everywhere.
- `size` (integer, optional): The file's size in bytes, up to 4 MB.
- `name` (string, optional)

### Response

- `fileId` (string (uuid), required)
- `uploadUrl` (string, required)
- `method` ("POST", required)
- `contentType` ("image/jpeg" | "image/png" | "image/webp" | "video/mp4" | "video/webm", required)
- `maxBytes` (integer, required)
- `expiresAt` (string, required)
- `url` (string, required)
- `instructions` (string, required)

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## share_scan_report

`POST /api/v1/actions/share_scan_report`

Makes a public link to the report of one of the organization's Scan sites (siteId, the website's id): of the scan runId, or else of the site's latest completed or partial scan. At level full, the default for Fulldev's own people and organizations Fulldev gave full reports, and refused for anyone else, the link shows a fixed copy, the findings with a few example pages each and how to fix them, their confidence and what the scan did, never its evidence or settings. At level partial, the default for everyone else, it shows every finding with why it matters and an example on a few, without their pages or how to fix them. Both end with the sharer's name and photo and one button with which a reader leaves their email address, which reaches the sharer by email. The whole page shows in its language. A title, a note, up to three highlights of the scan and a review of what you found by using the site yourself go on top, the highlights and review with screenshots and recordings uploaded through prepare_scan_upload first. Anyone with the url reads it without signing in, and it stays as it is after later scans and after the scan is removed, except that a hint hidden in Scan leaves it. Returns the runId, documentId, linkId and url; revoke_public_link with the linkId turns it off.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `siteId` (string (uuid), required): The website's id, as Scan's sites list it.
- `runId` (string (uuid), optional): The scan to share; the site's latest completed or partial scan when left out.
- `level` ("partial" | "full", optional): full (the default for Fulldev's own people, refused for anyone else): every finding with its pages and how to fix it. partial (the default for everyone else): every finding with why it matters and a few examples, for a reader who asks the sender for the rest.
- `language` ("en" | "nl", optional): The reader's language, in which you write the title, note, highlights and review: the whole page shows in it. Your own language in Fulldev when left out.
- `title` (string, optional): The report's short title on top, beside Fulldev's logo, such as "Webshop review of Example". "Scan report" when left out.
- `note` (string, optional): Your own words on top, as a short letter in the reader's language: who you are, why you looked and what you did. Plain text; a blank line starts a paragraph.
- `highlights` (array of object, optional): Up to three points of the scan the reader takes away first, the most important first, shown on top as its summary with how many of the scan's findings the report shows.
  - `title` (string, required): The point in a few plain words, such as "Links to 26 pages are dead".
  - `text` (string, optional): One sentence with a concrete example from the site.
  - `severity` ("critical" | "warning" | "hint", optional): The severity of the scan's finding it is about: critical stops a visitor, warning costs visitors, sales or trust.
  - `url` (string (uri), optional): A page of the site where the reader sees it, such as the 404.
  - `media` (array of object, optional): Up to four screenshots or short recordings that show the point on the site.
    - `fileId` (string (uuid), required): A screenshot or recording from prepare_scan_upload, uploaded.
    - `alt` (string, required): What it shows, as its caption, such as "The Millie Jeans look on a phone opens a 404".
- `review` (array of object, optional): What you found by using the site yourself, beyond the scan: how it looks, how easy it is to use and what you tried, with screenshots and recordings as proof. Shown above the scan's findings, in this order; a partial link calls it a first round in a short time.
  - `severity` ("critical" | "warning" | "hint", required): critical: it stops a visitor, such as an order or form that cannot be sent. warning: it costs visitors, sales or trust. hint: polish.
  - `title` (string, required): What is wrong, in plain words.
  - `observed` (string, required): What you did and saw, step by step, so the reader can repeat it. Only what you saw yourself.
  - `impact` (string, optional): Why it matters to visitors or the business.
  - `advice` (string, optional): How to fix it. A partial link leaves it out.
  - `url` (string (uri), optional): The page where it shows.
  - `device` ("mobile" | "desktop", optional): Where you saw it, when it shows on one only.
  - `media` (array of object, optional): Up to four screenshots or short recordings that show it.
    - `fileId` (string (uuid), required): A screenshot or recording from prepare_scan_upload, uploaded.
    - `alt` (string, required): What it shows, as its caption, such as "The Millie Jeans look on a phone opens a 404".

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## add_scan_site

`POST /api/v1/actions/add_scan_site`

Adds a website to the organization's Scan by its address, for owners and admins, within the organization's site limit. Its host name must exist and be public. A site the organization has already is returned as it is, also to members; one it removed before comes back with its history. The first scan follows in the worker's next round. Returns the site; its id is the siteId other Scan calls take.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `address` (string, required): The website's address, such as example.com.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## check_scan_link

`POST /api/v1/actions/check_scan_link`

Marks a link the scan of one of the organization's Scan sites could not open as checked by hand (works: true), so it leaves the site's to-dos, or takes that back (works: false). It is remembered per address, so a changed link is to do again. Returns the site's id, the address and works.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `siteId` (string (uuid), required): The website's id, as Scan's sites list it.
- `address` (string, required): The destination's address, as the to-dos list it.
- `works` (boolean, required)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## request_scan_capacity

`POST /api/v1/actions/request_scan_capacity`

Asks Fulldev for more scan time for one of the organization's Scan sites, by its siteId (the website's id), when its scan ran out of time before it checked every page. Fulldev's team gets an email with who asked and contacts them; asking again the same day sends nothing more. Returns the site's id and requested: true.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `siteId` (string (uuid), required): The website's id, as Scan's sites list it.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## set_scan_emails

`POST /api/v1/actions/set_scan_emails`

Sets the organization's Scan emails, for its owners and admins: the daily digest of new critical findings and unfinished scans (critical), the weekly overview (weekly), and an optional reportEmail instead of members' account addresses. Omit reportEmail to keep it; null restores delivery to members with Scan access. Central reports are in English; report links still require Scan access. Returns the organization's Scan.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `critical` (boolean, required)
- `weekly` (boolean, required)
- `reportEmail` (string | null, optional)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## List scan's instances

`GET /api/v1/services/scan`

Scan, Fulldev's website scanner: each website the organization scans, with its schedule, checks, hidden hints and emails, the latest scan's health and the organization's minutes. Its queries read a site's latest result, findings, their evidence, scans, a scan's report, hint rules and shared reports. The run_scan action brings a scan forward.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
curl "https://app.full.dev/api/v1/services/scan" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Get scan's settings and status

`GET /api/v1/services/scan/{id}`

Scan, Fulldev's website scanner: each website the organization scans, with its schedule, checks, hidden hints and emails, the latest scan's health and the organization's minutes. Its queries read a site's latest result, findings, their evidence, scans, a scan's report, hint rules and shared reports. The run_scan action brings a scan forward.

### Parameters

- `id` (path, string, required)

### Response

- `settings` (object, required)
  - `enabled` (boolean, required): Whether the site is scanned on its schedule; off pauses it.
  - `interval` ("daily" | "weekly" | "fourWeeks", required): How often the site is scanned.
  - `lighthouse` ("all" | "sample" | "off", required): Every page, the scan's rotating sample, or none.
  - `browserChecks` ("all" | "sample" | "off", required): Accessibility, mobile layout, JavaScript errors and consent, measured in a browser.
  - `images` ("all" | "sample" | "off", required): Every page, the scan's rotating sample, or none.
  - `locales` ("all" | "sample" | "off", required): Pages in the languages other than the site's primary one.
  - `markdown` ("all" | "sample" | "off", required): The Markdown versions of pages, for agents.
  - `hiddenHints` (array of string, required): The codes of the hint rules the site hides (the hint_rules query); [] shows them all.
  - `criticalEmails` (boolean, required): The organization's email about new critical problems.
  - `weeklyEmails` (boolean, required): The organization's weekly email.
- `status` (object, required)
  - `url` (string, required)
  - `sharedBy` (string | null, required): The organization that owns the website and shares it with yours, whose owners and admins alone change its settings; null for your own.
  - `lastRun` (object | null, required): The latest finished scan.
    - `id` (string, required)
    - `finishedAt` (string, required)
    - `status` (string, required)
    - `counts` (object, required)
  - `nextRunAt` (string | null, required): When the next scheduled scan is due; null while paused or while its schedule is off.
  - `scheduleOff` ("preview" | "projects" | null, required): Why its scheduled scans do not run although it is on: preview, a deploy preview's or branch deploy's address, scanned only when added or asked (run_scan); projects, every Work project of its organization linked to its website is completed, dropped or archived, until one is active again. Null while they run.
  - `health` ("healthy" | "attention" | "critical" | null, required)
  - `minutesUsed` (number, required): The organization's minutes of scanning this week.
  - `minuteLimit` (number, required)
  - `workerSeenAt` (string | null, required): When Scan's worker last claimed or reported a scan.

### Example

```sh
curl "https://app.full.dev/api/v1/services/scan/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Change scan's settings

`PATCH /api/v1/services/scan/{id}`

### Parameters

- `id` (path, string, required)
- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (optional)

- `enabled` (boolean, optional): Whether the site is scanned on its schedule; off pauses it.
- `interval` ("daily" | "weekly" | "fourWeeks", optional): How often the site is scanned.
- `lighthouse` ("all" | "sample" | "off", optional): Every page, the scan's rotating sample, or none.
- `browserChecks` ("all" | "sample" | "off", optional): Accessibility, mobile layout, JavaScript errors and consent, measured in a browser.
- `images` ("all" | "sample" | "off", optional): Every page, the scan's rotating sample, or none.
- `locales` ("all" | "sample" | "off", optional): Pages in the languages other than the site's primary one.
- `markdown` ("all" | "sample" | "off", optional): The Markdown versions of pages, for agents.
- `hiddenHints` (array of string, optional): The codes of the hint rules the site hides (the hint_rules query); [] shows them all.
- `criticalEmails` (boolean, optional): The organization's email about new critical problems.
- `weeklyEmails` (boolean, optional): The organization's weekly email.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X PATCH "https://app.full.dev/api/v1/services/scan/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## scan: history

`POST /api/v1/services/scan/queries/history`

Historical run measurements for one site (siteId) or the organization. Ascending finishedAt/runId; [from,to) UTC dates; follow nextCursor in after. Points survive report retention. Scores are 0-100, timings ms, CLS unitless, pageBytes bytes. Measured flags distinguish fresh scores from carried values; rulesVersion identifies the report rules' source commit. Counts are as measured, before hidden hints.

### Body (optional)

- `siteId` (string (uuid), optional)
- `from` (string (date-time), optional)
- `to` (string (date-time), optional)
- `after` (object, optional)
  - `at` (string (date-time), required)
  - `id` (string (uuid), required)
- `limit` (integer, optional)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
curl -X POST "https://app.full.dev/api/v1/services/scan/queries/history" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## scan: result

`POST /api/v1/services/scan/queries/result`

A site's latest scan in brief: its health and counts, the pages it checked, the stack it recognized (platform, framework, hosting and services, each with its category), its Lighthouse scores and the five most urgent open problems of the site, each with its dashboardUrl. The findings and report queries have the rest. Without full reports, a problem has its title, why it matters and its pages, without what is wrong or its fix.

### Body (required)

- `siteId` (string (uuid), required): The website's id, as the service lists it.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
curl -X POST "https://app.full.dev/api/v1/services/scan/queries/result" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "siteId": "00000000-0000-4000-8000-000000000000"
}'
```

## scan: findings

`POST /api/v1/services/scan/queries/findings`

The findings of one site (siteId) or of every site, with filters, each with a short sample of its evidence. A category of request is what the scan could not verify, with what the owner can do about it. Only for Fulldev and organizations it gave full reports; others get FORBIDDEN and read the result query.

### Body (optional)

- `severity` (string, optional)
- `status` ("open" | "resolved" | "unverified", optional)
- `tier` (string, optional)
- `topic` (string, optional)
- `siteId` (string (uuid), optional): The website's id, as the service lists it.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
curl -X POST "https://app.full.dev/api/v1/services/scan/queries/findings" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## scan: evidence

`POST /api/v1/services/scan/queries/evidence`

Every retained evidence item of one finding (findingId) in one scan (runId), at most 200 a page; follow nextCursor in after. Only for Fulldev and organizations it gave full reports; others get FORBIDDEN and read the result query.

### Body (required)

- `after` (string, optional)
- `findingId` (string, required)
- `limit` (integer, optional)
- `runId` (string, required)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
curl -X POST "https://app.full.dev/api/v1/services/scan/queries/evidence" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "findingId": "findingId",
  "runId": "runId"
}'
```

## scan: runs

`POST /api/v1/services/scan/queries/runs`

A site's scans, newest first.

### Body (required)

- `siteId` (string (uuid), required): The website's id, as the service lists it.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
curl -X POST "https://app.full.dev/api/v1/services/scan/queries/runs" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "siteId": "00000000-0000-4000-8000-000000000000"
}'
```

## scan: report

`POST /api/v1/services/scan/queries/report`

One page of a scan's report (id: the scan's id): its summary and findings; follow nextCursor in after, and read complete details with section. Only for Fulldev and organizations it gave full reports; others get FORBIDDEN and read the result query.

### Body (required)

- `id` (string, required)
- `after` (string, optional): nextCursor from findings or the requested section.
- `section` (array of string | integer, optional): Read complete details at this path, for example ["coverage"] or ["changes", "changedPages"]. [] lists all report sections. Large values give a section path to follow; strings page without losing text. For a very large site, page lists in changes keep their first 300 pages; fullLength gives their full count, the rest is not stored.
- `keyIndex` (integer, optional): Read the complete object key at this index in section, when an entry returns keyIndex. Follow nextCursor for long key names.
- `limit` (integer, optional): Most findings per page, 25 when left out.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
curl -X POST "https://app.full.dev/api/v1/services/scan/queries/report" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "id"
}'
```

## scan: hint_rules

`POST /api/v1/services/scan/queries/hint_rules`

The hint rules a site can hide, with whether it hides each.

### Body (required)

- `siteId` (string (uuid), required): The website's id, as the service lists it.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
curl -X POST "https://app.full.dev/api/v1/services/scan/queries/hint_rules" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "siteId": "00000000-0000-4000-8000-000000000000"
}'
```

## scan: shared_reports

`POST /api/v1/services/scan/queries/shared_reports`

A site's public report links that are live; share_scan_report makes one and revoke_public_link ends it.

### Body (required)

- `siteId` (string (uuid), required): The website's id, as the service lists it.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
curl -X POST "https://app.full.dev/api/v1/services/scan/queries/shared_reports" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "siteId": "00000000-0000-4000-8000-000000000000"
}'
```
