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

  1. Have the account owner review and accept the terms and privacy notice. An agent cannot accept for them without authorization.
  2. Use the signup request in the account guide: POST /v1/accounts with an account name, contact email and terms_accepted: true only after acceptance. This creates an API account; it does not purchase credits.
  3. On a successful 201 response, save api_key privately and confirm mode: "test". The key is shown once. Store it in your server or local environment as COPYWORTHY_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

StatusYour workflow's next step
blockedHold the draft. Resolve contradicted claims or flagged personal-data patterns.
needs_reviewSend the findings and source facts to a person. Missing or failed claim review cannot approve the draft.
ready_for_human_reviewPresent the draft for final review. This status and pass: true do not authorize publication.
Missing or unknown statusHold 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

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.