Skip to main content
Abstract sunset in blue, orange, and purple Read and update your systems graph with the Flow API. Flow’s REST API gives you access to projects, entities, relationships, and automations through authenticated HTTPS requests.

Get started

Explore current capabilities

Use API conventions for pagination, branches, and error handling. Follow the examples to list, search, or filter entities and write or restore them. The endpoint reference also covers starting and continuing agent chats and managing project automations. Use the generated endpoint pages for exact request and response schemas.

Connect an AI client

Use Flow MCP to connect an AI client to your systems graph. Follow Connect a client, then use Flow tools to read and update project data.

Start agent chats

Use POST /ai/agents with project_id and an optional opening messages array to create a chat. Chats are private to the key owner by default; set visibility to shared only when the workspace should see them. When you provide opening messages, the default wait: false returns while the agent works. Without messages, the chat starts idle. Read GET /ai/agents/{id} for its transcript and status, then use POST /ai/agents/{id}/messages to start or continue it. The endpoint reference describes the full request bodies.

Run automations

Learn how automations and triggers work together. Set up a webhook automation, then start runs and poll their results.

Shared item paths

Shared access grants can include upstream_context_path_entity_ids when a share shows the path above its item. Individual context grants have view_id: null and context_of_grant_ids; clients reading grants must handle a nullable view_id. Use PUT /shared-grants/project/{projectId}/{id}/upstream-context to replace the path. See the endpoint reference for its request schema. API updates are included in the release notes.