Create a pre-prompt
Prompt management
Create PrePrompt
Creates a masked pre-prompt. Requires the backend secret via Authorization: Bearer <secret> or X-Backend-Secret: <secret>.
POST
Create a pre-prompt
Create a masked pre-prompt by pairing a public label with the hiddenDocumentation Index
Fetch the complete documentation index at: https://docs.handauncle.com/llms.txt
Use this file to discover all available pages before exploring further.
maskedValue
that is injected after the system prompt. Send Authorization: Bearer <BACKEND_SECRET>
or X-Backend-Secret: <BACKEND_SECRET> with every admin request.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
key | string | ✅ | Unique identifier (2-64 chars, alphanumeric with underscores/dashes) |
publicValue | string | ✅ | User-facing label (1-512 chars) |
maskedValue | string | ✅ | Hidden prompt injected into LLM context (1-4000 chars) |
description | string | ⛔ | Optional description (max 500 chars) |
tags | string[] | ⛔ | Optional tags for categorization (max 16 tags) |
Headers
Backend secret token required for admin-only endpoints. Provide either this header or Authorization: Bearer <secret>.
Body
application/json
Required string length:
2 - 64Pattern:
^[a-zA-Z0-9][a-zA-Z0-9_-]{1,63}$Required string length:
1 - 512Required string length:
1 - 4000Maximum string length:
500Maximum array length:
16Maximum string length:
50