Skip to content

Environments

EnvAPI hostKey prefixNotes
Localhttp://localhost:18000 or :8000af_test_Compose / local API
Staginghttps://staging-api.appraiserflow.aiaf_test_Live keys rejected on non-prod by default
Productionhttps://api.appraiserflow.aiaf_live_Test keys rejected on prod

Portal Try-it defaults to the staging API base (VITE_PUBLIC_API_BASE).

Headers

http
Authorization: Bearer af_test_…
Content-Type: application/json
Idempotency-Key: …          # required on POST /quotes
X-Request-Id: …             # optional; echoed on responses

Errors use:

json
{
  "error": {
    "code": "invalid_api_key",
    "message": "…",
    "request_id": "req_…",
    "details": []
  }
}

API base for Try-it: https://staging-api.appraiserflow.ai