---
title: "POST /v1/workspaces/{workspaceNameOrID}/skill-inventories/{id}/rescan"
method: POST
path: "/v1/workspaces/{workspaceNameOrID}/skill-inventories/{id}/rescan"
tags: ["SkillInventory"]
---

# POST /v1/workspaces/{workspaceNameOrID}/skill-inventories/{id}/rescan

`POST /v1/workspaces/{workspaceNameOrID}/skill-inventories/{id}/rescan`

Starts an on-demand re-scan of a skill inventory (the "scan now" action). Requires publisher rights on the workspace and that the inventory has opted into automatic scanning. Returns 409 (not_opted_in) when the inventory has not opted in, and 409 (indexing_in_flight, analysis_in_flight, or rescan_in_flight) when a scan or index is already running for the inventory — the operation is idempotent, so a duplicate trigger never stacks a second scan. The route only starts the workflow; the scan, persist, and follow-up indexing run inside it.

## Path parameters

- `workspaceNameOrID` string, required
- `id` string, uuid, required

## Headers

- `Authorization` string

## Response `200`

Default Response

- object
  - `links` object, required
    - `self` string, uri, required
  - `data` object, required
    - `id` string, uuid, required
    - `type` 'skill-inventory', required
    - `attributes` object, required
      - `status` 'started', required
      - `workflowId` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.net/tessl/apis/tessl-api.md) · [All operations](https://skmtc.net/tessl/apis/tessl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tessl/tessl-api/versions/fbb186825642/schema)
