Skip to main content
PATCH
/
v1
/
blog
/
settings
Update blog autopilot settings
curl --request PATCH \
  --url https://api.yalg.ai/v1/blog/settings \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "enabled": true,
  "siteUrl": "https://yalg.ai",
  "cadence": "weekly"
}
'
{
  "enabled": true,
  "siteUrl": "https://yalg.ai",
  "cadence": "weekly",
  "updatedAt": "2026-06-20T17:24:39.000Z"
}

Authorizations

x-api-key
string
header
default:yalg_live_your_api_key
required

YALG Developer API key. Send it in the x-api-key header from a server-side environment only.

Body

application/json
isEnabled
boolean

Enables or disables blog autopilot for the owner.

Example:

true

articlesPerWeek
number

Target number of blog articles to generate per week.

Required range: 1 <= x <= 21
Example:

2

articlesPerRun
number

Maximum number of blog articles to generate in one autopilot run.

Required range: 1 <= x <= 10
Example:

1

defaultLanguage
string

Default output language code for blog articles.

Maximum string length: 10
Example:

"en"

minSeoScore
number

Minimum SEO score, from 0 to 100, required for an imported keyword to be eligible.

Required range: 0 <= x <= 100
Example:

70

Response

Successful response. Update blog autopilot settings.

Blog autopilot settings.

enabled
boolean
Example:

true

siteUrl
string<uri>
Example:

"https://yalg.ai"

cadence
string
Example:

"weekly"

updatedAt
string<date-time>
Example:

"2026-06-20T17:24:39.000Z"