POST/api/v2/projects/default/ai-configs/model-configs
Headers
  • beta
Path Parameters
Body Parameters
View in API Reference
Request
$curl -X POST https://app.launchdarkly.com/api/v2/projects/default/ai-configs/model-configs \
> -H "Authorization: " \
> -H "Ld-Api-Version: beta" \
> -H "Content-Type: application/json" \
> -d '{
> "name": "name",
> "key": "key",
> "id": "id",
> "icon": "icon",
> "provider": "provider",
> "costPerInputToken": 0.8008281904610115,
> "costPerOutputToken": 6.027456183070403
>}'
Response