Endpoints
Chat Sessions Endpoints
Implementation: inc/Api/Chat/Chat.php Overview Data Machine persists chat conversations as sessions. Sessions are user-scoped and stored in wp_datamachine_chat_sessions. Authentication Requires WordPress...
Analytics Endpoints
File Location: inc/Api/Analytics.php @since: 0.31.0 Unified REST API for all analytics integrations. Each endpoint delegates to its respective WordPress ability...
Tools Endpoint
Implementation: inc/Api/Tools.php Base URL: /wp-json/datamachine/v1/tools Overview The Tools endpoint provides information about registered AI tools and their configuration status. Authentication...
Auth Endpoints
Implementation: inc/Api/Auth.php Base URL: /wp-json/datamachine/v1/auth Overview Auth endpoints manage OAuth accounts and handler authentication for external services. Authentication Requires manage_options...
Authentication
Data Machine REST API supports two authentication methods for secure access. Authentication Methods This page describes authentication options, but it...
Error Handling
Complete error reference for Data Machine REST API. Standard Error Format All errors follow WordPress REST API error format: {...
Execute Endpoint
Implementation: inc/Api/Execute.php Base URL: /wp-json/datamachine/v1/execute Overview The Execute endpoint provides workflow execution capabilities for both database flows and ephemeral workflows....
Scheduling Intervals
Available scheduling intervals for Data Machine flow automation using WordPress Action Scheduler. Overview Data Machine uses WordPress Action Scheduler for...
Providers Endpoint
Implementation: inc/Api/Providers.php Base URL: /wp-json/datamachine/v1/providers Overview The Providers endpoint retrieves information about available AI providers and their configuration status. Authentication...
Settings Endpoints
Implementation: inc/Api/Settings.php Base URL: /wp-json/datamachine/v1/settings React Interface The Settings page is a React admin interface built with @wordpress/element and @wordpress/components....
Users Endpoints
Implementation: inc/Api/Users.php Base URL: /wp-json/datamachine/v1/users Overview Users endpoints manage user-specific preferences for Data Machine, including selected pipeline preferences for the...