---
title: "Create a new resource"
method: POST
path: "/resources"
tags: ["resources"]
---

# Create a new resource

`POST /resources`

Create a new resource with the specified type and configuration

## Request body

- TypesResource
  - `id` string
  - `metadata` object
  - `name` string
  - `pipeline` string
  - `resource` string
  - `spec` unknown

## Response `201`

Resource created successfully

- object

## Other responses

- `400` — Bad request - Invalid payload or validation failed
- `404` — Resource definition not found
- `500` — Internal server error

---

[API](https://skmtc.dev/open-ug/apis/conveyor-ci-api.md) · [All operations](https://skmtc.dev/open-ug/apis/conveyor-ci-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/open-ug/conveyor-ci-api/revisions/4ad35de52cbb/schema)
