Endpoint Examples
Evaluate Text
Endpoint Examples
Evaluate Text
Evaluates the provided text content against advertising guidelines and returns an assessment with suggested changes if review is required.
POST
/
v1
/
evaluate
/
text
curl --request POST \
--url https://app.adclear.ai/api/v1/evaluate/text \
--header 'Content-Type: application/json' \
--data '{
"content": "<string>",
"dataSource": "fca_uk"
}'
{
"evaluation": {
"reviewRequired": true,
"overallAssessment": "This promotion requires review",
"suggestedChanges": [
{
"recommendation": "The ad should ensure that any claims about the therapeutic effects or mechanisms of action of Germaloids are substantiated by credible evidence.",
"rationale": "FTC regulations require substantiation with reliable scientific evidence for health and medical claims to ensure they are truthful and not misleading. FTC TAP Claim Substantiation Rule 1, FTC Act Section 5 Rule 1",
"score": "HIGH",
"citedRules": [
"FTC TAP Claim Substantiation Rule 1",
"FTC Act Section 5 Rule 1"
]
}
]
}
}
Body
application/json
Response
200
application/json
Successful evaluation
The response is of type object
.
curl --request POST \
--url https://app.adclear.ai/api/v1/evaluate/text \
--header 'Content-Type: application/json' \
--data '{
"content": "<string>",
"dataSource": "fca_uk"
}'
{
"evaluation": {
"reviewRequired": true,
"overallAssessment": "This promotion requires review",
"suggestedChanges": [
{
"recommendation": "The ad should ensure that any claims about the therapeutic effects or mechanisms of action of Germaloids are substantiated by credible evidence.",
"rationale": "FTC regulations require substantiation with reliable scientific evidence for health and medical claims to ensure they are truthful and not misleading. FTC TAP Claim Substantiation Rule 1, FTC Act Section 5 Rule 1",
"score": "HIGH",
"citedRules": [
"FTC TAP Claim Substantiation Rule 1",
"FTC Act Section 5 Rule 1"
]
}
]
}
}