PrerequisitesBefore making any API requests, make sure you have the following:
- An active Agnes AI Platform account
- A valid API key (generated in the Agnes AI developer dashboard)
1
Create an Account
Sign up for a new account, or log in to your existing Agnes AI Platform account. From the developer dashboard, you can manage API keys, billing, and more.
2
Generate an API Key
To authenticate your API requests, generate a secret API key in the Agnes AI Platform:Save this key securely. You will use it to authenticate all API requests (as described in the Authentication section):
Authorization: Bearer YOUR_API_KEY3
Make Your First Request
Below is a sample request to create a chat completion using
curl (you can also use tools like Postman, Python requests, or other HTTP clients):4
Next Steps
After your first request, explore these next steps to get more out of the Agnes AI API:
- Read the documentation for request parameters, response formats, and error handling for each API endpoint.
- Integrate advanced features like streaming responses or tool calling to enhance your application’s functionality.