Whether the media editor's AI tools work, with which model
Whether the media editor's AI tools work, with which model (media:read)
Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.
GET
The AI tools run on the workspace's own OpenAI key; staqly never pays for these calls. The key is never returned, only its last four characters.
header
AuthorizationBearer <token>API key (stk_...), or in the Community Edition the access token (stk_local_...)
AI status
application/json- response
configured*booleanprovider*"openai"Value in
"openai"model*stringkey_hint*stringThe key's last four characters, e.g. ...a1b2
capabilities*reason*stringWhy AI is off or limited, in plain words; empty when everything works
models*array<string>can_manage*booleanThe caller may set or remove the key (admin)
updated_at?stringFormat
date-timecurl -X GET 'https://staqly.example.com/v1/ai'{ "configured": true, "provider": "openai", "model": "string", "key_hint": "string", "capabilities": { "generate": true, "edit": true, "inpaint": true, "expand": true }, "reason": "string", "models": [ "string" ], "can_manage": true, "updated_at": "2019-08-24T14:15:22Z"}