# AgentStack Logic Engine API

**Canonical:** https://apis.io/apis/agentstack-tech/agentstack-tech-logic-engine-api/  
**Provider:** AgentStack — https://apis.io/providers/agentstack-tech/  
**Documentation:** https://agentstack.tech/api-docs

AgentStack Logic Engine API is one of 90 APIs that [AgentStack](https://apis.io/providers/agentstack-tech/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Logic Engine. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

Rules engine (logic rules). REST compatibility surface; for new integrations prefer MCP actions, GET/POST /api/dna/data, or POST /api/commands (see docs/API_CHANNELS_AND_PROTOCOLS.md).

## Operations (29)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/logic/flush-batch` | Flush Logic Batch |
| POST | `/api/logic` | Create Logic |
| GET | `/api/logic` | List Rules |
| GET | `/api/logic/commands` | Get Commands |
| GET | `/api/logic/processors` | Get Processors |
| GET | `/api/logic/{logic_id}/metrics` | Get Logic Metrics |
| GET | `/api/logic/metrics` | Get All Logic Metrics |
| GET | `/api/logic/{logic_id}/versions` | List Logic Versions |
| POST | `/api/logic/{logic_id}/versions/diff` | Diff Logic Versions |
| POST | `/api/logic/{logic_id}/versions/{version_id}/restore` | Restore Logic Version |
| POST | `/api/logic/{logic_id}/dry-run` | Post Dry Run |
| POST | `/api/logic/schema-trace` | Post Schema Trace |
| GET | `/api/logic/mcp-actions` | List Mcp Actions |
| GET | `/api/logic/signals-catalog` | List Signal Channels |
| GET | `/api/logic/channel-event-triggers` | List Channel Event Triggers Endpoint |
| POST | `/api/logic/rules/upsert` | Upsert logic rule by external rule_id |
| GET | `/api/logic/blueprints` | List installable logic blueprints |
| GET | `/api/logic/blueprints/{blueprint_id}` | Get logic blueprint by id |
| POST | `/api/logic/projects/{project_id}/preview-blueprint` | Preview blueprint compile |
| POST | `/api/logic/projects/{project_id}/install-blueprint` | Install blueprint as new rule |
| POST | `/api/logic/projects/{project_id}/install-structure` | Install multi-rule structure pack |
| POST | `/api/logic/test` | Test Logic |
| GET | `/api/logic/{logic_id}` | Get Logic By Id |
| PUT | `/api/logic/{logic_id}` | Update Logic |
| DELETE | `/api/logic/{logic_id}` | Delete Logic |
| POST | `/api/logic/{logic_id}/execute` | Execute Rule |
| GET | `/api/logic/{logic_id}/executions` | Get Logic Executions |
| GET | `/api/logic/{logic_id}/suggest-params` | Suggest Execution Params |
| GET | `/api/projects/{project_id}/logic/executions/recent` | Get Recent Logic Executions Batch |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/agentstack-tech/openapi/agentstack-tech-logic-engine-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-knowledge-config-patch-schema.json
- **JSONSchema** — https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-create-payment-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-generation-settings-patch-schema.json
- **JSONSchema** — https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-project-data-patch-body-schema.json
- **JSONSchema** — https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-content-metadata-patch-schema.json
- **JSONSchema** — https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-plan-claim-response-schema.json

## Other AgentStack APIs (12)

- [AgentStack 8DNA API](https://apis.io/apis/agentstack-tech/agentstack-tech-8dna-api-api/)
- [AgentStack Admin API](https://apis.io/apis/agentstack-tech/agentstack-tech-admin-api/)
- [AgentStack Admin Drain API](https://apis.io/apis/agentstack-tech/agentstack-tech-admin-drain-api/)
- [AgentStack Agent Net API](https://apis.io/apis/agentstack-tech/agentstack-tech-agentnet-api/)
- [AgentStack AgentNet Arbitrum API](https://apis.io/apis/agentstack-tech/agentstack-tech-agentnet-arbitrum-api/)
- [AgentStack AgentNet BNB API](https://apis.io/apis/agentstack-tech/agentstack-tech-agentnet-bnb-api/)
- [AgentStack AgentNet Chain Control API](https://apis.io/apis/agentstack-tech/agentstack-tech-agentnet-chain-control-api/)
- [AgentStack AgentNet Chain Control Public API](https://apis.io/apis/agentstack-tech/agentstack-tech-agentnet-chain-control-public-api/)
- [AgentStack AgentNet PTR API](https://apis.io/apis/agentstack-tech/agentstack-tech-agentnet-ptr-api/)
- [AgentStack AgentNet Solana API](https://apis.io/apis/agentstack-tech/agentstack-tech-agentnet-solana-api/)
- [AgentStack Agents Fleet API](https://apis.io/apis/agentstack-tech/agentstack-tech-agents-fleet-api/)
- [AgentStack Agent Social API](https://apis.io/apis/agentstack-tech/agentstack-tech-agentsocial-api/)

## Tags

Logic Engine

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/agentstack-tech/agentstack-tech-logic-engine-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/agentstack-tech/.
