Check readiness
GET/readyz
const url = 'http://127.0.0.1:8080/readyz';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:8080/readyzReturns 200 once the Pack is loaded, and 503 before that. The body is
empty.
Responses
Section titled “Responses”The Pack is loaded.
Headers
Section titled “Headers”ID the request is logged under: the request’s own X-Request-Id when it sent one. Include it in bug reports.
Method not allowed. The route accepts GET only.
Error response, an RFC 9457 problem document.
object
Human-readable explanation. Absent on 500 errors.
Stable error code. Branch on this.
Rejected parameters. Present only when the error is about parameters.
A rejected parameter.
object
Parameter name.
Why it was rejected.
ID the request is logged under. Include it in bug reports.
Name of the HTTP status. Do not branch on it.
URI identifying the problem type. Currently always about:blank.
Example
{ "detail": "q must not be empty", "error_code": "invalid_query", "invalid_params": [ { "name": "limit", "reason": "must be at most 50" } ], "request_id": "01JA7Q2K3M4N5P6Q7R8S9T0V1W", "status": 400, "title": "Bad Request", "type": "about:blank"}Headers
Section titled “Headers”Example
GETMethods the route accepts.
ID the request is logged under: the request’s own X-Request-Id when it sent one. Include it in bug reports.
The Pack is not loaded yet.
Headers
Section titled “Headers”ID the request is logged under: the request’s own X-Request-Id when it sent one. Include it in bug reports.

