---
title: "create resource"
method: POST
path: "/w/{workspace}/resources/create"
tags: ["resource"]
---

# create resource

`POST /w/{workspace}/resources/create`

## Path parameters

- `workspace` string, required

## Query parameters

- `update_if_exists` boolean

## Request body

- CreateResource
  - `path` string, required — The path to the resource
  - `value` unknown, required
  - `description` string — The description of the resource
  - `resource_type` string, required — The resource_type associated with the resource
  - `labels` string[]
  - `ws_specific` boolean

## Response `201`

resource created

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/8a5fd82f8851/schema)
