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

# Get Workflow Schema

> Returns the workflow details including its parameters and configuration.

### Path Parameters

<ParamField path="workflow_id" type="string" required>
  The workflow UUID
</ParamField>

### Response

```json theme={null}
{
  "status": "success",
  "workflow": {
    "id": "uuid-string",
    "name": "Image Generator",
    "description": "Generates images using Stable Diffusion",
    "rate_limit": 10,
    "webhook_url": "https://your-webhook.com/callback"
  },
  "parameters": [
    {
      "key": "prompt",
      "type": "string",
      "required": true,
      "node_id": "node-1",
      "node_name": "Text to Image"
    },
    {
      "key": "negative_prompt",
      "type": "string",
      "required": false,
      "node_id": "node-1",
      "node_name": "Text to Image"
    },
    {
      "key": "width",
      "type": "number",
      "required": false,
      "node_id": "node-1",
      "node_name": "Text to Image"
    }
  ],
  "endpoints": {
    "run": "https://modelslab.com/api/v1/workflows/uuid-string/run",
    "status": "https://modelslab.com/api/v1/workflows/uuid-string/runs/{id}"
  }
}
```
