Togai uses token based authentication to authenticate API requests.Documentation Index
Fetch the complete documentation index at: https://docs.togai.com/llms.txt
Use this file to discover all available pages before exploring further.
Generating New API Keys 🔑
If this is your first time using Togai, you’ll likely need to generate a new API key from your Togai web app, API Tokens screen. You can do this by navigating in web app ->- Click Settings
- Click API Tokens
- Generate your first API key! You can do this by clicking the big green button Generate New Token in the center.

Types of authentication
Togai provides 3 types of authentication -- Username & Password - this can be used as your authentication mechanism for API but this is not the recommended approach.
- Long lived secret key - This is the token used from the previous section and used as the Bearer token while making API requests to Togai.
- Short lived token - You can check the method here to generate a short lived API token. The advantage this provides is high throughput performance for the Ingest API.
