POST /v1/brain/share requires a Bearer token. GET /v1/b/{id} is public — no key needed.
POST /v1/brain/share
Create a shareable link for a BRAIN.md config.POST
https://api.prysm1.com/v1/brain/share · Auth requiredRequest Body
string
Raw BRAIN.md text to share. Accepts the same YAML format as
/v1/brain/validate.object
Pre-parsed config dict (alternative to
brain_md).string
Optional human-readable label shown on the share page (max 120 chars).
Response
string
brain.shareUnique ID for this share (
prysm1.com/b/{share_id}).string
Full API URL to retrieve the config:
https://api.prysm1.com/v1/b/{share_id}.string
Marketing short URL:
https://prysm1.com/b/{share_id}.string | null
Echoed title, or null if not provided.
object
Normalized config object (the canonical form, regardless of which input format was used).
boolean
Whether the config passed validation.
string[]
Validation errors (empty if valid).
GET /v1/b/
Retrieve a shared BRAIN.md config by its short ID. No API key required.GET
https://api.prysm1.com/v1/b/{share_id} · PublicThe short ID returned by
POST /v1/brain/share.Response
string
brain.shareThe share ID.
string | null
Label set by the sharer.
object
Normalized BRAIN.md config.
string | null
Original BRAIN.md text (if shared as text).
number
Unix timestamp of when the share was created.
GET /v1/brain/shares
List BRAIN.md configs you have shared, newest first.GET
https://api.prysm1.com/v1/brain/shares · Auth required{object: "list", data: [{share_id, title, config, url, short_url, created_at}...]}.
GET /v1/brain/badge
Generate an SVG badge for embedding in a README or docs page.GET
https://api.prysm1.com/v1/brain/badge · Public · Cacheable 1hstring
A PRYSM model ID (e.g.
deepseek-v3.2). The badge value becomes the model’s display name,
colored by tier: budget=green, mid=amber, premium=indigo, frontier=violet.string
Override the left label. Default:
BRAIN.md.