Prerequisites
- An Endprompt account (sign up free)
- That’s it!
Step 1: Create an Endpoint
After logging in, you’ll land on your dashboard. Let’s create your first endpoint.Fill in the Details
Enter the following:
- Name:
Text Summarizer - Path:
/api/v1/summarize - Category:
Content(or create a new one) - Description:
Summarizes long text into concise bullet points
Step 2: Define Input Schema
Your endpoint needs to know what data to expect. Click the Input Schema tab.Add a Text Field
Click Add Field and configure:
- Name:
text - Type:
String - Required: Yes
- Description:
The text to summarize
Add a Length Field
Click Add Field again:
- Name:
max_bullets - Type:
Integer - Required: No
- Default:
5 - Description:
Maximum number of bullet points
Step 3: Create a Prompt
Now let’s write the prompt that powers your endpoint. Click the Prompts tab.Configure the Prompt
- Name:
Bullet Point Summarizer v1 - Model: Select
gpt-4o(or your preferred model) - Temperature:
0.3(lower = more consistent)
Step 4: Test Your Prompt
Before going live, let’s make sure it works. You should still be on the Prompts tab.Enter Test Data
In the auto-generated form, enter:
- text:
Endprompt is a platform for building LLM-powered APIs. It provides versioning, schema validation, and observability. Teams use it to ship faster and iterate safely. The platform supports multiple LLM providers including OpenAI and Anthropic. - max_bullets:
3
Step 5: Go Live
Your prompt is working. Let’s make it the default for your endpoint.Step 6: Get Your API Key
You need an API key to call your endpoint.Step 7: Call Your API
Now for the exciting part—calling your endpoint!Replace
yourcompany with your actual tenant subdomain, which you can find in your dashboard.What’s Next?
Congratulations! You’ve built your first LLM-powered API. Here’s where to go next:Learn Liquid Templating
Master the template syntax for dynamic prompts
Define Output Schemas
Ensure your API returns consistent JSON structures
Prompt Versioning
Learn to version, test, and rollback prompts safely
View Execution Logs
Monitor requests, debug issues, and track costs

