PrompticPromptic

Deploy an experiment to a component

POST
/components/{componentId}/deployment

Authorization

BearerApiKey
AuthorizationBearer <token>

API key from workspace settings

In: header

Path Parameters

componentId*string
Formatuuid

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/497f6eca-6276-4993-bfeb-53cbbbba6f08/deployment" \  -H "Content-Type: application/json" \  -d '{    "experimentId": "7cb83992-f615-4081-9f22-54e0b618e006"  }'
{
  "aiComponentId": "5019a7c9-87f7-404d-b382-86b29517165e",
  "experimentId": "7cb83992-f615-4081-9f22-54e0b618e006"
}
{
  "error": "string"
}