{
  "opencollection": "1.0.0",
  "info": {
    "name": "Windmill admin resource API",
    "version": "1.694.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "resource",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Resource",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/resources/create",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "update_if_exists",
                "value": "",
                "type": "query",
                "description": "update the resource if it already exists (default false)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Resource"
        },
        {
          "info": {
            "name": "Delete Resource",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/w/:workspace/resources/delete/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Resource"
        },
        {
          "info": {
            "name": "Delete Resources in Bulk",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/w/:workspace/resources/delete_bulk",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete Resources in Bulk"
        },
        {
          "info": {
            "name": "Update Resource",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/resources/update/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Resource"
        },
        {
          "info": {
            "name": "Update Resource Value",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/resources/update_value/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Resource Value"
        },
        {
          "info": {
            "name": "Get Resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/get/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Resource"
        },
        {
          "info": {
            "name": "Get Resource Interpolated (variables and Resources are Fully Unrolled)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/get_value_interpolated/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              },
              {
                "name": "job_id",
                "value": "",
                "type": "query",
                "description": "job id"
              },
              {
                "name": "allow_cache",
                "value": "",
                "type": "query",
                "description": "allow getting a cached value for improved performance"
              }
            ]
          },
          "docs": "Get Resource Interpolated (variables and Resources are Fully Unrolled)"
        },
        {
          "info": {
            "name": "Get Resource Value",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/get_value/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Resource Value"
        },
        {
          "info": {
            "name": "Get Git Repository Latest Commit Hash",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/git_commit_hash/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              },
              {
                "name": "git_ssh_identity",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get Git Repository Latest Commit Hash"
        },
        {
          "info": {
            "name": "Does Resource Exists",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/exists/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Does Resource Exists"
        },
        {
          "info": {
            "name": "List Resources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/list",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "which page to return (start at 1, default 1)"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "number of items to return for a given page (default 30, max 100)"
              },
              {
                "name": "resource_type",
                "value": "",
                "type": "query",
                "description": "resource_types to list from, separated by ',',"
              },
              {
                "name": "resource_type_exclude",
                "value": "",
                "type": "query",
                "description": "resource_types to not list from, separated by ',',"
              },
              {
                "name": "path_start",
                "value": "",
                "type": "query",
                "description": "filter resources by path prefix"
              },
              {
                "name": "path",
                "value": "",
                "type": "query",
                "description": "exact path match filter"
              },
              {
                "name": "description",
                "value": "",
                "type": "query",
                "description": "pattern match filter for description field (case-insensitive)"
              },
              {
                "name": "value",
                "value": "",
                "type": "query",
                "description": "JSONB subset match filter using base64 encoded JSON"
              },
              {
                "name": "broad_filter",
                "value": "",
                "type": "query",
                "description": "broad search across multiple fields (case-insensitive substring match)"
              },
              {
                "name": "label",
                "value": "",
                "type": "query",
                "description": "Filter by label"
              }
            ]
          },
          "docs": "List Resources"
        },
        {
          "info": {
            "name": "List Resources for Search",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/list_search",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List Resources for Search"
        },
        {
          "info": {
            "name": "Get MCP Tools from Resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/mcp_tools/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get MCP Tools from Resource"
        },
        {
          "info": {
            "name": "List Resource Names",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/list_names/:name",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List Resource Names"
        },
        {
          "info": {
            "name": "Create Resource_type",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/resources/type/create",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Resource_type"
        },
        {
          "info": {
            "name": "Get Map from Resource Type to Format Extension",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/file_resource_type_to_file_ext_map",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Map from Resource Type to Format Extension"
        },
        {
          "info": {
            "name": "Delete Resource_type",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/w/:workspace/resources/type/delete/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Resource_type"
        },
        {
          "info": {
            "name": "Update Resource_type",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/w/:workspace/resources/type/update/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Resource_type"
        },
        {
          "info": {
            "name": "Get Resource_type",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/type/get/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Resource_type"
        },
        {
          "info": {
            "name": "Does Resource_type Exists",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/type/exists/:path",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Does Resource_type Exists"
        },
        {
          "info": {
            "name": "List Resource_types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/type/list",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List Resource_types"
        },
        {
          "info": {
            "name": "List Resource_types Names",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/resources/type/listnames",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List Resource_types Names"
        },
        {
          "info": {
            "name": "Query Resource Types by Similarity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/w/:workspace/embeddings/query_resource_types",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path"
              },
              {
                "name": "text",
                "value": "",
                "type": "query",
                "description": "query text"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "query limit"
              }
            ]
          },
          "docs": "Query Resource Types by Similarity"
        }
      ]
    }
  ],
  "bundled": true
}