Endpoints
Handlers Abilities
Implementation: inc/Abilities/HandlerAbilities.php, inc/Abilities/Handler/HandlerDetailAbility.php The datamachine/v1/handlers REST routes were retired in #3456. Handlers are discovered through the REST-visible Data Machine abilities,...
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...
Error Handling
Complete error reference for Data Machine REST API. Standard Error Format All errors follow WordPress REST API error format: {...
System Endpoint
Implementation: inc/Api/System/System.php Base URL: /wp-json/datamachine/v1/system/ Overview The System endpoint provides infrastructure operations, monitoring, system task management, and editable prompt definitions...
Parameter Systems
Unified flat parameter architecture for all Data Machine components, providing consistent interfaces across steps, handlers, and tools while maintaining extensibility...
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,...
Chat Sessions Endpoints
Implementation: inc/Api/Chat/Chat.php Data Machine stores chat conversations as user-scoped sessions in wp_datamachine_chat_sessions. Generic session CRUD is exposed through the canonical...
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....
Analytics Endpoints
File Location: inc/Api/Analytics.php @since: 0.31.0 Unified REST API for core and extension-backed analytics integrations. Each endpoint delegates to its respective...
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...
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...
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....