Error shape
Errors use the same response envelope withsuccess: false.
Detail is in the messages array.
HTTP status codes
Common error codes
Guidance for AI agents
1
Never fabricate on 404
If a CLIP, property, or geography does not resolve, tell the user — do not invent a value or assume the closest match.
2
Do not loop on 403
Entitlement errors will not fix themselves by retrying. Stop immediately and surface the error to the user or escalation path.
3
Back off on 429 and 5xx
Use exponential backoff with jitter. Cap retries at 3. Log the full
messages array for support.4
Correct 422 before retrying
Semantic validation failures (bad dates, bad enums) will recur on retry. Read the
messages detail to understand the correction needed.