Skip to main content
GET
https://backend.anglera.com
/
validation
/
{sheet_id}
Fetch Validation Feed
curl --request GET \
  --url https://backend.anglera.com/validation/{sheet_id} \
  --header 'X-Anglera-API-Key: <api-key>'
{
  "sheet_id": "<string>",
  "total_products": 123,
  "total_validation_rules": 123,
  "rules": [
    {
      "id": 123,
      "name": "<string>",
      "description": "<string>"
    }
  ],
  "products": [
    {
      "product_id": 123,
      "name": "<string>",
      "sku": "<string>",
      "product_status": "<string>",
      "validation_summary": {
        "all_passed": true,
        "total_rules": 123,
        "total_validated": 123,
        "passed_count": 123,
        "failed_count": 123
      },
      "detailed_results": [
        {
          "rule_id": 123,
          "passed": true,
          "reason": {},
          "status": "<string>",
          "last_updated": "<string>"
        }
      ]
    }
  ]
}
Returns validation results for all products in a sheet, including detailed results for each rule.

Request

curl "https://backend.anglera.com/validation/100" \
  -H "X-Anglera-API-Key: your_api_key"

Path Parameters

sheet_id
string
required
ID of the sheet to fetch validation results from

Response

sheet_id
string
Sheet ID
total_products
number
Total number of products
total_validation_rules
number
Total number of validation rules configured for the sheet
rules
array
Metadata for each validation rule
products
array
Per-product validation results
Example Response
{
  "sheet_id": "100",
  "total_products": 1,
  "total_validation_rules": 2,
  "rules": [
    {
      "id": 1201,
      "name": "Valid Weight Range",
      "description": "Product weight must be within a realistic range for this category."
    },
    {
      "id": 1202,
      "name": "Main Image Must Match Product Type",
      "description": "Main image must depict the correct appliance."
    }
  ],
  "products": [
    {
      "product_id": 3458901,
      "name": "Frigidaire Side-by-Side Refrigerator",
      "sku": "FRIG-SS-SBS-25CU",
      "product_status": "READY",
      "validation_summary": {
        "all_passed": false,
        "total_rules": 2,
        "total_validated": 2,
        "passed_count": 1,
        "failed_count": 1
      },
      "detailed_results": [
        {
          "rule_id": 1201,
          "passed": false,
          "reason": "Listed weight (15 lbs) is unrealistically low for a refrigerator.",
          "status": "READY",
          "last_updated": "2025-06-26T02:15:30.987654+00:00"
        },
        {
          "rule_id": 1202,
          "passed": true,
          "reason": null,
          "status": "READY",
          "last_updated": "2025-06-26T02:15:31.543210+00:00"
        }
      ]
    }
  ]
}