status

Readiness check

Deep health check used by the startup probe. Returns 200 when the read-write database answers AND its schema is at least the version this image ships (schema_migrations vs the highest migration in the image), 503 otherwise. Replica and cache status are reported for diagnostics only and never affect the status code.

get/readyz

Request

  • Base URL: https://gamma-api.polymarket.com (the document declares no server; this is the origin it was published from)
  • URL: https://gamma-api.polymarket.com/readyz
  • Auth: none declared

Response

Ready: database reachable

$schemastring uri

A URL to the JSON Schema for this object.

cachestring required

Redis cache connectivity (informational, never gates readiness): ok|degraded|disabled

dbstring required

Read-write database connectivity: ok|error

replicastring required

Markets read-replica pool reachability (informational, never gates readiness): ok|error

schemastring required

Database schema version against the migrations this image ships (behind and dirty gate readiness together with db; error and skipped do not): ok|behind|dirty|error|skipped

Example response

{
  "$schema": "https://example.com/schemas/ReadyzStatus.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.