> For the complete documentation index, see [llms.txt](https://docs.mobiusflow.com/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2.md). Agents can also search and read this documentation through its [MCP server](https://docs.mobiusflow.com/help/~gitbook/mcp).

# Engine API (V1 / V2)

Description of MobiusFlow Engine RESTful API V1

The **MobiusFlow Engine API** is used interface with MobiusFlow via **http** and **https**. The API allows clients to perform all functions within MobiusFlow, from managing user accounts, to getting and setting data, as well as manipulating the MobiusFlow configuration by adding, removing and editing MobiusFlow objects, services and flows.

Additionally, the API allows clients to subscribe to specific real-time events within happening within  a given MobiusFlow instance (see [subscription controller](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2/subscription.md)). In this use case, the API will upgrade the client to use the Websocket protocol (**ws** / **wss**).

## Controllers

All API endpoints are described in the following subsections. The subsections are divided into the functional groups (controllers); [Authorization](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2/authorization.md), [Discover](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2/discover.md), [Node](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2/node.md), [Service](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2/service.md), [Object](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2/object.md), [Profiles](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2/profiles.md), [Command](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2/command.md), [Flows](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2/flows.md) and [Subscription](https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2/subscription.md).

## Protocols, Endpoints and Ports

If connecting to a local instance of MobiusFlow, the http protocol can be used. If connecting to an instance of MobiusFlow via the internet, https should be used. The API is always exposed on **port 8443**.

All endpoints lead with:

{{*protocol*}}**://**{{*hostname*}}**:8443/api/v1**

Where the protocol and hostname parameters are replaced with the true protocol and hostname. For example, in the case of connecting to a local instance of MobiusFlow, the leading path would look like:

**<http://localhost:8443/api/v1>**

## Further Documentation & Postman Collection

Swagger documentation describing the API in full, can be found [here](https://docs-engine-api.mobiusflow.io/static/index.html). This documentation includes example bodies and responses for every endpoint. Finally, a postman collection containing parameterised examples of all client calls can be downloaded below.

{% file src="/files/oJpkgvmOr1oDEwrUlhF4" %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mobiusflow.com/help/technical-docs/mobiusflow-engine-api/engine-api-v1-v2.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
