Endpoints
Handlers Endpoint
Implementation: inc/Api/Handlers.php Base URL: /wp-json/datamachine/v1/handlers Overview The Handlers endpoint provides information about registered fetch, publish, and upsert handlers available in...
Pipelines Endpoints
Implementation: inc/Api/Pipelines/ Base URL: /wp-json/datamachine/v1/pipelines Pipelines are reusable workflow templates. Flows are executable instances of pipelines. Authentication Requires the Data...
Jobs Endpoints
Implementation: inc/Api/Jobs.php Base URL: /wp-json/datamachine/v1/jobs Jobs expose workflow execution history and cleanup operations. Authentication Requires the Data Machine manage_flows permission...
Authentication
Data Machine REST API requests use normal WordPress REST authentication. Endpoint-specific callback routes add bearer or HMAC verification where a...
Chat Endpoint
Implementation: inc/Api/Chat/Chat.php Base URL: /wp-json/datamachine/v1/chat The chat API sends messages to the Data Machine chat agent and manages turn-by-turn continuation....
Files Endpoint
Implementation: inc/Api/FlowFiles.php, inc/Api/AgentFiles.php Base URL: /wp-json/datamachine/v1/files Overview The Files endpoint handles two distinct scopes: Flow files — File uploads for...
Flows Endpoints
Implementation: inc/Api/Flows/ Base URL: /wp-json/datamachine/v1/flows Flows are configured executions of pipeline templates. Authentication Requires the Data Machine manage_flows permission (PermissionHelper::can(...
Agent Ping Endpoints
Implementation: inc/Api/AgentPing.php Base URL: /wp-json/datamachine/v1/agent-ping Overview Agent ping endpoints let an external agent callback confirm completion of an asynchronous ping...
Agents Endpoints
Implementation: inc/Api/Agents.php, inc/Core/Auth/AgentAuthorize.php, inc/Core/Auth/AgentAuthCallback.php Base URL: /wp-json/datamachine/v1 Overview Agent endpoints manage agent records, user access grants, runtime bearer tokens, and...
Email Endpoints
Implementation: inc/Api/Email.php Base URL: /wp-json/datamachine/v1/email Overview Email endpoints expose Data Machine email abilities over REST for sending mail, reading IMAP...
Internal Links Endpoints
Implementation: inc/Api/InternalLinks.php Base URL: /wp-json/datamachine/v1/links Overview Internal links endpoints expose the link graph abilities used by SEO audits and agents....
Webhook Trigger Endpoint
Implementation: inc/Api/WebhookTrigger.php, inc/Api/WebhookVerifier.php, inc/Api/WebhookAuthResolver.php Base URL: /wp-json/datamachine/v1/trigger/{flow_id} Since: 0.30.0 (Bearer auth), 0.79.0 (template-based HMAC verifier) Overview Public REST endpoint for...