Skip to main content
This guide helps you send your first AGICTO API request in the OpenAI-compatible format. You will set the API Key, use the correct Base URL, and verify a Chat completions response.

Prerequisites

  • You have an AGICTO API Key
  • Your account has available balance or quota
  • Your environment can reach AGICTO API

1. Set your API Key

Send your API Key in the Authorization header.
Do not expose your API Key in client-side code, public repositories, or logs.

2. Use the Base URL

The AGICTO API Base URL is:
Copy the Base URL shown in the console. Example requests use the full URL. This page uses Chat completions. The full request URL is:

3. Send a Chat request

Replace $API_KEY with your API Key. Replace model with a model available to your account.

4. Use the OpenAI SDK

Next steps

OpenAI compatibility

Learn how to migrate existing OpenAI SDK code.

API reference

Browse endpoint details synced from Apifox.