Skip to main content
POST https://api.prysm1.com/v1/route · Requires authentication
Preview a routing decision without generating a completion. Returns the model PRYSM would select for a prompt plus an estimated cost — perfect for testing BRAIN.md rules and showing users a price before they spend.

Authorization

string
required
Your secret key as a bearer token: Bearer prysm_sk_...

Body

string
required
The prompt to classify and route.
string
Force a routing mode: quality, balanced, or agility. Omit to let PRYSM choose.
object
An inline BRAIN.md config to apply when routing.

Response

object
The routing decision.
object
object