Endpoints
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(...
Auth Endpoints
Implementation: inc/Api/Auth.php Base URL: /wp-json/datamachine/v1/auth Auth endpoints manage handler authentication and provider metadata. They are separate from WordPress REST authentication,...
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....
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...
Parameter Systems
Unified flat parameter architecture for all Data Machine components, providing consistent interfaces across steps, handlers, and tools while maintaining extensibility...
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...
Logs API
Implementation: inc/Api/Logs.php Base URL: /wp-json/datamachine/v1/logs Overview Data Machine uses a database-backed logging system with all operational logs stored in the...
Error Handling
Complete error reference for Data Machine REST API. Standard Error Format All errors follow WordPress REST API error format: {...