Core Concepts

Endpoints
An Endpoint is a stable API URL that your application calls. Think of it as the “contract” between your code and the LLM.- Path — The URL path (e.g.,
/api/v1/summarize) - Input Schema — What data the endpoint accepts
- Output Schema — What data the endpoint returns
- Default Prompt — Which prompt to use when called
Prompts
A Prompt is the actual instruction sent to the LLM. Prompts are attached to endpoints and can be versioned independently.- Liquid Templating — Use
{{ inputs.fieldName }}to inject request data - Model Selection — Choose which LLM to use (GPT-4, Claude, etc.)
- Settings — Configure temperature, max tokens, and other parameters
- Versioning — Every save creates a new version you can rollback to
Prompt Status Lifecycle
Prompts follow a status workflow:Input & Output Schemas
Schemas define the structure of data flowing in and out of your endpoint. Input Schema Example:Input validation happens automatically. If a request doesn’t match your schema, it’s rejected with a clear error message before reaching the LLM.
Request Flow
Here’s what happens when you call an Endprompt endpoint:1
Request Received
Your application sends a POST request with JSON data to your endpoint URL.
2
Authentication
Endprompt validates your API key from the
x-api-key header.3
Input Validation
The request body is validated against the endpoint’s input schema.
4
Prompt Resolution
The default prompt (or specified prompt) is loaded.
5
Template Rendering
Liquid template is rendered with your input data, creating the final prompt text.
6
LLM Execution
The rendered prompt is sent to the configured LLM (OpenAI, Anthropic, etc.).
7
Response Parsing
The LLM response is parsed and validated against the output schema.
8
Logging
The entire execution is logged for observability.
9
Response Returned
The validated JSON response is returned to your application.
Multi-Tenancy
Each Endprompt account is a tenant with its own:- Subdomain (e.g.,
yourcompany.api.endprompt.ai) - Endpoints, prompts, and configurations
- API keys
- Team members
- Usage quotas
All your data is completely isolated from other tenants. Your prompts, logs, and API keys are never visible to others.
What Makes This Different?
Stable Contracts
Your application code calls the same URL forever. Iterate on prompts without deployments.
Type Safety
Schema validation catches errors before they reach the LLM—and before they reach your users.
Version Control
Every prompt change is versioned. Test new versions, rollback bad ones, compare performance.
Observability
See every request, response, latency, and cost. Replay requests to debug issues.
Next Steps
Dashboard Overview
Learn to navigate the Endprompt dashboard
Create an Endpoint
Build your first production endpoint

