Developer Documentation

Everything you need to integrate Enprompta into your applications — RESTful API, official SDKs, and comprehensive guides. Send your first LLM trace in under five minutes.

TypeScript & Python SDKsInteractive WorkbenchOpenAPI Spec

Start free — record traces on any plan

Every account, including Free, can send observability traces via the OTLP endpoint or SDK (5,000/month) — that's the quick start below. The rest of the REST API (prompts, executions, teams) is available on Pro and Enterprise: editor seats get read/write, free viewer seats read-only.

View pricing plans →

API Features

Built with developers in mind — everything you need for seamless integration.

Authentication

API keys and OAuth2 client credentials flow.

Webhooks

Real-time event notifications with HMAC signing.

Rate Limiting

Tiered rate limits with automatic retry handling.

Idempotency

Safe retries for POST/PUT operations.

Get Started in Minutes

Install our SDK and start managing prompts with just a few lines of code.

TypeScript@enprompta/sdk
import { Enprompta } from '@enprompta/sdk'

const client = new Enprompta({
  apiKey: 'ep_your_api_key'
})

// List prompts
const prompts = await client.prompts.list()

// Create a prompt
const prompt = await client.prompts.create({
  title: 'Email Writer',
  content: 'Write a professional email about {{topic}}'
})

// Execute with variables
const result = await client.prompts.execute(prompt.id, {
  variables: { topic: 'project update' },
  provider: 'openai',
  model: 'gpt-4'
})
Pythonenprompta
from enprompta import Enprompta

client = Enprompta(api_key="ep_your_api_key")

# List prompts
prompts = await client.prompts.list()

# Create a prompt
prompt = await client.prompts.create(
    title="Email Writer",
    content="Write a professional email about {{topic}}"
)

# Execute with variables
result = await client.prompts.execute(
    prompt.id,
    variables={"topic": "project update"},
    provider="openai",
    model="gpt-4"
)

API Base URL

https://enprompta.com/api/v1

All API endpoints are versioned and served over HTTPS.

Documentation - Enprompta API & SDK