For developers building content workflows
Catch unsupported promises before your copy reaches a customer.
Copyworthy compares a draft with the product facts you supply and returns findings your workflow can route to a reviewer. Start with a fictional desk lamp and an unsupported overnight-shipping promise.
This example uses test mode: a fixed fixture, no model call, no charge. It demonstrates the API contract, not detection accuracy. A live review still needs human judgment.
1. Set up a test key
- Have the account owner review and accept the terms and privacy notice. An agent cannot accept for them without authorization.
- Use the signup request in the account guide:
POST /v1/accountswith an account name, contact email andterms_accepted: trueonly after acceptance. This creates an API account; it does not purchase credits. - On a successful
201response, saveapi_keyprivately and confirmmode: "test". The key is shown once. Store it in your server or local environment asCOPYWORTHY_API_KEY. Never put it in browser code or a public repository.
The signup key includes access to the gate. An existing restricted key needs the outputgate.use scope. Signup is throttled: if it fails, use the returned error and retry guidance instead of creating repeated accounts. There is no charge for the fixture request below.
Download product-copy-example.json. It contains only fictional product details. Test mode returns the same fixture even if you change the draft.
2. Send the synthetic request
Run this in a Bash-compatible terminal from the directory containing the downloaded file. The environment variable should contain your test key.
curl --fail-with-body https://api.counselordesk.app/gate/v1/tools/check_product_copy \
-H "Authorization: Bearer $COPYWORTHY_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: copyworthy-lamp-test-001' \
--data-binary @product-copy-example.json
The response contains output.report. This excerpt shows the relevant fields from the test fixture:
{
"pass": false,
"status": "needs_review",
"claims": [{
"claim": "Ships overnight",
"verdict": "unverified",
"note": "No approved shipping fact was supplied."
}],
"evidence_basis": "caller_supplied_product_facts",
"independent_verification": false
}
In this fixture, the draft promises overnight shipping but the supplied facts say nothing about delivery. For a live finding, a reviewer would remove the promise or supply an approved shipping fact and run a new review. Editing this test input will not change the fixture.
If you see 401, check the environment variable and key validity. For a validation error, use its field paths to correct the JSON. For 429, wait for the stated retry interval. Only treat a successful response containing output.report as a completed check.
3. Route the result
| Status | Your workflow's next step |
|---|---|
blocked | Hold the draft. Resolve contradicted claims or flagged personal-data patterns. |
needs_review | Send the findings and source facts to a person. Missing or failed claim review cannot approve the draft. |
ready_for_human_review | Present the draft for final review. This status and pass: true do not authorize publication. |
| Missing or unknown status | Hold the draft and investigate the response. Do not default to approval. |
The compatibility verdict verified means supported by supplied facts. Copyworthy does not independently establish that those facts are true. Pattern-only checks cannot clear claims. A fix_output rewrite reports scan_cleared separately and leaves claim_review: "not_run".
Before a live call
- Get the account owner's spending authorization. Test keys never bill; live keys use prepaid credits.
- Send the same JSON to
/gate/v1/tools/check_product_copy/quotefirst. Quotes are free. Checkvalidand the estimated hold before running the review. One credit equals $0.001; the final charge depends on usage and cannot be inferred from this free fixture. - For REST, use
X-Max-Creditsonly after the quote confirmsmax_credits_supported: true. This limits one call, not total account spending. - Use a new idempotency key for each new input. On uncertain delivery, retry only the same key and input; reconcile a replay receipt instead of starting another paid run.
- Drafts must be 40 to 30,000 characters. Supply 1 to 12 approved facts, each with a field up to 80 characters and a value up to 200 characters. Use synthetic data while integrating.
For errors and retention details, read the API guide. Review bodies are not persisted by default. Avoid sending personal or confidential information until you have reviewed your account's settings and data-handling requirements.
Connect through your existing stack
REST: OpenAPI schema. MCP: /gate/mcp. Legacy A2A 0.2: agent card and /gate/a2a. Copyworthy's protocol version is distinct from CounselorDesk's native A2A 1.0 lane.
Trust Plane integration is still pending live verification. This quickstart calls Copyworthy directly and does not demonstrate cross-provider recovery.