Skip to main content
GET
/
v1
/
beta
/
private_indexes
/
cURL
curl --request GET \
  --url https://trytako.com/api/v1/beta/private_indexes/ \
  --header 'X-API-Key: <api-key>'
{
  "results": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "is_default": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "ontology_status": "<string>"
    }
  ],
  "count": 123,
  "next": "<string>",
  "previous": "<string>"
}

Notes

  • To authenticate, you’ll need a Tako API key. It’s best practice to store it as an environment variable to avoid hardcoding sensitive credentials in your code.
  • Returns a paginated list of all private indexes associated with the authenticated user.
  • Each private index includes metadata such as name, description, creation date, and ontology status.
  • Private indexes are used to organize and manage your custom data sources and knowledge bases.

Authorizations

X-API-Key
string
header
required

Response

200 - application/json

List of private indexes

results
object[]
count
integer
next
string | null
previous
string | null
I