{"openapi":"3.0.0","info":{"title":"Silvertext Writing Check API","version":"1.0.0","description":"Submit a document (pasted text or an uploaded file) and read back one report: word-level plagiarism matches with their sources, grammar and spelling findings, citation checks in APA, MLA or Chicago, and a calibrated AI-content likelihood, each finding carrying a fix the caller can apply. Checks run asynchronously: create one, poll it by id, read the report when it is done. Credits meter usage per plan. The Silvertext app, the MCP server and this reference all sit on the same endpoints.","contact":{"name":"Silvertext support","url":"https://silvertext.com/help","email":"hello@silvertext.com"},"termsOfService":"https://silvertext.com/terms"},"externalDocs":{"description":"Developer documentation","url":"https://silvertext.com/developers"},"servers":[{"url":"https://api.silvertext.com","description":"Production"},{"url":"https://api.staging.silvertext.com","description":"Staging"},{"url":"http://api.silvertext.localhost","description":"Local development"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key (st_live_…)","description":"Create a key under Account → API. Send it as `Authorization: Bearer st_live_…`. Keys carry scopes: `checks:write` (create, cancel, delete), `checks:read` (list, get) and `usage:read` (credit position)."}},"schemas":{},"parameters":{}},"paths":{"/v1/checks":{"post":{"summary":"Create a check from text or a file","description":"One call runs the plagiarism, grammar, citation, AI-content and style checks on a document. Every refusal about the document itself answers here, synchronously (`no_input`, `too_short`, `too_long`, `unsupported_type`, `unreadable_file`, `file_too_large` (413), `unsupported_language`, `multiple_inputs`, `invalid_file`), so a check that is accepted (202) has been read and will run. Only a scanned PDF or an image is read later, by OCR, while the check runs.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":200,"description":"Any string unique to this submission. A retry carrying the same key answers the first check’s id (202, `Idempotent-Replayed: true`) and never starts or charges a second check."},"required":false,"name":"idempotency-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":400000},"file":{"type":"string","minLength":1},"filename":{"type":"string","maxLength":200},"mimeType":{"type":"string","maxLength":200},"mode":{"type":"string","enum":["full","guest"],"default":"full"},"title":{"type":"string","maxLength":200},"options":{"type":"object","properties":{"plagiarism":{"type":"boolean","default":true},"grammarSpelling":{"type":"boolean","default":true},"citations":{"type":"boolean","default":true},"aiContent":{"type":"boolean","default":true},"style":{"type":"boolean","default":true},"register":{"type":"string","enum":["academic","general"],"default":"academic"}},"default":{}},"citationStyle":{"type":"string","enum":["APA","MLA","Chicago"],"default":"APA"}},"description":"Send the document as `text`, or as `file` (base64 or a `data:` URL) with an optional `filename`. The file is judged by its bytes, never by its name or declared type: .txt, .md, .html, .csv, .docx, .xlsx, .pdf, and JPEG/PNG/GIF/WebP images (OCR). Text is decoded from UTF-8, UTF-16 or Windows-1252. `options` selects which issue categories run: plagiarism, grammarSpelling, citations, aiContent, and `style`, the clarity + word-choice layer, whose findings come back as `clarity` / `word_choice` issues plus a `scores.clarity` density (null when the style pass did not run). `options.register` (\"academic\" | \"general\") selects which word-choice rules apply: academic flags contractions, colloquial wording and first-person asides."}},"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","description":"The document as a file.","format":"binary"},"text":{"type":"string","description":"The document as text."},"mode":{"type":"string","enum":["full","guest"]},"title":{"type":"string","maxLength":200},"options":{"type":"string","description":"The `options` object, JSON-encoded.","example":"{\"style\":true}"},"citationStyle":{"type":"string"}},"description":"Exactly one of `file` / `text`. The document is judged by content, as for JSON. `options` selects which issue categories run: plagiarism, grammarSpelling, citations, aiContent, and `style`, the clarity + word-choice layer, whose findings come back as `clarity` / `word_choice` issues plus a `scores.clarity` density (null when the style pass did not run). `options.register` (\"academic\" | \"general\") selects which word-choice rules apply: academic flags contractions, colloquial wording and first-person asides."}},"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"file":{"type":"string","description":"The document as a file.","format":"binary"},"text":{"type":"string","description":"The document as text."},"mode":{"type":"string","enum":["full","guest"]},"title":{"type":"string","maxLength":200},"options":{"type":"string","description":"The `options` object, JSON-encoded.","example":"{\"style\":true}"},"citationStyle":{"type":"string"}},"description":"Exactly one of `file` / `text`. The document is judged by content, as for JSON. `options` selects which issue categories run: plagiarism, grammarSpelling, citations, aiContent, and `style`, the clarity + word-choice layer, whose findings come back as `clarity` / `word_choice` issues plus a `scores.clarity` density (null when the style pass did not run). `options.register` (\"academic\" | \"general\") selects which word-choice rules apply: academic flags contractions, colloquial wording and first-person asides."}},"text/plain":{"schema":{"type":"string","description":"The body IS the document. A `text/*` body is a paste; any other media type is a file, sniffed by content. `title`, `mode`, `citationStyle`, `options` (JSON-encoded) and `filename` ride in the query string; `Content-Disposition: attachment; filename=\"…\"` names the file too.","format":"binary"}},"application/octet-stream":{"schema":{"type":"string","description":"The body IS the document. A `text/*` body is a paste; any other media type is a file, sniffed by content. `title`, `mode`, `citationStyle`, `options` (JSON-encoded) and `filename` ride in the query string; `Content-Disposition: attachment; filename=\"…\"` names the file too.","format":"binary"}}}},"responses":{"202":{"description":"Accepted; poll the check by id.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}}}},"400":{"description":"Bad input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"402":{"description":"No active plan / quota exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Requested mode is disabled","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"413":{"description":"The file exceeds the plan’s upload cap","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}},"operationId":"createCheck","tags":["Checks"]},"get":{"summary":"List checks","responses":{"200":{"description":"Checks","content":{"application/json":{"schema":{"type":"object","properties":{"checks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string","nullable":true},"status":{"type":"string","enum":["queued","extracting","analyzing","searching","scoring","done","rejected","cancelled","failed"]},"progress":{"type":"number"},"phase":{"type":"string"},"wordCount":{"type":"number","nullable":true},"inputKind":{"type":"string"},"originalityScore":{"type":"number","nullable":true},"coverage":{"type":"number","nullable":true},"scores":{"type":"object","nullable":true,"properties":{"plagiarism":{"type":"number"},"citation":{"type":"number","nullable":true},"grammarSpelling":{"type":"number","nullable":true},"aiContent":{"type":"number","nullable":true},"clarity":{"type":"number","nullable":true,"default":null}},"required":["plagiarism","citation","grammarSpelling","aiContent"]},"issueCounts":{"type":"object","nullable":true,"properties":{"citations":{"type":"number"},"grammar":{"type":"number"}},"required":["citations","grammar"]},"rejection":{"type":"object","nullable":true,"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"composition":{"type":"object","nullable":true,"properties":{"exact":{"type":"number"},"near":{"type":"number"},"paraphrase":{"type":"number"},"quoted":{"type":"number"},"original":{"type":"number"}},"required":["exact","near","paraphrase","quoted","original"]},"snippet":{"type":"string","nullable":true},"citationStyle":{"type":"string","enum":["APA","MLA","Chicago"]},"mode":{"type":"string","enum":["full","guest"]},"folderId":{"type":"string","nullable":true,"default":null},"tagIds":{"type":"array","items":{"type":"string"},"default":[]},"createdAt":{"type":"string"},"completedAt":{"type":"string","nullable":true}},"required":["id","title","status","progress","phase","wordCount","inputKind","originalityScore","createdAt","completedAt"]}}},"required":["checks"]}}}}},"operationId":"listChecks","tags":["Checks"]}},"/v1/checks/{id}":{"get":{"summary":"Get a check","description":"The status, progress and phase while the check runs; the report once it is done. `?view=summary` returns the scalar fields and scores only (cheap polling); `?include=` names the report parts to return (text, spans, matches, sources, issues, scores, meta) and wins over `view`. The default is the full report.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["summary","full"],"description":"summary: scalars and scores only. full (default): the whole report."},"required":false,"name":"view","in":"query"},{"schema":{"type":"string","description":"Comma-separated report parts: text, spans, matches, sources, issues, scores, meta. Wins over view.","example":"scores,issues,sources"},"required":false,"name":"include","in":"query"}],"responses":{"200":{"description":"Check status and (when complete) report","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string","nullable":true},"status":{"type":"string","enum":["queued","extracting","analyzing","searching","scoring","done","rejected","cancelled","failed"]},"progress":{"type":"number"},"phase":{"type":"string"},"wordCount":{"type":"number","nullable":true},"inputKind":{"type":"string"},"originalityScore":{"type":"number","nullable":true},"coverage":{"type":"number","nullable":true},"scores":{"type":"object","nullable":true,"properties":{"plagiarism":{"type":"number"},"citation":{"type":"number","nullable":true},"grammarSpelling":{"type":"number","nullable":true},"aiContent":{"type":"number","nullable":true},"clarity":{"type":"number","nullable":true,"default":null}},"required":["plagiarism","citation","grammarSpelling","aiContent"]},"issueCounts":{"type":"object","nullable":true,"properties":{"citations":{"type":"number"},"grammar":{"type":"number"}},"required":["citations","grammar"]},"rejection":{"type":"object","nullable":true,"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"composition":{"type":"object","nullable":true,"properties":{"exact":{"type":"number"},"near":{"type":"number"},"paraphrase":{"type":"number"},"quoted":{"type":"number"},"original":{"type":"number"}},"required":["exact","near","paraphrase","quoted","original"]},"snippet":{"type":"string","nullable":true},"citationStyle":{"type":"string","enum":["APA","MLA","Chicago"]},"mode":{"type":"string","enum":["full","guest"]},"folderId":{"type":"string","nullable":true,"default":null},"tagIds":{"type":"array","items":{"type":"string"},"default":[]},"createdAt":{"type":"string"},"completedAt":{"type":"string","nullable":true},"report":{"type":"object","properties":{"status":{"type":"string","enum":["done","rejected"]},"rejection":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"text":{"type":"string","default":""},"partial":{"type":"boolean","default":false},"contentType":{"type":"string","enum":["prose","code","mixed"]},"languages":{"type":"array","items":{"type":"string"},"default":[]},"locale":{"type":"string"},"wordCount":{"type":"number"},"checkedWords":{"type":"number","default":0},"originalityScore":{"type":"number"},"similarityScore":{"type":"number"},"coverage":{"type":"number"},"spans":{"type":"array","items":{"type":"object","properties":{"start":{"type":"number"},"end":{"type":"number"},"segmentId":{"type":"number"},"verdict":{"type":"string","enum":["original","exact","near","paraphrase","quoted","unchecked","presumed"]},"sourceId":{"type":"number"},"confidence":{"type":"number"}},"required":["start","end","segmentId","verdict","confidence"]},"default":[]},"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"sourceId":{"type":"number"},"segmentIds":{"type":"array","items":{"type":"number"}},"similarity":{"type":"number"},"verdict":{"type":"string","enum":["original","exact","near","paraphrase","quoted","unchecked","presumed"]},"user":{"type":"object","properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"marks":{"type":"array","items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2}}},"required":["text","start","end","marks"]},"source":{"type":"object","properties":{"snippet":{"type":"string"},"marks":{"type":"array","items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2}}},"required":["snippet","marks"]}},"required":["id","sourceId","segmentIds","similarity","verdict","user","source"]},"default":[]},"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"url":{"type":"string"},"canonicalUrl":{"type":"string"},"title":{"type":"string"},"domain":{"type":"string"},"matchedWords":{"type":"number"},"contribution":{"type":"number"},"alternates":{"type":"array","items":{"type":"string"}},"authors":{"type":"array","items":{"type":"string"}},"orgAuthor":{"type":"string"},"siteName":{"type":"string"},"published":{"type":"string"},"doi":{"type":"string"},"journal":{"type":"string"},"volume":{"type":"string"},"issue":{"type":"string"},"pages":{"type":"string"}},"required":["id","url","canonicalUrl","title","domain","matchedWords","contribution","alternates"]},"default":[]},"issues":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"category":{"type":"string","enum":["spelling","grammar","citation","missing_citation","plagiarism","ai_content","clarity","word_choice"]},"severity":{"type":"string","enum":["error","warning","suggestion"]},"title":{"type":"string"},"message":{"type":"string"},"messageByStyle":{"type":"object","properties":{"APA":{"type":"string"},"MLA":{"type":"string"},"Chicago":{"type":"string"}}},"note":{"type":"string"},"original":{"type":"object","properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"}},"required":["text","start","end"]},"fix":{"type":"object","properties":{"replacement":{"type":"string"},"label":{"type":"string"},"byStyle":{"type":"object","properties":{"APA":{"type":"string"},"MLA":{"type":"string"},"Chicago":{"type":"string"}}}},"required":["replacement","label"]},"sourceUrl":{"type":"string"},"matchId":{"type":"number"},"rule":{"type":"string","enum":["orphan_marker"]},"locale":{"type":"string"},"status":{"type":"string","enum":["open","fixed","ignored","stale"],"default":"open"},"staledBy":{"type":"object","properties":{"by":{"type":"string"},"relStart":{"type":"number"},"status":{"type":"string","enum":["open","fixed","ignored"]}},"required":["by","relStart","status"]},"appliedReplacement":{"type":"string"},"citedSourceId":{"type":"number"},"citationGroupId":{"type":"string"},"rephrase":{"type":"object","properties":{"text":{"type":"string"},"variant":{"type":"integer","minimum":0,"default":0},"of":{"type":"string"},"verified":{"type":"object","properties":{"version":{"type":"string"},"score":{"type":"number"},"cleared":{"type":"boolean"},"attempts":{"type":"integer","minimum":1},"notChecked":{"type":"boolean"}},"required":["version","score","cleared","attempts"]}},"required":["text"]},"layers":{"type":"array","items":{"type":"string","enum":["rephrase","cite","quote"]}},"followed":{"type":"object","properties":{"by":{"type":"string"},"relStart":{"type":"number"},"before":{"type":"object","properties":{"text":{"type":"string"},"attribution":{"type":"string","enum":["cited","quoted"]},"verdict":{"type":"string","enum":["original","exact","near","paraphrase","quoted","unchecked","presumed"]},"similarity":{"type":"number"}},"required":["text"]}},"required":["by","relStart","before"]}},"required":["id","category","severity","title","message","original"]},"default":[]},"scores":{"type":"object","properties":{"plagiarism":{"type":"number"},"citation":{"type":"number","nullable":true},"grammarSpelling":{"type":"number","nullable":true},"aiContent":{"type":"number","nullable":true},"clarity":{"type":"number","nullable":true,"default":null}},"required":["plagiarism","citation","grammarSpelling","aiContent"]},"bibliographyStart":{"type":"number"},"passes":{"type":"object","properties":{"language":{"type":"string","enum":["ok","partial","failed"]},"aiContent":{"type":"string","enum":["ok","partial","failed"]}}},"aiDetector":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"}},"required":["name","version"]},"bibliography":{"type":"object","properties":{"ownsHeading":{"type":"boolean"},"entries":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"number"},"text":{"type":"string"}},"required":["sourceId","text"]}}},"required":["ownsHeading","entries"]},"meta":{"type":"object","properties":{"durationMs":{"type":"number"},"sourcesExcludedByRules":{"type":"number"}},"required":["durationMs"]}},"required":["status","wordCount","originalityScore","similarityScore","coverage","meta"]},"rejectionCode":{"type":"string","nullable":true},"live":{"type":"object","nullable":true,"properties":{"searchesUsed":{"type":"number"},"pagesFetched":{"type":"number"},"found":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"domain":{"type":"string"},"title":{"type":"string"}},"required":["url","domain","title"]}},"events":{"type":"array","items":{"type":"object","properties":{"at":{"type":"integer","minimum":0},"kind":{"type":"string","enum":["read","plan","search","wikipedia","fetch","match","language","score"]},"label":{"type":"string"},"domain":{"type":"string"},"url":{"type":"string"}},"required":["at","kind","label"]},"default":[]}},"required":["searchesUsed","pagesFetched","found"]},"runningMs":{"type":"integer","minimum":0},"instant":{"type":"object","properties":{"engine":{"type":"string"},"dialect":{"type":"string"},"elapsedMs":{"type":"number"},"wordCount":{"type":"number"},"counts":{"type":"object","properties":{"spelling":{"type":"integer"},"grammar":{"type":"integer"}},"required":["spelling","grammar"]},"issues":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","enum":["spelling","grammar"]},"kind":{"type":"string"},"message":{"type":"string"},"original":{"type":"object","properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"}},"required":["text","start","end"]},"suggestions":{"type":"array","items":{"type":"string"},"default":[]}},"required":["category","kind","message","original"]}},"redactedIssues":{"type":"integer"},"teaserCutoff":{"type":"integer"},"crispWords":{"type":"integer"},"skipped":{"type":"string","enum":["non_english","too_large","engine_unavailable","not_requested"]},"adopted":{"type":"boolean"}},"required":["engine","dialect","elapsedMs","wordCount","counts","issues"]},"options":{"type":"object","properties":{"plagiarism":{"type":"boolean","default":true},"grammarSpelling":{"type":"boolean","default":true},"citations":{"type":"boolean","default":true},"aiContent":{"type":"boolean","default":true},"style":{"type":"boolean","default":true},"register":{"type":"string","enum":["academic","general"],"default":"academic"}}},"text":{"type":"string"},"guest":{"type":"object","properties":{"teaserWords":{"type":"integer"},"flow":{"type":"string","enum":["A","B"]},"wallClockMs":{"type":"integer","minimum":0,"exclusiveMinimum":true},"crispWords":{"type":"integer"},"peekWords":{"type":"integer"},"peek":{"type":"object","properties":{"text":{"type":"string"},"findings":{"type":"integer"},"marks":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","enum":["spelling","grammar","citation","missing_citation","plagiarism","ai_content","clarity","word_choice"]},"start":{"type":"integer"},"end":{"type":"integer"}},"required":["category","start","end"]}}},"required":["text","findings"]},"wordCount":{"type":"integer"},"unscannedWords":{"type":"integer"},"truncated":{"type":"boolean"},"tail":{"type":"string"},"ai":{"type":"object","nullable":true,"properties":{"band":{"type":"string","enum":["low","moderate","high","withheld"]},"sentences":{"type":"integer"}},"required":["band","sentences"]},"hiddenLanguage":{"type":"integer"},"lockedSources":{"type":"integer"},"lockedCitations":{"type":"integer"}},"required":["teaserWords","crispWords","peekWords","wordCount","unscannedWords","truncated","ai","hiddenLanguage","lockedSources"]},"aiDetectorUpdated":{"type":"boolean"},"rest":{"type":"object","properties":{"words":{"type":"integer","minimum":0},"text":{"type":"string"},"expired":{"type":"boolean"},"cost":{"type":"string","enum":["locked","free","trial_check","words"]}},"required":["words","cost"]},"completedBy":{"type":"string"}},"required":["id","title","status","progress","phase","wordCount","inputKind","originalityScore","createdAt","completedAt","rejectionCode"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}},"operationId":"getCheck","tags":["Checks"]},"delete":{"summary":"Delete a finished report","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"OK"},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"409":{"description":"Still running","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}},"operationId":"deleteCheck","tags":["Checks"]}},"/v1/checks/{id}/cancel":{"post":{"summary":"Cancel a running check","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"202":{"description":"Cancellation requested"},"409":{"description":"Already final","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}},"operationId":"cancelCheck","tags":["Checks"]}},"/v1/me/usage":{"get":{"summary":"Credit balance and usage log","responses":{"200":{"description":"Usage","content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"type":"string"},"wordsPerPeriod":{"type":"number"},"wordsUsed":{"type":"number"},"wordsPending":{"type":"number","default":0},"wordsRemaining":{"type":"number"},"creditsPerPeriod":{"type":"number","default":0},"creditsUsed":{"type":"number","default":0},"creditsPending":{"type":"number","default":0},"creditsRemaining":{"type":"number","default":0},"checksPerPeriod":{"type":"number","nullable":true,"default":null},"checksUsed":{"type":"number","nullable":true,"default":null},"checksRemaining":{"type":"number","nullable":true,"default":null},"balanceCredits":{"type":"number","default":0},"balanceHeldCredits":{"type":"number","default":0},"balanceAvailableCredits":{"type":"number","default":0},"expiring":{"type":"array","items":{"type":"object","properties":{"expiresAt":{"type":"string"},"credits":{"type":"number"}},"required":["expiresAt","credits"]},"default":[]},"periodStart":{"type":"string"},"periodEnd":{"type":"string"},"log":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"type":{"type":"string"},"credits":{"type":"number","default":0},"words":{"type":"number"},"details":{"type":"string"}},"required":["date","type","words","details"]}}},"required":["plan","wordsPerPeriod","wordsUsed","wordsRemaining","periodStart","periodEnd","log"]}}}}},"operationId":"getUsage","tags":["Account"]}},"/v1/config":{"get":{"summary":"Public configuration","security":[],"responses":{"200":{"description":"Public config"}},"operationId":"getConfig","tags":["Account"]}}},"tags":[{"name":"Checks","description":"Submit a document, poll the check, read the report, cancel or delete it."},{"name":"Account","description":"Credit position, usage log and the public configuration."}]}