GET
/
index-exists
curl --location 'https://document-query.pyqai.com/index-exists?account_id=ExampleAccountId&index_name=ExampleIndexName' \
--header 'Authorization: ExampleToken' \
--data ''
{
    "response": true
}

Query Parameters

account_id
int
required

This is your account ID.

index_name
string

This is the name of the index you want to see if exists. This parameter is optional - if left blank will use auto indexing.

Headers

Authorization
string
required

This is your API token associated with your account.

Response

response
string

Indicates whether the index exists.