Search the documentation

Pick a page and open it with Enter.

Prompt

Fetch one system prompt verbatim.

GET/api/v1/prompts/{name}

Returns a single system prompt verbatim, along with its metadata.

Path parameters

namestringrequired

Name of the prompt, e.g. default.

Example

bash
curl http://localhost:8000/api/v1/prompts/default

Response

json
{
  "name": "default",
  "title": "Default assistant",
  "variables": ["skills_block"],
  "length": 4820,
  "text": "You are Smeeware, an assistant …\n\n## Reading pages\n…"
}
200

Prompt found.

404

Unknown name.