POST /api/analyze
Analyze a public legal document and receive review guidance.
Request
http
POST https://themys.ca/api/analyze
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Provide exactly one of url or text. Use url to have Themys fetch and analyze a public terms page; use text only when you already have the document content.
Scan a target URL
json
{
"url": "https://example.com/terms"
}
Analyze supplied text
json
{
"text": "Terms of Service ...",
"domain": "example.com"
}
Response
The response includes an attention level, a summary, flagged clauses, and a structured extraction when available.
json
{
"summary": "A plain-language overview of the document.",
"flags": [],
"fullExtraction": []
}
Automated analysis can be incomplete or inaccurate. It is informational only and not legal advice.