Appearance
First Prompt
Create a reusable prompt in the repository and execute it through the gateway. This is the recommended workflow for teams.
Use case
"We want a standardized support reply that can be versioned and shared."
Option 1: Create in the UI
- Go to Prompts -> Repository.
- Click New Prompt.
- Provide a name, system prompt, and user prompt.
- Save and publish the prompt.
Option 2: Create via API
bash
curl https://app.veriprompt.tech/api/v1/prompts \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Support Reply - Refund Policy",
"systemPrompt": "You are a helpful support agent.",
"userPrompt": "Draft a short reply explaining the refund policy.",
"temperature": 0.3
}'Execute the saved prompt
bash
curl https://app.veriprompt.tech/api/gateway/execute \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"promptId": "prompt_123",
"input": "Customer is asking for a refund after 45 days."
}'Tips
- Store shared prompts in a repository so changes are tracked.
- Add variables and guidance in the prompt text for consistency.
