For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Pular para o conteúdo

/collections

Retrieves the collectionIds of the existing collections whose identifier starts with the given prefix. If the prefix is omitted, all collections are returned. If no collection matches, an empty list is returned (it is not an error).

get
Autorizações
AuthorizationstringObrigatório

JWT signed with HS256 (shared secret auth_jwt_secret) and with a non-expired exp claim; if it includes nbf, it must be currently valid. Only applied if auth_enabled is true and auth_accept_authorization_header is true. The Bearer scheme is case-insensitive.

Parâmetros de consulta
prefixstringOpcionalExample: bank01
Respostas
200

The collectionIds of the collections that match the given prefix.

application/json
string[]Opcional

A list of collectionIds existing in the database. If none matches the given prefix, an empty list is returned (it is not an error).

Example: bank01_collection01
get/collections
GET /collections HTTP/1.1
Host: 127.0.0.1:6982/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  "bank01_collection01"
]

Atualizado