optimize-v2

Create Compliance Claim

post/api/v1/optimize/v2/compliance/claims

Request body

domain_idstring required
claim_textstring required
proof_urlstring nullable
proof_namestring nullable
proof_typestring nullable

human_study | lab_report | certificate | regulator_approval

proof_textstring nullable

Extracted text of the proof document, if available

approved_bystring required
approved_rolestring nullable
marketsClaimsMarketEnum[]
notesstring nullable

Example request

{
  "domain_id": "123e4567-e89b-12d3-a456-426614174000",
  "claim_text": "Falls asleep 23% faster",
  "proof_url": "https://storage.../sleep-study-2025.pdf",
  "proof_name": "sleep-study-2025.pdf",
  "proof_type": "human_study",
  "approved_by": "Dr. Mehta",
  "approved_role": "Regulatory lead",
  "markets": [
    "IN",
    "US"
  ],
  "notes": "Valid at 10mg dose only"
}

Response

Successful Response

{"stackTrail":"paths:/api/v1/optimize/v2/compliance/claims:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 1 of the 16 revisions of this API.1

Of the 16 revisions, 1 has no diff computed.