Skip to main content
GET
Get All Indexes

List All Indexes

Retrieve a comprehensive list of all available knowledge base indexes in the system.

Endpoint

Description

This endpoint returns all knowledge base indexes available in the SecureAI system. It provides detailed information about each index including its type, status, creation date, and metadata. This is useful for discovering available knowledge bases and their capabilities.

Authentication

Required: API Key

Query Parameters

Example Request

Success Response

Status Code: 200 OK

Response Fields

Index Types

Index Status

Example Usage

JavaScript

Python

cURL

Error Responses

401 Unauthorized

429 Too Many Requests

Filtering Examples

Filter by Type

Filter by Status

Pagination

Use Cases

  • Discovery: Find available knowledge bases for RAG operations
  • Management: List indexes for administrative purposes
  • Integration: Discover indexes for application integration
  • Monitoring: Check index status and metadata
  • Filtering: Find specific types of indexes (system, personal, etc.)

Rate Limits

  • Default: 100 requests per minute
  • Daily: 10,000 requests per day
  • Monthly: 300,000 requests per month

Notes

  • This endpoint is only accessible by administrators
  • Personal indexes are only visible to their owners
  • Group indexes are visible to group members
  • The response includes assigned user and group information
  • Pagination uses page parameter, not offset
  • Filtering by type and status helps narrow down results

Autorizaciones

Authorization
string
header
requerido

API key authentication using Bearer token format. Example: Authorization: Bearer sk-your-api-key-here

Parámetros de consulta

page
integer
predeterminado:1

Page number for pagination

Rango requerido: x >= 1
limit
integer
predeterminado:50

Number of indexes per page

Rango requerido: 1 <= x <= 100

Search term for index name or shared index name

type
enum<string>

Filter by index type

Opciones disponibles:
personal,
general,
group
status
enum<string>
predeterminado:active

Filter by index status

Opciones disponibles:
active,
deleted,
all

Respuesta

List of all indexes

success
boolean
Ejemplo:

true

indexes
object[]
pagination
object