aiSettingsGetVectorization
AiVectorizationSettingsWrapper aiSettingsGetVectorization()
GET /api/2.0/ai/config/vectorization
Get vectorization settings
Returns the portal's vectorization settings - the embedding provider and the options used when portal content is indexed for retrieval. It takes no parameters and is proxied unchanged to the DocSpace AI service. Vectorization is a portal-wide setting, so there is no room-scoped form of it. Change it with PUT api/2.0/ai/config/vectorization.
Parameters
This endpoint does not need any parameter.
Responses
| Status code | Description | Type | Response headers |
|---|---|---|---|
| 200 | The portal's vectorization settings. | AiVectorizationSettingsWrapper | - |
| 401 | Missing asc_auth_key cookie or Authorization header. | AiErrorResponse | - |
| 403 | AI is disabled for this portal, the caller is a guest, or the room named by entityId is one the caller cannot open. Relayed from the DocSpace AI service or the Files API. | AiErrorResponse | - |
| 500 | Unhandled failure. The reason is logged server-side and never echoed back. | AiErrorResponse | - |
Return type
AiVectorizationSettingsWrapper
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json