# Flow2 API

**Canonical:** https://apis.io/apis/flow2-co/flow2-co-api/  
**Provider:** Flow2 — https://apis.io/providers/flow2-co/  
**Documentation:** https://flow2.co/developers/agent-api

Flow2 API is one of 2 APIs that [Flow2](https://apis.io/providers/flow2-co/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

Flow2 API as documented publicly: 10 operations. Contract generated from the documentation by API Evangelist (2026-11-08); not the provider's own document.

## Operations (10)

| Method | Path | Summary |
|---|---|---|
| POST | `/ai/generate-image` | Generate an image (credits cost 2). |
| GET | `/api/blocks/schema` | GET /api/blocks/schema |
| POST | `/api/create-flow` | POST /api/create-flow |
| GET | `/api/credits` | Check your credit balance. |
| GET | `/api/flows/{id}/versions` | Latest first. Metadata only — content_json is omitted to keep list responses small. |
| GET | `/api/flows/{id}/versions/{vid}` | Full content snapshot for one version. |
| POST | `/api/flows/{id}/versions/{vid}/restore` | Make this version the current state. |
| GET | `/api/job-status/{jobId}` | Poll for job completion. Returns flow URL when complete. |
| GET | `/api/jobs` | List your recent API jobs. |
| POST | `/api/signup` | Programmatic signup (advanced) |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/flow2-co/openapi/_ae-authored/flow2-co-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/flow2-co/json-schema/flow2-co-get-api-blocks-schema-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/flow2-co/json-schema/flow2-co-post-api-create-flow-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/flow2-co/json-schema/flow2-co-get-api-flows-id-versions-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/flow2-co/json-schema/flow2-co-get-api-job-status-jobid-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/flow2-co/json-schema/flow2-co-get-api-credits-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/flow2-co/json-schema/flow2-co-get-api-flows-id-versions-vid-response-schema.json

## Other Flow2 APIs (1)

- [Flow2 API](https://apis.io/apis/flow2-co/flow2-api/)

---

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