POST /api/v1/rewrite

Generate a bias-neutral rewrite of any news article. The rewrite preserves factual content while removing loaded language, framing effects, and rhetorical bias.

Request

POST /api/v1/rewrite
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "analysisId": "anl_abc123"
}

An analysisId from a completed analyze call is required.

Response

{
  "success": true,
  "data": {
    "rewrite": "Bias-neutral version of the article...",
    "changesCount": 23,
    "biasReduced": 0.68
  }
}

See the full API reference for all parameters and error codes.