mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-19 18:41:50 +00:00
38 lines
830 B
Plaintext
38 lines
830 B
Plaintext
---
|
|
title: "Update Lighthouse AI Tenant Config"
|
|
api: "PATCH /api/v1/lighthouse/configuration"
|
|
description: "Update tenant-level Lighthouse AI settings."
|
|
---
|
|
|
|
Update your tenant's Lighthouse AI configuration including business context and default providers/models.
|
|
|
|
## Request Body
|
|
|
|
```json
|
|
{
|
|
"data": {
|
|
"type": "lighthouse-config",
|
|
"attributes": {
|
|
"business_context": "Financial services company focusing on security and compliance",
|
|
"default_provider": "openai",
|
|
"default_models": {
|
|
"chat": "gpt-4",
|
|
"analysis": "gpt-4"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
## Example Request
|
|
|
|
```bash
|
|
curl -X PATCH "https://api.prowler.com/api/v1/lighthouse/configuration" \
|
|
-H "Authorization: Bearer YOUR_API_KEY" \
|
|
-H "Content-Type: application/vnd.api+json"
|
|
```
|
|
|
|
## Response
|
|
|
|
Returns updated configuration.
|