Read the public v1 guide
GET
/v1/guide
const url = 'https://api.sanctionary.org/v1/guide';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.sanctionary.org/v1/guideResponses
Section titled “Responses”Read the public v1 guide.
Media typetext/markdown
string
Headers
Section titled “Headers”X-Request-Id
required
string format: uuid
The request’s ID, a UUIDv7 we make. With the other receipt headers and the client’s copy of request and response: the receipt.
X-Sanctionary-Build
required
string
The revision of the code that answered.
X-Sanctionary-Response-SHA256
required
A SHA-256 digest, hex.
string
SHA-256 (hex) of the body as the client decodes it; through MCP, of the text block.
X-Credits-Charged
required
integer
Credits this answer charged: 0 for a free one or a refusal.