Page cover

Your First API Call

The Arcee Platform API is OpenAI compatible. It can be accessed through your command line, or, with minor configuration changes, through the OpenAI SDK.

curl -X POST "https://api.arcee.ai/api/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <Arcee Platform API Key>" \
  -d '{
        "model": "arcee-ai/AFM-4.5B",
        "messages": [
          {"role": "system", "content": "You are a helpful assistant."},
          {"role": "user", "content": "Greetings!"}
        ],
        "stream": false
      }'

Last updated