Authentication
Mimir AIP currently implements authentication for worker-facing endpoints only. Client-facing endpoints (projects, pipelines, ontologies, etc.) do not require authentication in the current version.Worker Authentication
Worker endpoints (/api/worktasks/*) can be protected with bearer token authentication when configured.
Configuration
Set theWORKER_AUTH_TOKEN environment variable when starting the server:
WORKER_AUTH_TOKEN is not set, worker endpoints are accessible without authentication.
Using Authentication
Include the token in theAuthorization header:
Protected Endpoints
The following endpoints require authentication whenWORKER_AUTH_TOKEN is configured:
GET /api/worktasks- List work tasksPOST /api/worktasks- Submit work taskGET /api/worktasks/{id}- Get work task detailsPOST /api/worktasks/{id}- Update work task status
Unauthorized Response
Requests without a valid token receive a401 Unauthorized response:
Future Authentication
Future versions may implement:- API keys for client endpoints
- OAuth 2.0 / OIDC integration
- Role-based access control (RBAC)
- Project-level permissions