Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.esheria.ai/llms.txt

Use this file to discover all available pages before exploring further.

Obligation workflows return published duties with citation metadata. Use them to build compliance registers, workflow task lists, review checklists, and agent context.

List Obligations

curl --compressed -sS \
  "$ESHERIA_API_BASE_URL/api/v1/domain-packs/KE-DATA-PROTECTION/obligations?duty_holder=data_controller&limit=5" \
  -H "x-api-key: $ESHERIA_API_KEY" | jq

Filters

Common filters:
  • duty_holder
  • workflow_target
  • instrument_id
  • evidence_type
  • q
  • limit
  • offset

Expected Shape

{
  "status": "ok",
  "data": {
    "domain_pack": {
      "domain_pack_id": "KE-DATA-PROTECTION",
      "publication_mode": "published",
      "index_row_count": 59
    },
    "obligations": [
      {
        "semantic_obligation_id": "...",
        "duty_holders": ["data_controller"],
        "legal_action": "...",
        "citation_ids": ["..."],
        "quote_spans": []
      }
    ],
    "pagination": {
      "total": 42,
      "limit": 5,
      "offset": 0
    }
  },
  "trace_id": "..."
}

Applicability Check

Use applicability when you need to match obligations against an entity profile.
esheria applicability check \
  KE-DATA-PROTECTION \
  --role data_controller \
  --activity personal_data_processing \
  --sector financial_services \
  --limit 5 \
  --format json
The response returns applicable_obligations with a status, score, reasons, and citation IDs.