Skip to content
View as Markdown

GET AI Settings​

GET
/ai/settings

Retrieve the saved AI writing settings. If an API key is stored, the response returns a masked value that exposes only the last 4 characters.

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password

Type
API Key (header: Authorization)

Responses​

AI settings retrieved successfully.

application/json
JSON
{
"settings": {
"is_enabled": "string",
"provider": "string",
"api_key": "string",
"model": "string",
"custom_prompt": "string"
}
}

Playground​

Authorization

Samples​

Powered by VitePress OpenAPI