Skip to main content
POST
/
v1
/
report-issue
Report an enrichment issue
curl --request POST \
  --url https://api.triqai.com/v1/report-issue \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data @- <<EOF
{
  "transaction_id": "550e8400-e29b-41d4-a716-446655440000",
  "description": "The merchant name is incorrect - it should be 'Amazon' not 'Amazon Marketplace'",
  "fields": [
    "enrichments.merchant.data.name"
  ]
}
EOF
{
  "success": true,
  "data": {
    "issueReport": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "description": "<string>",
      "fields": [
        "<string>"
      ],
      "status": "pending",
      "statusMessage": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  },
  "meta": {
    "generatedAt": "2023-11-07T05:31:56Z",
    "requestId": "<string>",
    "version": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Organization API key for authentication

Body

application/json
transaction_id
string<uuid>
required

Transaction to report issue for

description
string
required

Description of the issue

Required string length: 1 - 2000
fields
string[]
required

Array of field paths with issues

Required array length: 1 - 50 elements

Response

Issue report created

success
boolean
Example:

true

data
object
meta
object