> ## Documentation Index
> Fetch the complete documentation index at: https://docs.imagine.art/llms.txt
> Use this file to discover all available pages before exploring further.

# Endpoint reference

> Every ImagineArt API endpoint, with its method, path, and purpose.

Paths are relative to `https://api.imagine.art/v1`.

| Method | Path | Purpose |
| - | - | - |
| GET | `/models` | Models and their inputs (public) |
| GET | `/cost` | Model prices (public) |
| POST | `/image/generate` | Start an image |
| POST | `/video/generate` | Start a video |
| GET | `/generations/{id}/status` | Check a generation |
| GET | `/generations` | List generations |
| GET | `/flow/app/` | List apps |
| GET | `/flow/app/{id}` | Get an app |
| GET | `/flow/app/{id}/graph` | Get an app's workflow graph |
| POST | `/flow/app` | Create an app from a graph |
| DELETE | `/flow/app/{id}` | Delete an app you created |
| POST | `/flow/app/run` | Run an app |
| GET | `/flow/app/{task_id}/status` | Check an app run |
| GET | `/flow/app/{app_id}/results` | List an app's runs |
| GET | `/keys` | List keys |
| POST | `/keys` | Create a key |
| PATCH | `/keys/{id}` | Update a key |
| DELETE | `/keys/{id}` | Revoke a key |
| GET | `/usage/balance` | Credit balance |
| GET | `/usage/summary` | Totals for a period |
| GET | `/usage/timeseries` | Totals over time |
| GET | `/usage/models` | Totals per model |
| GET | `/usage/keys` | Totals per key |
| GET | `/logs` | Request log |
| GET | `/audit-logs` | Account activity |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.