Enrichments
Enrichment
Enrich documents with an Isaacus enrichment model.
post/enrichments
Request body
Example request
{
"model": "kanon-2-enricher",
"texts": [
"[42] The U.S. Attorney General, Mr. McGill, argued at ¶ 21 of the Filing that \"§ 206 of Title 29 of the U.S. Code (the \"Labor Title\") does not apply to the plaintiff, Ms. Moody, given the definition of an \"employee\" at §203(e)(4) of the Labor Title does not include volunteers, and, regardless, she lives in Austria.\""
],
"overflow_strategy": "auto"
}Response
The enriched documents alongside usage statistics.
Example response
{
"results": [
{
"index": 0,
"document": {
"version": "ilgs@1",
"text": "[42] The U.S. Attorney General, Mr. McGill, argued at ¶ 21 of the Filing that \"§ 206 of Title 29 of the U.S. Code (the \"Labor Title\") does not apply to the plaintiff, Ms. Moody, given the definition of an \"employee\" at §203(e)(4) of the Labor Title does not include volunteers, and, regardless, she lives in Austria.\"",
"title": null,
"subtitle": null,
"type": "other",
"jurisdiction": "US-FED",
"segments": [
{
"id": "seg:0",
"kind": "unit",
"type": "paragraph",
"category": "annotation",
"type_name": null,
"code": {
"start": 0,
"end": 4
},
"title": null,
"parent": null,
"children": [],
"level": 0,
"span": {
"start": 0,
"end": 317
}
}
],
"crossreferences": [],
"locations": [
{
"id": "loc:0",
"name": {
"start": 308,
"end": 315
},
"type": "country",
"parent": null,
"children": [],
"mentions": [
{
"start": 308,
"end": 315
}
]
}
],
"persons": [
{
"id": "per:0",
"name": {
"start": 32,
"end": 42
},
"type": "natural",
"role": "defense_counsel",
"parent": null,
"children": [],
"residence": null,
"mentions": [
{
"start": 32,
"end": 42
}
]
},
{
"id": "per:1",
"name": {
"start": 167,
"end": 176
},
"type": "natural",
"role": "plaintiff",
"parent": null,
"children": [],
"residence": "loc:0",
"mentions": [
{
"start": 167,
"end": 176
}
]
}
],
"emails": [],
"websites": [],
"phone_numbers": [],
"id_numbers": [],
"terms": [
{
"id": "term:0",
"name": {
"start": 120,
"end": 131
},
"meaning": {
"start": 88,
"end": 113
},
"mentions": [
{
"start": 237,
"end": 248
}
]
}
],
"external_documents": [
{
"id": "exd:0",
"name": {
"start": 66,
"end": 72
},
"type": "other",
"jurisdiction": "US-FED",
"reception": "neutral",
"mentions": [
{
"start": 66,
"end": 72
}
],
"pinpoints": [
{
"start": 54,
"end": 58
}
]
},
{
"id": "exd:1",
"name": {
"start": 80,
"end": 113
},
"type": "statute",
"jurisdiction": "US-FED",
"reception": "neutral",
"mentions": [
{
"start": 80,
"end": 113
}
],
"pinpoints": [
{
"start": 79,
"end": 84
},
{
"start": 219,
"end": 229
}
]
}
],
"quotes": [
{
"source_segment": null,
"source_document": "exd:0",
"source_person": "per:0",
"amending": false,
"span": {
"start": 79,
"end": 317
}
}
],
"dates": [],
"headings": [],
"junk": []
}
}
],
"usage": {
"input_tokens": 91
}
}