Health API
Check whether the Factory API deployment is serving requests.
Check that the Factory API is up
Returns 200 while this deployment serves requests, with the commit it was built from, the region it serves, and the client address it saw. It reads no credential.
No authentication required.
curl 'https://api.factory.ai/api/health'Responses
application/json
Allowed values
Build marker for diagnostics; carries no other meaning
Server time
Git commit the deployment was built from, or null outside a Vercel deployment
Data-residency region this deployment serves
Allowed values
The `x-real-ip` header the request reached the deployment with, or null without one
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
defaultResponse for status default
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users