API Reference
Track policy changes
Get a feed of policy updates and modifications over time.
Authorization
bearerAuth AuthorizationBearer <token>
API key in format: vrt_live_xxxxx or vrt_test_xxxxx
In: header
Query Parameters
since?string
Only show changes after this ISO8601 timestamp
Format
date-timepolicy_id?string
Filter to a specific policy
Length
length <= 50change_type?string
Filter by change type
Value in
"created" | "updated" | "retired" | "codes_changed" | "criteria_changed" | "metadata_changed"policy_type?string
Filter by policy type
Value in
"LCD" | "Article" | "NCD" | "PayerPolicy"payer?string
Filter by payer name (partial match)
Length
length <= 100cursor?string
Pagination cursor from previous response
limit?integer
Results per page
Default
50Range
1 <= value <= 100Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://verity.backworkai.com/api/v1/policies/changes"{
"success": true,
"data": [
{
"diff_id": 0,
"policy_id": "string",
"policy_title": "string",
"policy_type": "string",
"payer_name": "string",
"old_version": "string",
"new_version": "string",
"change_type": "created",
"change_summary": "string",
"changed_at": "2019-08-24T14:15:22Z",
"details": {
"changed_fields": [
"string"
],
"added_codes": [
"string"
],
"removed_codes": [
"string"
],
"modified_criteria": [
"string"
]
}
}
],
"meta": {
"request_id": "string",
"timestamp": "2019-08-24T14:15:22Z",
"pagination": {
"cursor": "string",
"has_more": true,
"limit": 0
},
"filters": {}
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"details": {
"q": [
"Search query is required"
]
},
"docUrl": "https://docs.verity.io/errors#validation-error"
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2024-01-15T10:30:00Z"
}
}{
"success": false,
"error": {
"code": "AUTH_KEY_NOT_FOUND",
"message": "API key not found",
"hint": "Check that your API key is correct",
"docUrl": "https://docs.verity.io/errors#auth-key-not-found"
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2024-01-15T10:30:00Z"
}
}{
"success": false,
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"hint": "Upgrade to pay-as-you-go for higher limits",
"docUrl": "https://docs.verity.io/errors#rate-limit-exceeded"
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2024-01-15T10:30:00Z"
}
}