{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apiai-me/json-schema/apiai-me-post-flows-request-schema.json",
  "title": "PostFlowsRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/apiai-me-openapi-generated.yml#/components/schemas/PostFlowsRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name for the pipeline"
    },
    "slug": {
      "type": "string",
      "description": "URL-safe slug (e.g. my-pipeline)"
    },
    "description": {
      "type": "string",
      "description": "Short one-liner describing what the pipeline does, up to 200 characters"
    },
    "workflow_ids": {
      "type": "integer",
      "description": "Ordered list of tool IDs (from /workflows)"
    },
    "flow_config": {
      "type": "object",
      "description": "Node-based pipeline config"
    }
  },
  "required": [
    "name",
    "slug",
    "workflow_ids"
  ]
}