Api
Human REST agent context
Cookie (with REST nonce), OAuth, and application-password callers keep their authenticated WordPress user and capabilities. Authentication must succeed before agent...
Stack image template
Use datamachine/render-image-template with template_id: "stack", or: wp datamachine image render --template_id=stack --preset=print_pocket_flyer --data='{"background":"#182028","blocks":[{"type":"text","text":"Get involved","font":"heading","size":80,"fit":true},{"type":"qr","url":"https://example.org/join","size":0.45,"gap_before":24},{"type":"list","items":["Scan the code","Choose a project","Invite a friend"],"style":"numbered","size":36,"gap_before":24}]}'...
Data Machine REST API
Complete REST API reference for Data Machine. Overview Base URL: /wp-json/datamachine/v1/ Authentication: WordPress application password, WordPress admin cookie authentication, or...
Email Abilities
Implementation: inc/Abilities/Email/EmailAbilities.php, inc/Abilities/Fetch/FetchEmailAbility.php, inc/Abilities/Publish/SendEmailAbility.php, inc/Abilities/Publish/SendEmailQueuedAbility.php The datamachine/v1/email REST routes were retired in #3456. Email operations are exposed through the REST-visible...
Processed Items Abilities
Implementation: inc/Abilities/ProcessedItemsAbilities.php The datamachine/v1/processed-items REST route was retired in #3456. Processed-items deduplication tracking is cleared through the REST-visible Data Machine...
Scheduling Intervals
Available scheduling intervals for Data Machine flow automation using WordPress Action Scheduler. Overview Data Machine uses WordPress Action Scheduler for...
Agents
Implementation: inc/Abilities/AgentAbilities.php, inc/Abilities/AgentTokenAbilities.php, inc/Core/Auth/AgentAuthorize.php, inc/Core/Auth/AgentAuthCallback.php Overview Agent record and token management is exposed as REST-visible Data Machine abilities and executed...
Authentication
Data Machine REST API requests use normal WordPress REST authentication. Endpoint-specific callback routes add bearer or HMAC verification where a...
Settings Abilities
Implementation: inc/Abilities/SettingsAbilities.php The datamachine/v1/settings REST routes were retired in #3456. Settings are read and updated through the REST-visible Data Machine...