HTTP API

These are the public endpoints exposed by the Prism Next.js server.

Endpoint reference

Expand an endpoint to see an example request and response.

Notes

Use the same base URL as the Prism web app.
API routes return { success: true, data: ... } on success and{ success: false, error: "..." } on errors.
Public endpoints are rate-limited. When exceeded, responses return HTTP 429 with{ success: false, error: "rate limit exceeded" } andRateLimit-Limit,RateLimit-Remaining,RateLimit-Reset headers.