Skip to main content

projects/{pid}/workflows/{did}/wordcounts/{trg}

Offers detailed word counts for a workflow, specifically for a document in a designated target language.

URL

CODE
(GET) /api/projects/{pid}/workflows/{did}/wordcounts/{trg}

PARAMETERS

The URL parameters are:

pid

The project ID

int, Mandatory

did

The document ID

int, Mandatory

trg

The target language code

string, Mandatory

RESULTS

This method returns detailed word counts.

The properties are documented here: projects/{pid}/wordcounts/{did}/{trg}

Example:

CODE
{
    "did": 18494,
    "locs": "en",
    "loct": "es",
    "dt": "2024-03-27T10:29:40.897Z",
    "wcid": 19786,
    "segments": 3,
    "words": 15,
    "chars": 57,
    "pages": null,
    "minutes": null,
    "wordsExcluded": 0,
    "charsTranslated": null,
    "wordsTranslated": null,
    "wdPretransIdentical": 0,
    "wdPretransIdenticalCtx": 0,
    "wdPretransIdenticalPrevCtx": 0,
    "wdPretransIdenticalPrev": 0,
    "wdPretransIdenticalMT": 0,
    "wdPretransFuzzy": 0,
    "wd110": 0,
    "wd100": 0,
    "wdMatch1": 0,
    "wdMatch2": 10,
    "wdMatch3": 0,
    "wdMatch4": 0,
    "wdMatch5": 0,
    "tags": 0,
    "spaces": 12,
    "punctuation": 0,
    "nonAsianWords": 0,
    "asianCharacters": 0
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.