Endpoints
Available on Request
Reference
Need more?
We expose additional endpoints on request — model training, transcription, labeling, and more.
Talk to us →Build on Labelf.
Labelf exposes a comprehensive REST API for classification, model management, semantic search, dashboards, and data pipelines. Everything the platform does, the API does — classify a single utterance, score every interaction in a contact center, or feed real-time churn signals into your CRM.
<50ms
Avg latency
100+
Languages
99.9%
Uptime SLA
8
Texts per request
Classification Levels
Customer interactions are not flat. A single phone call contains dozens of utterances, belongs to an errand that may span multiple channels, and sits within the full history of a customer relationship. Labelf classifies at every level — giving you the resolution you need, from individual statements to organization-wide patterns.
Utterance level
Classify individual messages or statements within a conversation. Identify the moment a customer mentions churn, a competitor, or a specific pain point — even inside a 40-minute call transcript.
Conversation level
Classify the entire call, chat session, or email thread. Determine the overall intent, outcome, and sentiment of each interaction as a whole.
Errand / Ticket level
Classify the full customer case across multiple interactions. A billing dispute that starts in chat, moves to phone, and resolves via email is one errand — Labelf sees it as one.
Customer level
Aggregate classifications across all interactions for a single customer. Surface patterns like repeated cancellation attempts, escalating frustration, or emerging cross-sell signals over time.
Agent level
Analyze agent behavior patterns across all their conversations. Identify coaching opportunities, measure retention-save techniques, and surface which agents excel at turning detractors into promoters.
The same /inference endpoint handles all levels. The difference is what text you pass — a single utterance, a full transcript, or a concatenated case history. Your models learn from whichever level you train on.
Language Support
The same endpoint handles 100+ languages without configuration. No language parameter is needed — detection is automatic. Train a model on English examples and it generalizes across languages. Or train on mixed-language data from your actual contact center.
{
"texts": ["Jag vill säga upp mitt abonnemang"]
} {
"predictions": [
{ "label": "Cancellation", "confidence": 0.92 }
],
"text_language": "sv",
"processing_time_ms": 41
}
Labels are always returned in the language they were defined in during training. A Swedish customer saying "Jag vill säga upp mitt abonnemang" returns the same Cancellation label as an English customer saying "I want to cancel my subscription."
Quick Start
Classify your first text in under 5 minutes. Get an API key from your Labelf dashboard, then:
curl -X POST https://api.labelf.ai/v2/models/42/inference \
-H "Authorization: Bearer $LABELF_API_KEY" \
-H "Content-Type: application/json" \
-d '{"texts": ["I want to cancel my subscription"]}' Response:
{
"predictions": [
{ "label": "Cancellation", "confidence": 0.94 },
{ "label": "Billing Issue", "confidence": 0.03 },
{ "label": "Technical Support", "confidence": 0.02 }
],
"model_id": 42,
"text_language": "en",
"processing_time_ms": 38
} Next Steps
Authentication →
Generate API keys, understand workspace roles, and set up Bearer tokens
Classification →
Full reference for the inference endpoint — multi-language, confidence thresholds, hierarchical models
Semantic Search →
Find similar conversations, surface patterns, and power recommendation engines with vector search
Models →
List, inspect, and manage your deployed models — versions, performance metrics, and training status
Multi-Model →
Run hierarchical classification in a single request — product, issue type, and root cause in one call
Errors & Limits →
HTTP status codes, rate limiting, and troubleshooting common integration issues