WorkspaceAgent
uuidstring<uuid>required
typestringrequired
Possible values: [pre_publish_checker, failed_post_fixer]
namestringrequired
enabledbooleanrequired
schedulestringrequired
Possible values: [hourly, every_6_hours, daily, weekly]
settings objectrequired
Agent settings; each type reads its own keys.
Pre-publish checker: horizon_hours, check_links, banned_phrases, ai_review,
max_ai_reviews_per_run. Failed-post fixer: lookback_hours.
horizon_hoursinteger
Check posts scheduled within this many hours.
Possible values: >= 1 and <= 168
Default value:
24check_linksboolean
Flag links in captions that answer an HTTP error.
Default value:
truebanned_phrasesstring[]
Phrases to propose removing from captions.
Possible values: <= 50
Default value:
[]ai_reviewboolean
Ask AI to review captions (one AI credit per reviewed post).
Default value:
falsemax_ai_reviews_per_runinteger
Possible values: >= 1 and <= 50
Default value:
10lookback_hoursinteger
Look at posts that failed within this many hours.
Possible values: >= 1 and <= 72
Default value:
24last_run_at(string | null)<date-time>nullablerequired
next_run_at(string | null)<date-time>nullablerequired
created_at(string | null)<date-time>nullable
WorkspaceAgent
{
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "pre_publish_checker",
"name": "string",
"enabled": true,
"schedule": "hourly",
"settings": {
"horizon_hours": 24,
"check_links": true,
"banned_phrases": [
"string"
],
"ai_review": false,
"max_ai_reviews_per_run": 10,
"lookback_hours": 24
},
"last_run_at": "2024-07-29T15:51:28.071Z",
"next_run_at": "2024-07-29T15:51:28.071Z",
"created_at": "2024-07-29T15:51:28.071Z"
}