API Reference · v1

LUTUNG AI API

Integrate LUTUNG AI services into your application over a simple HTTPS + JSON API.

Access in this MVP

Public self-service API keys are not available yet. Endpoints are used by the LUTUNG Playground and require a signed-in LUTUNG session. Pilot developers who need integration access should contact the LUTUNG team.

Base URL & versioning

Base URL
https://<lutung-host>/api/v1

All endpoints are versioned under /api/v1. Breaking changes ship under a new version prefix.

Services

Public endpoints

No authentication required.

EndpointDescription
GET /api/v1/technologiesList all catalog entries
GET /api/v1/technologies/{slug}Get one technology
GET /api/v1/healthPortal and per-service status

Error codes

Errors use a consistent shape. Every response carries an X-Request-Id header — include it when reporting issues.

Error response
{"request_id": "req_…", "error": {"code": "RATE_LIMITED", "message": "Too many requests. Please try again later."}}
CodeHTTPMeaning / what to do
INVALID_FILE400 · 411 · 415Unsupported, malformed or empty upload. Select a supported file and retry.
FILE_TOO_LARGE413Upload exceeds the size or dimension limit. Reduce file size.
UNAUTHORIZED401Missing, expired or invalid identity token. Sign in again.
CONSENT_REQUIRED403Data-handling notice must be acknowledged before using a sensitive-document service.
TRIAL_ALREADY_USED403Free trial consumed. Paid access is not available yet; contact the team for pilot access.
TRIAL_IN_PROGRESS409Another trial request for this account is processing. Wait for it to finish.
RATE_LIMITED429Request limit exceeded. Wait for the Retry-After interval.
SERVICE_UNAVAILABLE503Provider unavailable, busy, or under maintenance. Retry later; do not submit repeatedly.
PROCESSING_TIMEOUT504Processing exceeded the configured timeout. A trial is not consumed.
INTERNAL_ERROR500Unexpected server failure. Report the request ID.