# POST /v1/workspace/vocabulary

Record values this workspace used, so later completions know them. `seen` carries {header, value, weight}: weight 1 for something a person typed, a fraction for a bulk source, and a bulk source must send each DISTINCT value once rather than once per row — otherwise one large import outweighs everything anyone has typed by hand. Writes nothing a person sees; it only teaches the completions.

Access class: `workspace`.

## Endpoint

`POST /v1/workspace/vocabulary`

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "seen": [
      {
        "header": "string",
        "value": "string",
        "weight": "string"
      }
    ]
  },
  "params": {},
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
