Step 1: Get your API key
- Go to platform.atlasflux.my
- Sign in with your developer account
- Navigate to API Keys
- Click Create API key
- Choose Development environment
- Copy the key and save it securely
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Step-by-step walkthrough for creating a test API key, exporting it as an environment variable, and sending your first AtlasFlux request with curl.
export ATLASFLUX_API_KEY="af_test_YOUR_KEY_HERE"
curl -X POST https://api.atlasflux.my/v1/responses \
-H "Authorization: Bearer $ATLASFLUX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Hello, what can you do?"}'
const res = await fetch("https://api.atlasflux.my/v1/responses", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.ATLASFLUX_API_KEY}`,
},
body: JSON.stringify({ input: "Hello, what can you do?" }),
});
const data = await res.json();
console.log(data.output_text);
import requests, os
r = requests.post(
"https://api.atlasflux.my/v1/responses",
headers={"Authorization": f"Bearer {os.environ['ATLASFLUX_API_KEY']}"},
json={"input": "Hello, what can you do?"},
)
print(r.json()["output_text"])
{
"output_text": "I'm AtlasFlux Nenas Flash, an AI assistant...",
"usage": {
"input_tokens": 8,
"output_tokens": 24,
"cost_myr": "0.000640"
}
}
Was this page helpful?
