POST/v1/preferencecatalogs/ai

Create preferencecatalogs ai

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Request body application/json

promptstringrequiredmin length 1

Responses

array of objectPreferenceOption
idstringnullable
tenant_idstringnullable
created_atstring (date-time)
updated_atstring (date-time)
codestringnullable
valuestringnullable
orderinteger (int32)
curl --request POST \
  --url 'https://api.4comply.io/v1/preferencecatalogs/ai' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "Example text"
}'