---
title: "Extract skills from document"
method: POST
path: "/versions/{version}/extract"
tags: ["Extract"]
---

# Extract skills from document

`POST /versions/{version}/extract`

Returns a list of skills found in a document.

Supported document types and their expected Content-Type:
  * JSON – `application/json` **Document must be UTF-8 encoded.**
  * Plain text – `text/plain`
  * PDF – `application/pdf`
  * Word (docx) – `application/vnd.openxmlformats-officedocument.wordprocessingml.document`

Request document size is limited to 10MB, text parsed from the document is limited to 50KB.

Note that this endpoint has a free tier monthly quota of 50 requests. [Contact us](https://skills.emsidata.com/contact) if you'd like this increased or made unlimited. Responses from this endpoint will include two headers, `RateLimit-Remaining` and `RateLimit-Reset`, which indicate how many requests you have remaining in your current quota period and when that quota will reset, respectively.

## Path parameters

- `version` string, required

## Query parameters

- `language` string
- `confidenceThreshold` number

## Request body

- object
  - `text` string, required
  - `confidenceThreshold` number

## Response `200`

OK

- object
  - `attributions` object[], required
    - `name` string, required
    - `text` string, required
  - `data` object[], required
    - `confidence` number, required
    - `skill` object, required
      - `type` object, required
        - `id` string, required
        - `name` string, required
      - `id` string, required
      - `name` string, required
      - `tags` object[], required
        - `key` string, required
        - `value` string, required
      - `infoUrl` string, required
      - `description` string, nullable
      - `descriptionSource` string, nullable

## Other responses

- `400` — bad request
- `404` — requested resource not found
- `413` — request size too large
- `415` — wrong content type for request body

---

[API](https://skmtc.net/lightcast/apis/alumni-pathways-2-0.md) · [All operations](https://skmtc.net/lightcast/apis/alumni-pathways-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightcast/alumni-pathways-2-0/revisions/fc66b9877391/schema)
