POST
/v1/preferencecatalogs/aiCreate preferencecatalogs ai
Not yet documented — no summary in the API source.
Requires
Authorization: Bearer sk_...tenant_idRequest body application/json
promptstringrequiredmin length 1Responses
array of objectPreferenceOption
idstringnullabletenant_idstringnullablecreated_atstring (date-time)updated_atstring (date-time)codestringnullablevaluestringnullableorderinteger (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"
}'