Before You Start
Think about:- What will this endpoint do? — Summarize text? Classify content? Generate responses?
- What inputs does it need? — Text, numbers, options, files?
- What outputs should it return? — Structured JSON? Simple text?
Creating the Endpoint
1
Navigate to Endpoints
Click Endpoints in the sidebar to open the endpoints list.
2
Click Create
Click the Create Endpoint button in the top-right corner.
3
Fill in Basic Details
Complete the form:
4
Set Visibility
Choose who can see this endpoint:
- Public — All team members can view and use
- Internal — Only visible to you and admins
5
Save
Click Create to save your endpoint.
Path Requirements
Your endpoint path must follow these rules:Must start with /api/v1/
Must start with /api/v1/
All paths begin with
❌
/api/v1/ for consistency and future versioning.✅ /api/v1/summarize❌
/summarizeMust be unique
Must be unique
No two endpoints can have the same path within your tenant.
Use lowercase and hyphens
Use lowercase and hyphens
Paths should be lowercase with hyphens separating words.✅
❌
/api/v1/generate-subject❌
/api/v1/GenerateSubjectKeep it short and descriptive
Keep it short and descriptive
Good paths describe what the endpoint does.✅
❌
/api/v1/classify-sentiment❌
/api/v1/do-the-thingAfter Creation
Once created, you’ll land on the endpoint detail page. From here you should:- Define Input Schema — Specify what data your endpoint accepts
- Define Output Schema (optional) — Specify the response structure
- Create a Prompt — Write the LLM instruction
- Test — Verify everything works
- Set Default — Promote and set the default prompt
An endpoint without a default prompt will return an error when called. Make sure to create and set a default prompt before using it in production.
Example: Building a Sentiment Analyzer
Let’s create a complete endpoint for sentiment analysis:Step 1: Basic Details
Step 2: Input Schema
Add one required field:Step 3: Output Schema
Define the expected response:Step 4: Create Prompt
Duplicating Endpoints
Need a similar endpoint? You can duplicate an existing one:- Find the endpoint in your list
- Click the ⋯ menu
- Select Duplicate
- Modify the name and path
- Adjust schema and prompts as needed
Deleting Endpoints
To delete:- Go to the endpoint’s Settings tab
- Scroll to the Danger Zone
- Click Delete Endpoint
- Confirm by typing the endpoint name
Next Steps
Define Input Schema
Specify what data your endpoint accepts
Define Output Schema
Specify what data your endpoint returns

