Create a prompt
Creates a new prompt with its first version. The template supports placeholders.
Documentation Index
Fetch the complete documentation index at: https://docs.mka1.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Body
Human-readable prompt name
1 - 255The prompt template text with {{variable}} placeholders
1 - 100000Detailed description of the prompt
2000Custom metadata key-value pairs
Response
OK
Unique prompt identifier
Object type
Human-readable prompt name
Currently active version number
-9007199254740991 <= x <= 9007199254740991Most recent version number
-9007199254740991 <= x <= 9007199254740991Custom metadata key-value pairs
Timestamp when the prompt was created
Timestamp when the prompt was last updated
The initial version created with this prompt
Detailed description of the prompt