Classify assets and read your inventory from your own systems — ticketing tools, DLP pipelines, CI jobs, internal portals.
jira-sync) and click Create key.Send your key in the X-API-Key header on every request. All endpoints are scoped to
your workspace — you can only ever see your own data.
# Quick test — list your classification labels
curl https://YOUR-APP-URL/api/v1/labels \
-H "X-API-Key: chk_your_key_here"
| Method | Path | What it does |
|---|---|---|
| POST | /api/v1/classify |
Classify one asset and store it in your inventory. Body: name (required),
asset_type, content. Returns the label and matched rules. |
| GET | /api/v1/assets |
List classified assets, newest first. Query params: q (name contains),
source (manual | csv | agent | api), limit (max 500). |
| GET | /api/v1/labels |
Your label scheme with sensitivity levels and colors. |
| GET | /api/v1/rules |
Your enabled detection rules in priority order — useful for classifying locally. |
curl -X POST https://YOUR-APP-URL/api/v1/classify \
-H "X-API-Key: chk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "vendor-contract-2026.pdf",
"asset_type": "document",
"content": "Confidential — NDA. Payment to IBAN DE89370400440532013000"
}'
# Response
{
"id": 1042,
"name": "vendor-contract-2026.pdf",
"label": { "name": "Confidential", "level": 2, "color": "#f59e0b" },
"matched_rules": "Marked confidential, Financial data",
"source": "api",
"classified_at": "2026-06-12T08:30:00"
}
import requests
API = "https://YOUR-APP-URL/api/v1"
HEADERS = {"X-API-Key": "chk_your_key_here"}
r = requests.post(f"{API}/classify", headers=HEADERS, json={
"name": "export-customers.csv",
"content": open("export-customers.csv").read()[:64000],
})
print(r.json()["label"]["name"])
| Status | Meaning |
|---|---|
401 | Missing, invalid or revoked API key. |
402 | Your workspace is not on an active paid plan, or an asset/plan quota
was reached. The response detail says which. |
403 | Workspace suspended — contact support. |
422 | Request body failed validation; detail lists the fields. |
Full interactive reference (request/response schemas, try-it-out): /docs. Questions? Contact us.