Skip to main content
GET
KPI overview for the Console home

Authorizations

Authorization
string
header
default:sk_test_DEMO0000_replace_with_your_sandbox_key
required

API key authentication. Issued by the Safariat admin or via the partner portal. The secret is shown only once at generation.

Production sk_live_* keys must additionally sign every write request (POST/PUT/DELETE) with the X-Timestamp and X-Signature headers. Sandbox sk_test_* keys are exempt from request signing: X-Signature and X-Timestamp are not required for writes in the sandbox (so the developer-portal "Try it" playground works end to end). The Idempotency-Key header remains required on writes in both environments.

Response

Operational snapshot.

uptime_7d_percent
number<double>

Share of calls that did not return a 5xx over the last 7 days. Read it together with api_calls_7d_count: on a low volume a single error moves this figure by several points, and a period with no call at all reports 100.

api_calls_7d_count
integer<int64>

Calls recorded over the same window, the denominator of uptime_7d_percent.

latency_p95_7d_ms
integer | null

95th percentile of server-side latency over the last 7 days, in milliseconds, by nearest rank. null when no call carried a measured latency.

bookings_30d_count
integer<int64>
bookings_30d_trend
integer<int64>[]

30 daily counts, oldest first, for sparkline rendering.

failed_webhooks_7d_count
integer<int64>
net_due_current_month
object

Settlements already issued within the current month. Issued in arrears, so this is usually null until the period closes. Use reversal_accruing_current_month to follow the amount as it builds up.

reversal_accruing_current_month
object

Amount reversed to Safariat accruing since the first of the month, over bookings that reached CONFIRMED or COMPLETED. Moves every day, unlike net_due_current_month.

recent_bookings
object[]
recent_failed_deliveries
object[]