Health
List health items
GET /api/health.json
Request policy
- Operation
getHealth- Access
- anonymous
- Automatic retries
- None
- Redirects
- Returned to the caller without following
- Request body limit
- No request body
- Pagination
- One page per call. Explicit iteration defaults to at most 10 pages, 1,000 items, and 32 MiB; reaching a bound reports incomplete execution.
Parameters
limit number
Requested page size (default 50). Numeric values are floored and clamped to 1–100.
cursor string
Opaque cursor copied from a returned pagination link. Arbitrary strings are rejected with 400; windowed feed cursors must retain their original filters.
sort string
Sort field and direction (e.g., "year:desc", "addedAt:asc")
facets string
Include facet metadata in response meta (set to 1)
q string
Search item and group names
section string
Exact section key
group string
Exact group key
identifierVersion string
Use 2 to include scopedIdentifiers. Defaults to 1.
Allowed: "1" | "2"
Request headers
API-Version(optional) — Set API-Version to 2.0.0 for provider-optional records. An absent or empty header selects 1.0.0. Surrounding whitespace is ignored.Idempotency-Key(optional) — Accepted for clients that attach a key uniformly. GET, HEAD, and OPTIONS are already safe and intrinsically idempotent, so read responses are not stored in an idempotency replay cache.
Responses
200
List response for health
Response headers
{
"Content-Usage": {
"description": "IETF AIPREF usage preferences for this public content",
"schema": {
"type": "string",
"examples": [
"train-ai=y, search=y"
]
}
},
"Content-Signal": {
"description": "Compatibility AI usage preferences for deployed crawlers",
"schema": {
"type": "string",
"examples": [
"ai-train=yes, search=yes, ai-input=yes"
]
}
},
"API-Version": {
"description": "Selected public REST contract version",
"schema": {
"type": "string",
"enum": [
"1.0.0",
"2.0.0"
]
}
},
"RateLimit-Policy": {
"description": "Public REST quota policy: 1000 Worker requests per 60 seconds for each source and Cloudflare location",
"schema": {
"type": "string"
}
},
"RateLimit-Limit": {
"description": "Compatibility form of the current public REST request limit",
"schema": {
"type": "integer",
"enum": [
1000
]
}
},
"ETag": {
"description": "Entity tag for conditional requests",
"schema": {
"type": "string"
}
},
"Cache-Control": {
"description": "Caching directives",
"schema": {
"type": "string"
}
},
"X-Total-Count": {
"description": "Total number of items",
"schema": {
"type": "integer"
}
},
"Link": {
"description": "RFC 8288 Web Linking header with pagination links",
"schema": {
"type": "string"
}
},
"Link-Template": {
"description": "RFC 9652 Link-Template header with query parameter templates",
"schema": {
"type": "string"
}
},
"Deprecation": {
"description": "RFC 9745 lifecycle deprecation signal",
"schema": {
"type": "string"
}
},
"Sunset": {
"description": "RFC 8594 lifecycle sunset date (HTTP IMF-fixdate)",
"schema": {
"type": "string",
"pattern": "^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), [0-9]{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) [0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} GMT$",
"examples": [
"Sun, 06 Sep 2026 17:40:13 GMT"
]
}
}
}application/json
object
Schema details
data HealthItem[] required
Schema details
HealthItem
Schema details
name string required
schemaType string required
Allowed: "Thing" | "Product" | "Drug" | "DietarySupplement"
brand string
model string
identifiers object[]
Schema details
object
Schema details
scheme string required
Allowed: "gtin" | "rxnorm-ingredient" | "dsld-label"
value string required
sourceUrl string required (uri)
image string required (uri)
photoNote string
url string (uri)
linkRole string
Allowed: "product" | "reference" | "label" | "example"
id string required
canonicalId string required
itemPath string required
label string required
linkLabel string
section string
sectionTitle string
group string
groupTitle string
relationship string
Allowed: "uses" | "favorite" | "recommends"
groupNote string
groupAsOf string
position number
groupPosition number
scopedIdentifiers object[]
Schema details
object
Schema details
subject string required
Allowed: "trade item" | "ingredient" | "supplement label"
subjectRef string required (uri)
scheme string required
Allowed: "gtin" | "rxnorm-ingredient" | "dsld-label"
value string required
uri string required (uri)
sourceUrl string (uri)
meta PaginationMeta required
Schema details
totalCount number required
pageSize number required
timestamp string required (date-time)
rowsRead number
Rows materialized by the bounded D1 list window, when available.
boundedD1Window boolean
The list was served through a bounded D1 window.
facets object
correction object
Schema details
original string required
resolved string required
applied boolean required
kind string required
Allowed: "alias" | "fuzzy"
links PaginationLinks required
Schema details
self string required (uri)
first string required (uri)
next string (uri)
prev string (uri)
last string required (uri)
text/csv
string
304
Not Modified
400
Bad Request
Response headers
{
"Problem-Details": {
"description": "draft-nottingham-problem-header-00 Structured Fields Dictionary. Carries type and Display String title; JSON problem content wins conflicts. Occurrence detail and instance remain in content.",
"schema": {
"type": "string",
"maxLength": 4096
}
}
}application/problem+json
ProblemDetails
Schema details
type string required (uri)
Problem type URI (see /problems/)
title string required
Short human-readable summary
status number required
HTTP status code
detail string required
Human-readable explanation
instance string (uri)
URI reference for this occurrence
406
Not Acceptable
Response headers
{
"Problem-Details": {
"description": "draft-nottingham-problem-header-00 Structured Fields Dictionary. Carries type and Display String title; JSON problem content wins conflicts. Occurrence detail and instance remain in content.",
"schema": {
"type": "string",
"maxLength": 4096
}
}
}application/problem+json
ProblemDetails
Schema details
type string required (uri)
Problem type URI (see /problems/)
title string required
Short human-readable summary
status number required
HTTP status code
detail string required
Human-readable explanation
instance string (uri)
URI reference for this occurrence
429
Public REST request limit exceeded
Response headers
{
"Retry-After": {
"description": "Seconds before the request should be retried",
"schema": {
"type": "integer",
"enum": [
60
]
}
},
"RateLimit": {
"description": "Current quota state for the exhausted public-rest policy",
"schema": {
"type": "string"
}
},
"Content-Usage": {
"description": "IETF AIPREF usage preferences for this public content",
"schema": {
"type": "string",
"examples": [
"train-ai=y, search=y"
]
}
},
"Content-Signal": {
"description": "Compatibility AI usage preferences for deployed crawlers",
"schema": {
"type": "string",
"examples": [
"ai-train=yes, search=yes, ai-input=yes"
]
}
},
"API-Version": {
"description": "Selected public REST contract version",
"schema": {
"type": "string",
"enum": [
"1.0.0",
"2.0.0"
]
}
},
"RateLimit-Policy": {
"description": "Public REST quota policy: 1000 Worker requests per 60 seconds for each source and Cloudflare location",
"schema": {
"type": "string"
}
},
"RateLimit-Limit": {
"description": "Compatibility form of the current public REST request limit",
"schema": {
"type": "integer",
"enum": [
1000
]
}
},
"Problem-Details": {
"description": "draft-nottingham-problem-header-00 Structured Fields Dictionary. Carries type and Display String title; JSON problem content wins conflicts. Occurrence detail and instance remain in content.",
"schema": {
"type": "string",
"maxLength": 4096
}
}
}application/problem+json
ProblemDetails
Schema details
type string required (uri)
Problem type URI (see /problems/)
title string required
Short human-readable summary
status number required
HTTP status code
detail string required
Human-readable explanation
instance string (uri)
URI reference for this occurrence
503
Portable location provenance is incomplete, so the export is unavailable
Response headers
{
"Problem-Details": {
"description": "draft-nottingham-problem-header-00 Structured Fields Dictionary. Carries type and Display String title; JSON problem content wins conflicts. Occurrence detail and instance remain in content.",
"schema": {
"type": "string",
"maxLength": 4096
}
}
}application/problem+json
ProblemDetails
Schema details
type string required (uri)
Problem type URI (see /problems/)
title string required
Short human-readable summary
status number required
HTTP status code
detail string required
Human-readable explanation
instance string (uri)
URI reference for this occurrence
Examples
Examples use synthetic fixture values. Replace fixture identifiers with public IDs returned by the service. Request bodies and precise locations are transient; keep them out of logs.
curl
curl --fail-with-body --max-time 30 --max-filesize 16777216 --request GET 'https://irvinebroque.com/api/health.json' --header 'Accept: application/json'TypeScript
import { PublicApi } from '@irvinebroque/public-api';
const api = new PublicApi();
const result = await api.health.list({});
console.log(result.status, result.headers.get('content-type')); // Keep transient capabilities in memory.CLI
irvinebroque health listThe SDK preserves status, headers, and the server envelope. A 304 has no fresh body. Errors retain structured problem details; ordinary error messages omit response details. Responses are limited to 16 MiB and requests time out after 30 seconds by default.