Compare estimate versions

Builds a deterministic field-level diff between two immutable versions of the same estimate.

GET/api/v1/estimates/:id/versions/compare

Authorization

estimates:readapi key scoperequired
Required scope when calling with an API key.

Path parameters

idstringrequired
Estimate UUID.

Example: 8a043c6e-52ab-4df1-8b7a-afec991a05a2

Query parameters

fromstringrequired
Older snapshot UUID.

Example: 48abef95-cb53-4efa-a483-f72390d88488

tostringrequired
Newer snapshot UUID.

Example: 877558ec-b559-48b4-9210-b53ed720fb73

Request

curl -X GET "https://www.digitalstack360.com/api/v1/estimates/8a043c6e-52ab-4df1-8b7a-afec991a05a2/versions/compare?from=48abef95-cb53-4efa-a483-f72390d88488&to=877558ec-b559-48b4-9210-b53ed720fb73" \
  -H "Authorization: Bearer $DS_API_KEY"

Examples use a placeholder key from your environment. Store your key in $DS_API_KEY — never commit it.

Response

200 OK
{
  "data": {
    "changed": true,
    "summary": {
      "additions": 2,
      "removals": 0,
      "changes": 3
    }
  }
}

Errors

401
missing_auth

No credentials provided

401
invalid_api_key

API key is invalid or revoked