XISUITEDokumentation

AI Config

4 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1

Get AI provider config (masked key)#

GET/ai-configToken

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/ai-config" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Save (upsert) AI provider config#

POST/ai-configToken

Request-Bodyapplication/jsonSaveAiConfigDto

NameTypBeschreibung
organizationIdstring

Legacy compatibility field. Ignored; organization is derived from auth context.

provider_namePflichtstring

Werte: anthropicopenaigoogleazure_openaimistral

api_keyPflichtstring

Provider API key (max 500 chars)

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/ai-config" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"provider_name":"anthropic","api_key":"…"}'

Remove AI provider config#

DELETE/ai-configToken

Antworten

  • 200OK
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/ai-config" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Get AI usage analytics (last 14 days + aggregates)#

GET/ai-config/usageToken

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/ai-config/usage" \
  -H "Authorization: Bearer $XISUITE_TOKEN"
Stand: 25. Oktober 2026© 2026 XISUITE · AmberTech Solutions