Develop Modern AI Agents and Assistants using OpenLink AI Layer (OPAL) Services

An immersive, interactive guide to accelerate your developer onboarding. Go from zero to a fully authenticated API call in minutes.

Interactive Quick Start

Step 1: Configure Your Endpoint

First, confirm the URL for the API server. The default is pre-filled for you.

Step 2: The Unauthenticated Call

Let's make a simple, public call to list available functions and ensure the endpoint is reachable.

Response will appear here...

Step 3: Get Your API Key

Paste your API Key (Bearer Token) here. If you need a key, you can generate one on the Application Keys page. It will be sent in the `Authorization` header for authenticated requests.

Step 4: Create a Chat Session

This call creates a new chat session with default settings. The response gives us a `chat_id` to use in subsequent calls.

Response will appear here...

Step 5: Modify Session Settings

Now, let's customize our new session by changing its title and model, overwriting the defaults.

Response will appear here...

Step 6: Ask a Question

With our session configured, we can interact with it. Your `chat_id` is automatically included in the request.

Response will appear here...

Interactive API Explorer