Doğrulama Raporları API
GET /api/v1/verification-reports
GET /api/v1/verification-reports/:id
Enterprise verification run raporlarını listeler veya tek rapor detayını
döndürür. Bu yüzey verification:read permission ister ve OpenAPI spec içinde
yalnız public-safe rapor kontratı olarak yayınlanır.
| Alan | Değer |
|---|---|
| Auth | x-api-key veya JWT |
| Permission | verification:read |
| Plan | Enterprise-only |
Liste Sorgusu
page, limit, status, sourceType, analysisDepth, search,
profileId, regulatorCode, scenarioKey
Detay Yolu
| Parametre | Tip | Not |
|---|---|---|
id | string | Organization scoped verification run id |
Yanıt
List endpointi data.items[] ve data.meta ile döner. Detail endpointi tek
serialized verification report döndürür; run organization filtresiyle aranır ve
başka tenant raporu 404 gibi davranır.
Hata Kodları
| Status | Anlam |
|---|---|
401 | API key veya JWT eksik/geçersiz |
403 | Enterprise plan veya verification:read yok |
404 | Rapor bulunamadı veya tenant kapsamı dışında |
429 | Rate limit aşıldı |
Örnekler
curl -s "https://api.mevzuatradar.com/api/v1/verification-reports?status=COMPLETED&limit=20" \
-H "x-api-key: $MEVZUATRADAR_API_KEY"Detail çağrısı aynı auth header ile
GET /api/v1/verification-reports/{id} yolunu kullanır.