---
title: "Get routine capacity"
method: GET
path: "/flows/capacity"
tags: ["Flows"]
---

# Get routine capacity

`GET /flows/capacity`

## Request

- Base URL: `https://api.mobilerun.ai`
- URL: `https://api.mobilerun.ai/flows/capacity`
- Auth: HTTP bearer

Returns the environment routine limit and remaining capacity for this owner and agent bucket, counting enabled and disabled non-deleted flows. Omit agentId (or use unassigned) for the unassigned bucket. This is advisory; create and clone enforce admission under a bucket lock.

## Query parameters

- `agentId` union: Agent bucket UUID or unassigned. Omit on list to include every bucket; omit on capacity for unassigned.
  - string, uuid
  - 'unassigned'

## Response `200`

Routine capacity retrieved

- object
  - `data` FlowCapacity, required
    - `included` integer, required
    - `remaining` integer, required
    - `status` 'available' | 'exhausted', required

## Changes

- **2026-10-16** `4ad548c528a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/flows/capacity/get.md)

---

[API](https://skmtc.dev/droidrun/apis/droidrun-cloud.md) - [All operations](https://skmtc.dev/droidrun/apis/droidrun-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/droidrun/apis/droidrun-cloud/revisions/1cc95586c933?raw)
