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

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de consulta

page
integer
padrão:1

Page number for pagination

Intervalo necessário: x >= 1
limit
integer
padrão:50

Number of indexes per page

Intervalo necessário: 1 <= x <= 100

Search term for index name or shared index name

type
enum<string>

Filter by index type

Opções disponíveis:
personal,
general,
group
status
enum<string>
padrão:active

Filter by index status

Opções disponíveis:
active,
deleted,
all

Resposta

List of all indexes

success
boolean
Exemplo:

true

indexes
object[]
pagination
object