Check a use against a license
check_licenseCall before using any image, text, dataset, code, font or model you did not create. Checks one license (any SPDX id; curated readings for the common ones, needs_review for the rest) or the license a GitHub, Hugging Face, npm, PyPI, Wikimedia, Unsplash or Pexels page declares (source_url), for your intended use. Returns permitted, prohibited, needs_review or not_documented, with duties and an uncertainty block (what the verdict leaves open; whether a human must review). Free, no key. Call with {"license": "CC-BY-4.0", "intended_use": {"commercial_use": true, "attribution_planned": true}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| license | No | SPDX id, e.g. CC-BY-NC-4.0 (uncurated ids answer needs_review) | |
| source_url | No | Instead of license: a page on GitHub, Hugging Face, npm, PyPI, Wikimedia Commons, Unsplash or Pexels; the license it declares is checked | |
| intended_use | Yes | Intended use: every true flag is a right the check must find documented; omitted flags are false; unknown fields are refused. For instance {"commercial_use":true,"deployment":true,"attribution_planned":true,"duration_days":365} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duties | No | ||
| license | No | ||
| verdict | Yes | ||
| findings | Yes | ||
| uncertainty | No | ||
| uses_evaluated | No |