> For the complete documentation index, see [llms.txt](https://aphid-ai.gitbook.io/aphid-ai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aphid-ai.gitbook.io/aphid-ai-docs/aphid-api/api-overview.md).

# API Overview

#### Aphid Platform Overview

Aphid is positioned as an AI automation and agent orchestration layer. It sits between users, business workflows, enterprise data, and third-party systems. Aphid can understand a request, break it into steps, select the correct tools, retrieve the required context, execute approved actions, and report results back to the user or system.

* Conversational AI interface for users, operators, and administrators.
* Agent orchestration layer for planning, reasoning, task execution, and tool selection.
* API gateway and integration layer for external systems.
* MCP tool layer for standardized access to tools, files, databases, and services.
* Workflow automation engine for multi-step business processes.
* Security, policy, and audit framework for governed execution.
* Knowledge and retrieval layer for documents, records, embeddings, and system context.

| <p>Core Value Proposition<br>Aphid allows a company to connect its existing tools and convert business intent into secure action. Instead of simply answering questions, Aphid can complete approved work across systems.</p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

<br>

#### API Capability Summary

| Capability                       | Description                                                                               | Business Use Case                                                                                                      |
| -------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Authentication and authorization | OAuth 2.0, API keys, service accounts, role-based access, and scoped tokens.              | Control what each agent, user, or integration is allowed to access or execute.                                         |
| REST API integration             | Standard HTTP endpoints for reading, writing, updating, and triggering external systems.  | Connect to CRMs, ERPs, HR systems, ticketing platforms, finance systems, and custom applications.                      |
| Webhook ingestion                | Receive real-time events from third-party platforms.                                      | Trigger agents when a lead arrives, ticket changes, shipment updates, document is uploaded, or payment status changes. |
| Outbound webhooks                | Notify external systems when Aphid completes a task or reaches a workflow state.          | Send status updates, completion events, exceptions, or approval requests.                                              |
| MCP integration                  | Expose third-party tools and data sources as standardized model-callable tools.           | Allow Aphid agents to use tools safely without custom logic for every system.                                          |
| Agent task execution             | Agents can plan and execute multi-step tasks with policy constraints and approval gates.  | Automate research, reporting, support operations, system updates, and cross-platform workflows.                        |
| Data retrieval and RAG           | Retrieve knowledge from documents, records, databases, and APIs.                          | Answer questions using current enterprise context and source data.                                                     |
| Audit and observability          | Log user request, agent reasoning summary, tool calls, system actions, and final outcome. | Support compliance, troubleshooting, and governance reviews.                                                           |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://aphid-ai.gitbook.io/aphid-ai-docs/aphid-api/api-overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
