Creates a masked pre-prompt. Requires the backend secret via Authorization: Bearer <secret> or X-Backend-Secret: <secret>.
maskedValue
that is injected after the system prompt. Send Authorization: Bearer <BACKEND_SECRET>
or X-Backend-Secret: <BACKEND_SECRET> with every admin request.
| 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) |
Backend secret token required for admin-only endpoints. Provide either this header or Authorization: Bearer <secret>.
2 - 64^[a-zA-Z0-9][a-zA-Z0-9_-]{1,63}$1 - 5121 - 40005001650