Evaluate an article
Use the website or hosted API to review a Markdown or MDX draft. You need a readlint.com account with evaluation access. Start by reading checks and findings, then sign in and open Check article.
Check a draft on the website
- Paste the Markdown or MDX source into “Article”. A blank draft is rejected before sending. Title and description are optional; a blank title uses the article's first top-level heading.
- Choose “Check article” once. The form is disabled while the request runs. Keep the tab open while the model checks the draft.
- When the report opens, read “Article checks” first, then the paragraph and list notes in source order. Findings identify likely problems; “Unsure” notes ask you to judge a passage. The finding count leaves out unsure answers and phrase matches.
- Review “Phrases to review”, “Skipped content”, the model and input-token usage. Phrase links take you to the relevant passage. Computed content that was skipped needs a separate review. The report shows its expiry date.
Drafts stay in this tab's memory while you work. Copy the source somewhere private before reloading, closing or leaving the page; it is not a saved draft editor. If the session ends during submission, use “Sign in to retry” to sign in in another tab, then return to the original tab. Your draft and submission key remain there.
After a lost connection or timeout, choose “Retry check” with the exact same title, description and article. The page reuses its submission key to recover the original evaluation. Editing the draft starts a new evaluation. Reloading loses the key, so check “Past checks” and reconcile saved reports before submitting again.
If the model run is confirmed failed, the page offers “Open failed report” and explains that retry starts a new check. That new evaluation can add usage; recorded input tokens from the failed run stay on your account. A report still running refreshes every three seconds. If a read fails, use “Try again”; an invalid, expired, deleted or other account's report shows “Report unavailable”.
Find and delete saved reports
“Past checks” on Check article lists your saved reports, ten per page, newest first. Use “Older checks” and “Newer checks” to move between pages, and “Open report” to read one. The list shows “Checking”, “Report ready” or “Check failed”. If the list cannot load, use “Try again”.
Choose “Delete” beside a report and confirm “Delete report” to remove it permanently. Input-token usage stays in your account. A report already deleted in another tab is treated as deleted. You can also use the expiry shown in each report to decide when to save a private copy.
Prepare a client request
Install the CLI, Python SDK or TypeScript SDK. For scripts, set READLINT_API_KEY through your secret manager. The CLI can also use device login. For curl, follow the private header-file setup in API keys.
Save your Markdown or MDX as article.md. For curl, save article.json with an article string containing that same source. Optional title defaults to the first top-level heading and description defaults to an empty string. Keep the exact input and submission key privately until you know the result.
The examples use article-first-check as a submission key. Replace it with a unique value for each intentional evaluation. Reuse the original value and identical input after a timeout. A key is 1–255 visible ASCII characters without spaces.
Send the draft
Evaluate a draft
npx readlint.com check article.md --idempotency-key article-first-check --jsonfrom pathlib import Path
from readlint import Readlint
with Readlint() as client:
result = client.evaluate(
Path("article.md").read_text(encoding="utf-8"),
idempotency_key="article-first-check",
)
print(result)import { readFile } from "node:fs/promises";
import { Readlint } from "readlint.com";
const client = new Readlint();
console.log(await client.evaluate(await readFile("article.md", "utf8"), {
idempotencyKey: "article-first-check",
}));curl --silent --show-error --fail-with-body \
--header @readlint-auth.header \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: article-first-check' \
--data-binary @article.json \
https://readlint.com/v1/evaluationsA completed request returns status: "complete", an id, expires_at and a report. The report contains article checks, prose findings, unsure answers, phrase matches, model information and input-token usage. A duplicate request still running returns status: "running" and report: null (HTTP 202).
If an answer is lost, resend the identical input with the same key to recover that evaluation. A new key starts a new evaluation and can add usage. Read limits and recovery before retrying an error.
Read the saved result
Replace EVALUATION_UUID with the returned id in each example.
Read a saved report
npx readlint.com get EVALUATION_UUID --jsonfrom readlint import Readlint
with Readlint() as client:
print(client.get_evaluation("EVALUATION_UUID"))import { Readlint } from "readlint.com";
console.log(await new Readlint().getEvaluation("EVALUATION_UUID"));curl --silent --show-error --fail-with-body \
--header @readlint-auth.header \
https://readlint.com/v1/evaluations/EVALUATION_UUIDReads return HTTP 200 even when the evaluation is running or failed. Inspect status and error_code. For running, wait 15–30 seconds before reading again. A failed evaluation has no report. Keep its ID when asking support about a failure.
List reports from a script
List saved reports
npx readlint.com list --limit 25 --offset 0 --jsonimport json
from readlint import Readlint
with Readlint() as client:
print(json.dumps(client.list_evaluations(limit=25, offset=0)))import { Readlint } from "readlint.com";
const client = new Readlint();
console.log(JSON.stringify(await client.listEvaluations({ limit: 25, offset: 0 })));curl --silent --show-error --fail-with-body \
--header @readlint-auth.header \
'https://readlint.com/v1/evaluations?limit=25&offset=0'The result contains summary items and next_offset. An empty account returns {"items": [], "next_offset": null}. Continue with the returned offset until it is null. New or deleted records can shift offset pages.
Delete a report from a script
Deletion is permanent and does not erase recorded model usage.
Delete a saved report
npx readlint.com delete EVALUATION_UUID --jsonfrom readlint import Readlint
with Readlint() as client:
client.delete_evaluation("EVALUATION_UUID")import { Readlint } from "readlint.com";
await new Readlint().deleteEvaluation("EVALUATION_UUID");curl --silent --show-error --fail-with-body \
--request DELETE --header @readlint-auth.header \
https://readlint.com/v1/evaluations/EVALUATION_UUIDThe CLI returns {"deleted": true, "id": "..."}. The SDK methods return no value and curl gets HTTP 204 with no body. After a lost delete response, read the same ID first. evaluation_not_found confirms the report is gone. Retry deletion only if it still exists.
Browser sign-in and key management use the website controls described in sign in and sessions and API keys. They are website-only workflows. Client examples use account API keys rather than browser-console code so you can run the same workflow from a terminal or script.
The repository's developer-only write-eval command calls a model provider directly; it is not a hosted account client.