---
title: "LicenseMyContext — issue and evaluate context rights"
method: POST
path: "/v1/contexts/rights"
---

# LicenseMyContext — issue and evaluate context rights

`POST /v1/contexts/rights`

## Request

- Base URL: `https://api.scrubmytext.com`
- URL: `https://api.scrubmytext.com/v1/contexts/rights`
- Auth: HTTP bearer

Manages a digest-bound technical rights envelope and evaluates one declared right without making legal conclusions.

## Request body

- object
  - `operation` 'issue' | 'check' | 'evaluate' | 'revoke', required
  - `control_id` string
  - `context_digest` string: A lowercase SHA-256 digest, with an optional sha256: prefix.
  - `policy_digest` string: A lowercase SHA-256 digest, with an optional sha256: prefix.
  - `rights` string[]
  - `requested_right` 'read' | 'summarize' | 'derive' | 'redistribute' | 'train' | 'commercial'
  - `expires_in_seconds` integer

## Response `200`

Context-rights state or evaluation

## Other responses

- `401`: Paid API key required
- `422`: Invalid operation-specific input

---

[API](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api.md) · [All operations](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api/revisions/54ace36baccf?raw)
