{% extends "base.html" %} {% block title %}My API Tokens - AISBF{% endblock %} {% block content %}
Manage your personal API tokens for accessing the AISBF API
{% if success %}Include your API token in the Authorization header when making requests:
Authorization: Bearer YOUR_API_TOKEN
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/user/models |
List your models |
GET |
/api/user/providers |
List your providers |
GET |
/api/user/rotations |
List your rotations |
GET |
/api/user/autoselects |
List your autoselects |
POST |
/api/user/chat/completions |
Chat using your configs |
GET |
/mcp/tools |
List MCP tools |
POST |
/mcp/tools/call |
Call MCP tools |
# List your models
curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:17765/api/user/models
# List your providers
curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:17765/api/user/providers
# Send a chat request
curl -X POST -H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model": "user-rotation/myrotation", "messages": [{"role": "user", "content": "Hello"}]}' \
http://localhost:17765/api/user/chat/completions