Skip to main content
Version: Next

Developer Quickstart

Get up and running with ASI:One in minutes. This guide will walk you through setting up your first API request.

Prerequisites

  • An ASI:One API key
  • Basic knowledge of HTTP requests
  • Your preferred programming language (Python, JavaScript, or cURL)

Step 1: Get Your API Key

  1. Sign up at ASI:One Platform
  2. Navigate to Developer Section.
  3. Click on Create New.
  4. Give name to your api_key and save it somewhere safe.

Quick-start demo

Step 2: Make Your First Request

curl https://api.asi1.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY_HERE" \
-d '{
"model": "asi1-mini",
"messages": [
{"role": "user", "content": "Hello! How can you help me today?"}
]
}'

Step 3: Understanding the Response

Your API call will return a response like this:

{
"id": "id_zRgUoZjjcr4yxIG0B",
"model": "asi1-mini",
"executable_data": [],
"intermediate_steps": [],
"conversation_id": null,
"thought": ["\n\n"],
"choices": [
{
"index": 0,
"finish_reason": "stop",
"message": {
"role": "assistant",
"content": "Hey there! 👋 ...",
"reasoning": "\n\n"
}
}
],
"usage": {
"prompt_tokens": 71,
"completion_tokens": 105,
"total_tokens": 176
}
}

Key parts you usually read:

choices[0].message.content – the assistant’s reply (the “Hey there! 👋 …” text).

usage – token accounting for cost/limits.

Agent-specific fields:

executable_data – where an agentic model will return structured tool calls or agent manifests (empty here because no discovery was requested).

intermediate_steps – debugging breadcrumbs for multi-step plans (also empty here).

thought – a lightweight reasoning trace; often newline characters when the model didn’t need explicit chain-of-thought.

So the call succeeded and the payload is exactly what you’d expect for a plain text question.
If you want the docs’ example to match this, just replace the existing sample JSON block with the snippet above (or cut it down to only the choices and usage sections to keep it concise).

Next Steps