# Flows

Call flows: drafts, published versions and simulation.

- [List flows](https://docs.morevoice.ai/api/operations/flows_list/): `GET /flows`
- [Create a flow](https://docs.morevoice.ai/api/operations/flows_create/): `POST /flows`
- [Validate a flow graph](https://docs.morevoice.ai/api/operations/flows_validate/): `POST /flows/validate`
- [Retrieve a flow](https://docs.morevoice.ai/api/operations/flows_retrieve/): `GET /flows/{id}`
- [Delete a flow](https://docs.morevoice.ai/api/operations/flows_delete/): `DELETE /flows/{id}`
- [Update a flow](https://docs.morevoice.ai/api/operations/flows_update/): `PATCH /flows/{id}`
- [Retrieve a flow's analytics](https://docs.morevoice.ai/api/operations/flows_retrieve_analytics/): `GET /flows/{id}/analytics`
- [Retrieve a flow's draft](https://docs.morevoice.ai/api/operations/flows_retrieve_draft/): `GET /flows/{id}/draft`
- [Replace a flow's draft](https://docs.morevoice.ai/api/operations/flows_update_draft/): `PUT /flows/{id}/draft`
- [Duplicate a flow](https://docs.morevoice.ai/api/operations/flows_duplicate/): `POST /flows/{id}/duplicate`
- [Publish a flow](https://docs.morevoice.ai/api/operations/flows_publish/): `POST /flows/{id}/publish`
- [Simulate a call through a flow](https://docs.morevoice.ai/api/operations/flows_simulate/): `POST /flows/{id}/simulate`
- [Retrieve what uses a flow](https://docs.morevoice.ai/api/operations/flows_retrieve_usage/): `GET /flows/{id}/usage`
- [List a flow's versions](https://docs.morevoice.ai/api/operations/flows_list_versions/): `GET /flows/{id}/versions`
- [Retrieve a flow version](https://docs.morevoice.ai/api/operations/flows_retrieve_version/): `GET /flows/{id}/versions/{version}`
- [Restore a flow version into the draft](https://docs.morevoice.ai/api/operations/flows_restore_version/): `POST /flows/{id}/versions/{version}/restore`
