Skip to content

Developer API

Base URL, authentication, and the endpoints available to API clients.

OverviewPermalink to Overview

The Relane API is served over HTTPS and speaks JSON. The inference endpoint follows the OpenAI chat-completions request and response shape, so an existing client can usually be pointed at Relane by changing the base URL and the credential.

Base URL
https:class=class="tk-str">"tk-comment">//api.relane.ai

EndpointsPermalink to Endpoints

GET/v1/models

List the models available to the caller.

Authentication: Optional — the catalog responds without a credential; results reflect the caller when one is supplied.

GET/v1/models/{model_id}

Fetch a single model entry.

Authentication: Optional

POST/v1/chat/completions

Create a chat completion, streaming or non-streaming.

Authentication: Required

What is not part of this APIPermalink to What is not part of this API

The security scanning endpoints are not a public API

Repository, scan, result and finding data is exchanged between the console and the backend over an internal contract that is free to change. Use the console for security scanning. Only the endpoints listed above are supported for programmatic use.