Platform APIs¶
Build with Pauhu. Comprehensive REST APIs for translation, document processing, and compliance. Type-safe SDKs for Python, TypeScript, Go, and Rust.
Base URL¶
All API requests must be made over HTTPS. Requests over HTTP will fail.
Quick Start¶
API Sections¶
-
Authentication
API keys, OAuth 2.0, service accounts, and SSO/SAML.
-
Translation API
Text translation, batch processing, language detection, streaming.
-
Documents API
Upload, translate, and download documents. 50+ formats.
-
Compliance API
Audit logs, compliance status, reports.
-
Models API
List, download, and manage translation models.
-
SDKs
Type-safe SDKs for Python, TypeScript, Go, Rust.
Authentication¶
All API requests require authentication using an API key:
Keep your API keys secure
Never expose API keys in client-side code or public repositories.
Response Format¶
All responses are JSON with consistent structure:
Success Response¶
{
"data": {
"translation": "Hei, maailma!",
"source_language": "en",
"target_language": "fi",
"confidence": 0.98
},
"meta": {
"request_id": "req_abc123",
"processing_time_ms": 45,
"model": "pauhu-v3-eu"
}
}
Error Response¶
{
"error": {
"code": "invalid_api_key",
"message": "The API key provided is invalid.",
"status": 401
},
"meta": {
"request_id": "req_abc123"
}
}
Rate Limits¶
| Tier | Requests/min | Requests/day | Characters/day |
|---|---|---|---|
| Pauhu® | 60 | 1,000 | 100,000 |
| Pro | 600 | 100,000 | 10,000,000 |
| Max | 3,000 | Unlimited | Unlimited |
| Ops | Custom | Custom | Custom |
Rate limit headers:
Versioning¶
The API is versioned via URL path:
v1- Current stable version- Breaking changes result in new major versions
- Minor updates are backwards-compatible
OpenAPI Specification¶
Download the complete OpenAPI 3.1 specification:
Use with tools like Postman, Insomnia, or generate clients.
Environments¶
| Environment | Base URL | Purpose |
|---|---|---|
| Production | api.pauhu.ai | Live API |
| Sandbox | sandbox.api.pauhu.ai | Testing |
| EU Region | eu.api.pauhu.ai | EU data residency |