Blesyum Core

ai

6 endpoints · /api/v1/ai

Request examples are generated from each endpoint's REAL method and path. 6 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

GET/api/v1/ai/audit

The tenant's AI action audit (AI-08/13). Satırlar aktör (kimin adına) adıyla zenginleşir.

Oturum
İstek
curl -X GET "https://api.blesyum.com/api/v1/ai/audit" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
GET/api/v1/ai/settings

The tenant's AI settings (AI-01).

Oturum
İstek
curl -X GET "https://api.blesyum.com/api/v1/ai/settings" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
PUT/api/v1/ai/settings

Enable/disable AI + set the dollar budgets (org ceiling + default per-user limit).

Oturum
İstek
curl -X PUT "https://api.blesyum.com/api/v1/ai/settings" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
GET/api/v1/ai/tools

The AI tools available to this tenant (AI-03). ?module= filters.

Oturum
İstek
curl -X GET "https://api.blesyum.com/api/v1/ai/tools" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
GET/api/v1/ai/user-budgets

GET /ai/user-budgets — members joined with their per-user budget rows.

Oturum
İstek
curl -X GET "https://api.blesyum.com/api/v1/ai/user-budgets" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
PUT/api/v1/ai/user-budgets

PUT /ai/user-budgets — set/clear one user's monthly $ limit.

Oturum
İstek
curl -X PUT "https://api.blesyum.com/api/v1/ai/user-budgets" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?