HTTP API

The raw spec is /openapi.json (OpenAPI 3.0.3). Call these routes on https://promptiful.ai. This docs host only serves the document.

Routes

Public JSON
MethodPathReturns
GET/api/healthok, library (spec count), and stage. No authentication.
GET/api/marketToken-level catalog. Query: level (free, go, plus, pro, master), category, q. Each listing is id, title, category, level, token estimate, tier, up to six job phrases, and locked. No prompt bodies.

An unknown level is ignored. An unknown category matches nothing. A site session cookie, if a browser sends one, only changes locked and the entitlement summary. Do not send that cookie from another client.

Not in this spec

There is no general public REST API. These existing routes stay out: