POST /api/v1/ai/engines
One provider row: the connection (token_id, from AI settings), the model and, for an LLM, the system prompt.
owner, admin
The new engine.
The request is wrong; message says what to fix.
The access key is missing, expired or revoked.
Your role may not call this endpoint, or the key is read only (read_only_key).
Too many requests for this key (rate_limited). Wait for the seconds in Retry-After.