---
updatedAt: 2026-06-23T08:19:34.000Z
agentTools:
  projectIndex: https://developers.toriihq.com/llms.txt
---

# Get workflow

<p>Returns a single workflow: a regular one, or the built-in stakeholder transfer workflow. Response includes a <code>version</code> field indicating its schema version.</p>
<p><ul><li>Rate limit: 200 requests per minute</li></ul></p>

# OpenAPI definition

```json
{
  "servers": [
    {
      "url": "https://api.toriihq.com/v1.0"
    }
  ],
  "info": {
    "title": "Torii API Documentation",
    "version": "v1.0",
    "description": "The Torii API provides an easy way to integrate your data in Torii with any external system. The API closely follows REST semantics, uses JSON to encode objects, and relies on standard HTTP codes to signal operation outcomes. Torii APIs consist of both proprietary and SCIM 2.0 APIs."
  },
  "x-readme": {
    "explorer-enabled": true
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "Workflows"
    }
  ],
  "openapi": "3.0.0",
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    },
    "schemas": {
      "version": {
        "type": "string",
        "description": "Resource schema version.",
        "example": "1.0",
        "enum": [
          "1.0"
        ]
      },
      "triggerConfiguration": {
        "type": "array",
        "description": "Trigger configuration fields. Permissive on read to tolerate legacy shapes.",
        "nullable": true,
        "items": {
          "type": "string"
        }
      },
      "actions": {
        "type": "object",
        "description": "Action graph. Structural validation runs on the internal handler.",
        "nullable": true
      },
      "schedules": {
        "type": "object",
        "description": "Schedule configuration. Permissive on read to tolerate legacy shapes.",
        "nullable": true
      },
      "Workflow": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Unique workflow identifier",
            "example": 1000
          },
          "version": {
            "$ref": "#/components/schemas/version"
          },
          "name": {
            "type": "string",
            "example": "Slack new app notification",
            "nullable": true
          },
          "type": {
            "type": "string",
            "example": "regular"
          },
          "triggerType": {
            "type": "string",
            "example": "newApp",
            "nullable": true
          },
          "triggerConfiguration": {
            "$ref": "#/components/schemas/triggerConfiguration"
          },
          "idApp": {
            "type": "integer",
            "nullable": true,
            "minimum": 1
          },
          "triggerIdApp": {
            "type": "integer",
            "nullable": true
          },
          "actions": {
            "$ref": "#/components/schemas/actions"
          },
          "isActive": {
            "type": "boolean"
          },
          "isValid": {
            "type": "boolean"
          },
          "creationTime": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "nullable": true
          },
          "schedules": {
            "$ref": "#/components/schemas/schedules"
          },
          "lastTriggeredTime": {
            "type": "string",
            "format": "date",
            "nullable": true
          }
        },
        "required": [
          "version"
        ]
      },
      "Model55": {
        "type": "object",
        "description": "Workflow",
        "properties": {
          "workflow": {
            "$ref": "#/components/schemas/Workflow"
          }
        }
      }
    }
  },
  "paths": {
    "/workflows/{idWorkflow}": {
      "get": {
        "summary": "Get workflow",
        "operationId": "getWorkflowsIdworkflow",
        "description": "<p>Returns a single workflow: a regular one, or the built-in stakeholder transfer workflow. Response includes a <code>version</code> field indicating its schema version.</p>\n<p><ul><li>Rate limit: 200 requests per minute</li></ul></p>",
        "parameters": [
          {
            "name": "idWorkflow",
            "in": "path",
            "schema": {
              "type": "integer",
              "description": "Unique identifier of the workflow"
            },
            "description": "Unique identifier of the workflow",
            "required": true
          }
        ],
        "tags": [
          "Workflows"
        ],
        "responses": {
          "200": {
            "description": "Workflow",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Model55"
                }
              }
            }
          }
        }
      }
    }
  }
}
```