Endpoints
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...
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...
Jobs Endpoints
Implementation: inc/Api/Jobs.php Base URL: /wp-json/datamachine/v1/jobs Overview Jobs endpoints provide monitoring and management of workflow executions. Jobs represent individual execution instances...
Files Endpoint
Implementation: inc/Api/Files.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...
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...
Flows Endpoints
Implementation: /inc/Api/Flows/ directory structure Flows.php - Main flow CRUD operations FlowSteps.php - Flow step configuration (/flows/{id}/config, /flows/steps/{flow_step_id}/config) Base URL: /wp-json/datamachine/v1/flows...
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 update handlers available in...
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...
Chat Endpoint
Implementation: inc/Api/Chat/Chat.php Base URL: /wp-json/datamachine/v1/chat Overview The Chat endpoint provides a conversational AI interface for building and executing Data Machine...
Authentication
Data Machine REST API supports two authentication methods for secure access. Authentication Methods This page describes authentication options, but it...