labelf.ai
Book a Demo
API Documentation
https://api.labelf.ai/v2 REST + JSON Bearer Auth

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.

U

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.

C

Conversation level

Classify the entire call, chat session, or email thread. Determine the overall intent, outcome, and sentiment of each interaction as a whole.

E

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.

P

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.

A

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.

Request — Swedish
{
  "texts": ["Jag vill säga upp mitt abonnemang"]
}
Response
{
  "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

labelf.ai
Address:
Gamla Brogatan 26, Stockholm, Sweden
Contact:

© 2026 Labelf. All rights reserved.