PrompticPromptic

Create a component

POST
/components

Authorization

BearerApiKey
AuthorizationBearer <token>

API key from workspace settings

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/components" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
{
  "error": "string"
}