Skip to main content
POST
/
api
/
v1
/
beta
/
private_indexes
/
{id}
/
generate_suggested

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.
  • This endpoint generates suggested queries for all files in a private index, helping users discover relevant questions they can ask about their data.
  • This is typically called when a private index is attached on the homepage or search page, before any thread is created or search is performed.
  • The generated queries are tailored to the content and structure of the files in the private index.
  • Returns a list of suggested queries that users can use as starting points for exploring their data.

Path Parameters

id
string
required

Body

The body is of type any.

Response

200 - application/json