Skip to content
ShopAssist Docs
APIAPI referenceAI content verification

Verify Ai Content

200 { matches } (similarity 1.0; empty when nothing matches).

POST/v1/ai-content/verifyScope conversations:read

`200 { matches }` (`similarity` 1.0; empty when nothing matches).

Parameters

Parameters of Verify Ai Content
NameInTypeDescription
Idempotency-Keyheaderstring | nullOptional (03 §2.9)

Request body (AiContentVerifyRequest)

Request body of Verify Ai Content
FieldTypeDescription
textrequiredstring1–10000 characters

Example request

curl -X POST "https://api.shopassist.coec.dk/v1/ai-content/verify" \
  -H "Authorization: Bearer $SHOPASSIST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"string"}'

Response 200 (AiContentVerifyResponse)

Response of Verify Ai Content
FieldTypeDescription
matchesrequiredAiContentMatch[]
matches[].conversation_idrequiredstringpattern `^conv_[0-9a-hjkmnp-tv-z]{26}$`
matches[].created_atrequiredstringformat date-time
matches[].message_idrequiredstringpattern `^msg_[0-9a-hjkmnp-tv-z]{26}$`
matches[].similarityrequirednumberAlways 1.0: exact match only in v1≥ 0 · ≤ 1 · default 1
matches[].store_idrequiredstringpattern `^sto_[0-9a-hjkmnp-tv-z]{26}$`
{
  "matches": [
    {
      "conversation_id": "conv_01j8000000e008000000000000",
      "created_at": "2026-09-28T10:15:30.123Z",
      "message_id": "msg_01j8000000e008000000000000",
      "similarity": 0,
      "store_id": "sto_01j8000000e008000000000000"
    }
  ]
}

Errors

Every error uses the error envelope; the code field is stable.

  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 422 Unprocessable Content
  • 429 Too Many Requests

Last updated on