---
title: "Create a context."
method: POST
path: "/api/contexts"
tags: ["Contexts"]
---

# Create a context.

`POST /api/contexts`

Create a new context. Requires the `contexts:write` scope.

## Query parameters

- `name` string, required
- `entity_type_disambiguation` boolean
- `ledger` boolean
- `owner` string

## Headers

- `Authorization` string, required

## Response `200`

The context was created.

## Other responses

- `400` — The context could not be created.
- `401` — Unauthorized
- `409` — A context with this name already exists.
- `413` — Content Too Large
- `415` — Unsupported Media Type
- `500` — Internal Server Error
- `503` — Service Unavailable

---

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