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

# Put v1agents workflow

> Replace the draft graph. Send the revision you read; someone else's newer save is refused revision_conflict.



## OpenAPI

````yaml /api-reference/openapi.json put /v1/agents/{agent_id}/workflow
openapi: 3.0.3
info:
  title: FireFlo OMNI API
  version: 1.0.0
  description: One API for every channel and service in FireFlo OMNI.
servers:
  - url: https://api.fireflo.au
    description: FireFlo OMNI
security:
  - bearer: []
paths:
  /v1/agents/{agent_id}/workflow:
    put:
      tags:
        - agents
      description: >-
        Replace the draft graph. Send the revision you read; someone else's
        newer save is refused revision_conflict.
      operationId: agents_save_workflow
      parameters:
        - in: path
          name: agent_id
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: No response body
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: 'An OMNI API key: ff_live_… or ff_test_…'

````

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