myt AI Cloud

By Mauritius Telecom

Beta
⌘K
Introduction

Authentication

How to authenticate requests to the myt AI Cloud API.

All API calls require a Bearer token issued for your organisation. Portal users authenticate via Keycloak (passwordless email OTP); service calls use API keys with the Authorization header.

HTTP header

Authorization: Bearer YOUR_API_KEY

Use HTTPS only. Do not embed keys in browser-side code or public repositories.

Key scope

Keys are tied to an organisation and project and inherit that project’s model access, routing, and budgets. Block or delete keys from API keys if they may be exposed.

Errors

HTTPMeaning
401Missing or invalid token
403Token valid but not allowed for this resource

See each endpoint page for error body examples.

On this page