Developer Resources

Integrate with Hayati AI Nexus using our public API and machine-readable resources. All public endpoints are available without authentication.

Quick start

Fetch active pricing plans (no auth required):

curl https://www.hayatiainexus.com/api/plans

All API errors return structured JSON with error, code, and hint fields.

Machine-readable resources

Content negotiation

Key pages support Accept: text/markdown content negotiation. When an agent requests markdown, the response is a simplified markdown document instead of HTML.

curl -H "Accept: text/markdown" https://www.hayatiainexus.com/

Error format

All /api/* endpoints return structured JSON errors:

{
  "error": "The requested endpoint does not exist",
  "code": "NOT_FOUND",
  "hint": "Check /openapi.json for available endpoints or /llms.txt for product documentation."
}

5xx errors additionally include an errorId (UUID) for support reference.