跳到主要内容

Preview an operation's prompts (no LLM call)

POST 

/v1/default/banks/:bank_id/prompts/preview

Render the exact system and user messages retain, consolidation or reflect would send for this bank, without calling an LLM, reading memories, or changing anything. Everything that shapes the prompt comes from the bank; the runtime data an operation would be given is a fixed placeholder. Both messages are returned: retain and consolidation keep their system prompt bank-agnostic (one provider-side cache serves every bank) and carry the mission in the user message instead.

Authentication required — include an Authorization: Bearer hsk_... header. See Authentication for details.

Request

Responses

Successful Response