public class ManageIndexesApi
extends java.lang.Object
| Constructor and Description |
|---|
ManageIndexesApi() |
ManageIndexesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
IndexModel |
configureIndex(java.lang.String indexName,
ConfigureIndexRequest configureIndexRequest)
Configure an index
This operation configures an existing index.
|
okhttp3.Call |
configureIndexAsync(java.lang.String indexName,
ConfigureIndexRequest configureIndexRequest,
ApiCallback<IndexModel> _callback)
Configure an index (asynchronously)
This operation configures an existing index.
|
okhttp3.Call |
configureIndexCall(java.lang.String indexName,
ConfigureIndexRequest configureIndexRequest,
ApiCallback _callback)
Build call for configureIndex
|
ApiResponse<IndexModel> |
configureIndexWithHttpInfo(java.lang.String indexName,
ConfigureIndexRequest configureIndexRequest)
Configure an index
This operation configures an existing index.
|
CollectionModel |
createCollection(CreateCollectionRequest createCollectionRequest)
Create a collection
This operation creates a Pinecone collection.
|
okhttp3.Call |
createCollectionAsync(CreateCollectionRequest createCollectionRequest,
ApiCallback<CollectionModel> _callback)
Create a collection (asynchronously)
This operation creates a Pinecone collection.
|
okhttp3.Call |
createCollectionCall(CreateCollectionRequest createCollectionRequest,
ApiCallback _callback)
Build call for createCollection
|
ApiResponse<CollectionModel> |
createCollectionWithHttpInfo(CreateCollectionRequest createCollectionRequest)
Create a collection
This operation creates a Pinecone collection.
|
IndexModel |
createIndex(CreateIndexRequest createIndexRequest)
Create an index
This operation deploys a Pinecone index.
|
okhttp3.Call |
createIndexAsync(CreateIndexRequest createIndexRequest,
ApiCallback<IndexModel> _callback)
Create an index (asynchronously)
This operation deploys a Pinecone index.
|
okhttp3.Call |
createIndexCall(CreateIndexRequest createIndexRequest,
ApiCallback _callback)
Build call for createIndex
|
ApiResponse<IndexModel> |
createIndexWithHttpInfo(CreateIndexRequest createIndexRequest)
Create an index
This operation deploys a Pinecone index.
|
void |
deleteCollection(java.lang.String collectionName)
Delete a collection
This operation deletes an existing collection.
|
okhttp3.Call |
deleteCollectionAsync(java.lang.String collectionName,
ApiCallback<java.lang.Void> _callback)
Delete a collection (asynchronously)
This operation deletes an existing collection.
|
okhttp3.Call |
deleteCollectionCall(java.lang.String collectionName,
ApiCallback _callback)
Build call for deleteCollection
|
ApiResponse<java.lang.Void> |
deleteCollectionWithHttpInfo(java.lang.String collectionName)
Delete a collection
This operation deletes an existing collection.
|
void |
deleteIndex(java.lang.String indexName)
Delete an index
This operation deletes an existing index.
|
okhttp3.Call |
deleteIndexAsync(java.lang.String indexName,
ApiCallback<java.lang.Void> _callback)
Delete an index (asynchronously)
This operation deletes an existing index.
|
okhttp3.Call |
deleteIndexCall(java.lang.String indexName,
ApiCallback _callback)
Build call for deleteIndex
|
ApiResponse<java.lang.Void> |
deleteIndexWithHttpInfo(java.lang.String indexName)
Delete an index
This operation deletes an existing index.
|
CollectionModel |
describeCollection(java.lang.String collectionName)
Describe a collection
This operation gets a description of a collection.
|
okhttp3.Call |
describeCollectionAsync(java.lang.String collectionName,
ApiCallback<CollectionModel> _callback)
Describe a collection (asynchronously)
This operation gets a description of a collection.
|
okhttp3.Call |
describeCollectionCall(java.lang.String collectionName,
ApiCallback _callback)
Build call for describeCollection
|
ApiResponse<CollectionModel> |
describeCollectionWithHttpInfo(java.lang.String collectionName)
Describe a collection
This operation gets a description of a collection.
|
IndexModel |
describeIndex(java.lang.String indexName)
Describe an index
Get a description of an index.
|
okhttp3.Call |
describeIndexAsync(java.lang.String indexName,
ApiCallback<IndexModel> _callback)
Describe an index (asynchronously)
Get a description of an index.
|
okhttp3.Call |
describeIndexCall(java.lang.String indexName,
ApiCallback _callback)
Build call for describeIndex
|
ApiResponse<IndexModel> |
describeIndexWithHttpInfo(java.lang.String indexName)
Describe an index
Get a description of an index.
|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
CollectionList |
listCollections()
List collections
This operation returns a list of all collections in a project.
|
okhttp3.Call |
listCollectionsAsync(ApiCallback<CollectionList> _callback)
List collections (asynchronously)
This operation returns a list of all collections in a project.
|
okhttp3.Call |
listCollectionsCall(ApiCallback _callback)
Build call for listCollections
|
ApiResponse<CollectionList> |
listCollectionsWithHttpInfo()
List collections
This operation returns a list of all collections in a project.
|
IndexList |
listIndexes()
List indexes
This operation returns a list of all indexes in a project.
|
okhttp3.Call |
listIndexesAsync(ApiCallback<IndexList> _callback)
List indexes (asynchronously)
This operation returns a list of all indexes in a project.
|
okhttp3.Call |
listIndexesCall(ApiCallback _callback)
Build call for listIndexes
|
ApiResponse<IndexList> |
listIndexesWithHttpInfo()
List indexes
This operation returns a list of all indexes in a project.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public ManageIndexesApi()
public ManageIndexesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call configureIndexCall(java.lang.String indexName,
ConfigureIndexRequest configureIndexRequest,
ApiCallback _callback)
throws ApiException
indexName - The name of the index to configure. (required)configureIndexRequest - The desired pod size and replica configuration for the index. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 202 | The request to configure the index has been accepted. Check the index status to see when the change has been applied. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your pod quota. | - |
| 404 | Index not found. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 500 | Internal server error. | - |
public IndexModel configureIndex(java.lang.String indexName, ConfigureIndexRequest configureIndexRequest) throws ApiException
indexName - The name of the index to configure. (required)configureIndexRequest - The desired pod size and replica configuration for the index. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | The request to configure the index has been accepted. Check the index status to see when the change has been applied. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your pod quota. | - |
| 404 | Index not found. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 500 | Internal server error. | - |
public ApiResponse<IndexModel> configureIndexWithHttpInfo(java.lang.String indexName, ConfigureIndexRequest configureIndexRequest) throws ApiException
indexName - The name of the index to configure. (required)configureIndexRequest - The desired pod size and replica configuration for the index. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | The request to configure the index has been accepted. Check the index status to see when the change has been applied. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your pod quota. | - |
| 404 | Index not found. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 500 | Internal server error. | - |
public okhttp3.Call configureIndexAsync(java.lang.String indexName,
ConfigureIndexRequest configureIndexRequest,
ApiCallback<IndexModel> _callback)
throws ApiException
indexName - The name of the index to configure. (required)configureIndexRequest - The desired pod size and replica configuration for the index. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 202 | The request to configure the index has been accepted. Check the index status to see when the change has been applied. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your pod quota. | - |
| 404 | Index not found. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 500 | Internal server error. | - |
public okhttp3.Call createCollectionCall(CreateCollectionRequest createCollectionRequest, ApiCallback _callback) throws ApiException
createCollectionRequest - The desired configuration for the collection. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | The collection has been successfully created. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your collections quota. | - |
| 409 | Collection of given name already exists. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 500 | Internal server error. | - |
public CollectionModel createCollection(CreateCollectionRequest createCollectionRequest) throws ApiException
createCollectionRequest - The desired configuration for the collection. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | The collection has been successfully created. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your collections quota. | - |
| 409 | Collection of given name already exists. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 500 | Internal server error. | - |
public ApiResponse<CollectionModel> createCollectionWithHttpInfo(CreateCollectionRequest createCollectionRequest) throws ApiException
createCollectionRequest - The desired configuration for the collection. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | The collection has been successfully created. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your collections quota. | - |
| 409 | Collection of given name already exists. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 500 | Internal server error. | - |
public okhttp3.Call createCollectionAsync(CreateCollectionRequest createCollectionRequest, ApiCallback<CollectionModel> _callback) throws ApiException
createCollectionRequest - The desired configuration for the collection. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 201 | The collection has been successfully created. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your collections quota. | - |
| 409 | Collection of given name already exists. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 500 | Internal server error. | - |
public okhttp3.Call createIndexCall(CreateIndexRequest createIndexRequest, ApiCallback _callback) throws ApiException
createIndexRequest - The desired configuration for the index. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | The index has been successfully created. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your pod quota. | - |
| 404 | Unknown cloud or region when creating a serverless index. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 409 | Index of given name already exists. | - |
| 500 | Internal server error. | - |
public IndexModel createIndex(CreateIndexRequest createIndexRequest) throws ApiException
createIndexRequest - The desired configuration for the index. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | The index has been successfully created. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your pod quota. | - |
| 404 | Unknown cloud or region when creating a serverless index. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 409 | Index of given name already exists. | - |
| 500 | Internal server error. | - |
public ApiResponse<IndexModel> createIndexWithHttpInfo(CreateIndexRequest createIndexRequest) throws ApiException
createIndexRequest - The desired configuration for the index. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | The index has been successfully created. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your pod quota. | - |
| 404 | Unknown cloud or region when creating a serverless index. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 409 | Index of given name already exists. | - |
| 500 | Internal server error. | - |
public okhttp3.Call createIndexAsync(CreateIndexRequest createIndexRequest, ApiCallback<IndexModel> _callback) throws ApiException
createIndexRequest - The desired configuration for the index. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 201 | The index has been successfully created. | - |
| 400 | Bad request. The request body included invalid request parameters. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 403 | You've exceed your pod quota. | - |
| 404 | Unknown cloud or region when creating a serverless index. | - |
| 422 | Unprocessable entity. The request body could not be deserialized. | - |
| 409 | Index of given name already exists. | - |
| 500 | Internal server error. | - |
public okhttp3.Call deleteCollectionCall(java.lang.String collectionName,
ApiCallback _callback)
throws ApiException
collectionName - The name of the collection. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 202 | The collection has been successfully deleted. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Collection not found. | - |
| 500 | Internal server error. | - |
public void deleteCollection(java.lang.String collectionName)
throws ApiException
collectionName - The name of the collection. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | The collection has been successfully deleted. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Collection not found. | - |
| 500 | Internal server error. | - |
public ApiResponse<java.lang.Void> deleteCollectionWithHttpInfo(java.lang.String collectionName) throws ApiException
collectionName - The name of the collection. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | The collection has been successfully deleted. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Collection not found. | - |
| 500 | Internal server error. | - |
public okhttp3.Call deleteCollectionAsync(java.lang.String collectionName,
ApiCallback<java.lang.Void> _callback)
throws ApiException
collectionName - The name of the collection. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 202 | The collection has been successfully deleted. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Collection not found. | - |
| 500 | Internal server error. | - |
public okhttp3.Call deleteIndexCall(java.lang.String indexName,
ApiCallback _callback)
throws ApiException
indexName - The name of the index to delete. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 202 | The request to delete the index has been accepted. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Index not found. | - |
| 412 | There is a pending collection created from this index. | - |
| 500 | Internal server error. | - |
public void deleteIndex(java.lang.String indexName)
throws ApiException
indexName - The name of the index to delete. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | The request to delete the index has been accepted. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Index not found. | - |
| 412 | There is a pending collection created from this index. | - |
| 500 | Internal server error. | - |
public ApiResponse<java.lang.Void> deleteIndexWithHttpInfo(java.lang.String indexName) throws ApiException
indexName - The name of the index to delete. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 202 | The request to delete the index has been accepted. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Index not found. | - |
| 412 | There is a pending collection created from this index. | - |
| 500 | Internal server error. | - |
public okhttp3.Call deleteIndexAsync(java.lang.String indexName,
ApiCallback<java.lang.Void> _callback)
throws ApiException
indexName - The name of the index to delete. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 202 | The request to delete the index has been accepted. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Index not found. | - |
| 412 | There is a pending collection created from this index. | - |
| 500 | Internal server error. | - |
public okhttp3.Call describeCollectionCall(java.lang.String collectionName,
ApiCallback _callback)
throws ApiException
collectionName - The name of the collection to be described. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Configuration information and status of the collection. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Collection not found. | - |
| 500 | Internal server error. | - |
public CollectionModel describeCollection(java.lang.String collectionName) throws ApiException
collectionName - The name of the collection to be described. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Configuration information and status of the collection. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Collection not found. | - |
| 500 | Internal server error. | - |
public ApiResponse<CollectionModel> describeCollectionWithHttpInfo(java.lang.String collectionName) throws ApiException
collectionName - The name of the collection to be described. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Configuration information and status of the collection. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Collection not found. | - |
| 500 | Internal server error. | - |
public okhttp3.Call describeCollectionAsync(java.lang.String collectionName,
ApiCallback<CollectionModel> _callback)
throws ApiException
collectionName - The name of the collection to be described. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Configuration information and status of the collection. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Collection not found. | - |
| 500 | Internal server error. | - |
public okhttp3.Call describeIndexCall(java.lang.String indexName,
ApiCallback _callback)
throws ApiException
indexName - The name of the index to be described. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Configuration information and deployment status of the index. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Index not found. | - |
| 500 | Internal server error. | - |
public IndexModel describeIndex(java.lang.String indexName) throws ApiException
indexName - The name of the index to be described. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Configuration information and deployment status of the index. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Index not found. | - |
| 500 | Internal server error. | - |
public ApiResponse<IndexModel> describeIndexWithHttpInfo(java.lang.String indexName) throws ApiException
indexName - The name of the index to be described. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Configuration information and deployment status of the index. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Index not found. | - |
| 500 | Internal server error. | - |
public okhttp3.Call describeIndexAsync(java.lang.String indexName,
ApiCallback<IndexModel> _callback)
throws ApiException
indexName - The name of the index to be described. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Configuration information and deployment status of the index. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 404 | Index not found. | - |
| 500 | Internal server error. | - |
public okhttp3.Call listCollectionsCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | This operation returns a list of all the collections in your current project. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 500 | Internal server error. | - |
public CollectionList listCollections() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | This operation returns a list of all the collections in your current project. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 500 | Internal server error. | - |
public ApiResponse<CollectionList> listCollectionsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | This operation returns a list of all the collections in your current project. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 500 | Internal server error. | - |
public okhttp3.Call listCollectionsAsync(ApiCallback<CollectionList> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | This operation returns a list of all the collections in your current project. | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 500 | Internal server error. | - |
public okhttp3.Call listIndexesCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | This operation returns a list of all the indexes that you have previously created, and which are associated with the given project | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 500 | Internal server error. | - |
public IndexList listIndexes() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | This operation returns a list of all the indexes that you have previously created, and which are associated with the given project | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 500 | Internal server error. | - |
public ApiResponse<IndexList> listIndexesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | This operation returns a list of all the indexes that you have previously created, and which are associated with the given project | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 500 | Internal server error. | - |
public okhttp3.Call listIndexesAsync(ApiCallback<IndexList> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | This operation returns a list of all the indexes that you have previously created, and which are associated with the given project | - |
| 401 | Unauthorized. Possible causes: Invalid API key. | - |
| 500 | Internal server error. | - |