API Usage Examples
Last updated
Last updated
The only pre-requisite to start using Alpha API is to obtain a token. Learn about it in .
The code sample below checks the account status of the API token owner: API Credits balance, User Tier, and $AIKEK balance. This API endpoint is free.
This code sample calls Enterprise API for each of the three available Alpha Chat Universal Agents, asks them the same question, and returns a streaming response.
Note: The code sample below spends 6 API Credits upon running.