Skip to main content

API reference

Link inference and Control management are separate interfaces. Start with a tested local request.

AVENTAIL / PROCESS GUIDE

Separate the two API roles

At a glance

Separate the two API roles

Local inference and hosted management use different interfaces.

Process overview
  1. Link agent :20505Health and configured model discovery
  2. Model server :8100/v1Model IDs and chat requests; port may differ
  3. Control managementUse a supported management API contract

View 1 of 1: Separate the two API roles.

Process overview; detailed actions and examples are below.
AVENTAIL / PROCESS GUIDE

Separate the two API roles

At a glance

Separate the two API roles

Local inference and hosted management use different interfaces.

Process overview
  1. Link agent :20505Health and configured model discovery
  2. Model server :8100/v1Model IDs and chat requests; port may differ
  3. Control managementUse a supported management API contract

View 1 of 1: Separate the two API roles.

Read the API reference

Use the endpoint shown under Serving, followed by /v1. The tested paths are:

MethodPathPurpose
GET/v1/modelsDiscover model IDs
POST/v1/chat/completionsSend a chat request

Start with the working request example, then read the Link integration reference for discovery, errors and browser access.

Control management API​

Control manages account, device and model operations separately from local inference. A Control account credential is not a model ID or the local endpoint's API key.

For supported management endpoints and authentication, contact support@locai.co.uk. Use the Control UI until an applicable API contract is supplied; do not infer endpoint paths from browser routes.

Try a request​

The local API walkthrough shows a real request and response. The old mock playground is replaced by this walkthrough.