Skip to main content
This guide provides an example on how to use the API endpoint.

Prerequisites

Base URL: https://api.fortytwo.network/v1
Network access to:https://api.fortytwo.network/
Authentication Token: YOUR_FORTYTWO_API_KEY
OpenAI SDK v1.0+ is required for SDK Integration.
Keep your API key secure! Your API key should be treated like a password. Never share it publicly or commit it to version control systems.

Usage

List available models:
Bash
Chat completions:
Bash