Get import health reportGET /api/v1/programmatic/reports/import-healthGET /api/v1/programmatic/reports/import-healthReports·v1·reports:readReturns statement import freshness and coverage by account.Code examples cURL JavaScript Python curl --request GET \ --url 'https://api.tetri.app/api/v1/programmatic/reports/import-health' \ --header 'Authorization: Bearer $TETRI_API_TOKEN'Responses200Complete import health report in a JSON:API resource envelope.{ "data": { "type": "import_health", "id": "<string>", "attributes": { "overall_score": 0, "duplicate_rate": "<string>", "error_rate": "<string>", "categorization_rate": "<string>", "total_imports": 0, "accounts": [ { "account_id": "<string>", "wallet_id": "<string>", "account_name": "<string>", "total_imports": 0, "last_import_date": "2026-07-12", "avg_error_rate": "<string>", "avg_duplicate_rate": "<string>" } ] }, "window": { "applied_months": 0, "earliest_visible_date": "2026-07-12", "plan": "free", "requested_range": "recent", "truncated_by_plan": false } } }400Request parameters or payload failed validation. Inspect `code` and `details`.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }401The personal access token is missing, invalid, expired, or revoked.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }403The token lacks the required scope or no longer has workspace access.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }429The credential exceeded its request rate limit.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }
GET /api/v1/programmatic/reports/import-healthReports·v1·reports:readReturns statement import freshness and coverage by account.Code examples cURL JavaScript Python curl --request GET \ --url 'https://api.tetri.app/api/v1/programmatic/reports/import-health' \ --header 'Authorization: Bearer $TETRI_API_TOKEN'Responses200Complete import health report in a JSON:API resource envelope.{ "data": { "type": "import_health", "id": "<string>", "attributes": { "overall_score": 0, "duplicate_rate": "<string>", "error_rate": "<string>", "categorization_rate": "<string>", "total_imports": 0, "accounts": [ { "account_id": "<string>", "wallet_id": "<string>", "account_name": "<string>", "total_imports": 0, "last_import_date": "2026-07-12", "avg_error_rate": "<string>", "avg_duplicate_rate": "<string>" } ] }, "window": { "applied_months": 0, "earliest_visible_date": "2026-07-12", "plan": "free", "requested_range": "recent", "truncated_by_plan": false } } }400Request parameters or payload failed validation. Inspect `code` and `details`.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }401The personal access token is missing, invalid, expired, or revoked.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }403The token lacks the required scope or no longer has workspace access.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }429The credential exceeded its request rate limit.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }
200Complete import health report in a JSON:API resource envelope.{ "data": { "type": "import_health", "id": "<string>", "attributes": { "overall_score": 0, "duplicate_rate": "<string>", "error_rate": "<string>", "categorization_rate": "<string>", "total_imports": 0, "accounts": [ { "account_id": "<string>", "wallet_id": "<string>", "account_name": "<string>", "total_imports": 0, "last_import_date": "2026-07-12", "avg_error_rate": "<string>", "avg_duplicate_rate": "<string>" } ] }, "window": { "applied_months": 0, "earliest_visible_date": "2026-07-12", "plan": "free", "requested_range": "recent", "truncated_by_plan": false } } }
400Request parameters or payload failed validation. Inspect `code` and `details`.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }
401The personal access token is missing, invalid, expired, or revoked.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }
403The token lacks the required scope or no longer has workspace access.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }
429The credential exceeded its request rate limit.{ "statusCode": 400, "code": "PROGRAMMATIC_PAGINATION_MODE_CONFLICT", "message": "after and page are mutually exclusive", "details": { "errors": { "limit": [ "max" ] } }, "request_id": "8cf64dcc-0f73-4f8d-a845-3d80c1040475" }