Hi everyone, i am trying to create an deployment a...
# ask-community
n
Hi everyone, i am trying to create an deployment and create a flow run from the deployment using API and below is the payload of creating a deployment, i dont want to use infrastructure, then what will i assigned to it, assigning "None", "NULL" and "" is throwing error can anyone please help
Copy code
{
  "name": "string",
  "flow_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "is_schedule_active": true,
  "parameters": {},
  "tags": [
    "tag-1",
    "tag-2"
  ],
  "manifest_path": "string",
  "work_queue_name": "string",
  "worker_pool_name": "my-worker-pool",
  "worker_pool_queue_name": "my-worker-pool-queue",
  "storage_document_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "infrastructure_document_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "schedule": {
    "interval": 0,
    "anchor_date": "2024-09-12T05:07:19.781Z",
    "timezone": "America/New_York"
  },
  "description": "string",
  "parameter_openapi_schema": {},
  "path": "string",
  "version": "string",
  "entrypoint": "string",
  "infra_overrides": {}
}
Getting
Copy code
value is not a valid uuid