Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ docs/CreateDatasetResponse.md
docs/CreateEmbeddingProviderRequest.md
docs/CreateEmbeddingProviderResponse.md
docs/CreateIndexRequest.md
docs/CreateSandboxRequest.md
docs/CreateSavedQueryRequest.md
docs/CreateSecretRequest.md
docs/CreateSecretResponse.md
Expand All @@ -58,7 +57,6 @@ docs/DatasetSourceOneOf4.md
docs/DatasetSummary.md
docs/DatasetVersionSummary.md
docs/DatasetsApi.md
docs/DeleteSandboxResponse.md
docs/DiscoveryStatus.md
docs/EmbeddingProviderResponse.md
docs/EmbeddingProvidersApi.md
Expand All @@ -69,6 +67,7 @@ docs/GetDatabaseContextResponse.md
docs/GetDatasetResponse.md
docs/GetResultResponse.md
docs/GetSecretResponse.md
docs/IndexEntryResponse.md
docs/IndexInfoResponse.md
docs/IndexStatus.md
docs/IndexesApi.md
Expand All @@ -88,11 +87,11 @@ docs/ListDatabasesResponse.md
docs/ListDatasetVersionsResponse.md
docs/ListDatasetsResponse.md
docs/ListEmbeddingProvidersResponse.md
docs/ListIndexesPageResponse.md
docs/ListIndexesResponse.md
docs/ListJobsResponse.md
docs/ListQueryRunsResponse.md
docs/ListResultsResponse.md
docs/ListSandboxesResponse.md
docs/ListSavedQueriesResponse.md
docs/ListSavedQueryVersionsResponse.md
docs/ListSecretsResponse.md
Expand All @@ -116,9 +115,6 @@ docs/RefreshWarning.md
docs/ResultInfo.md
docs/ResultsApi.md
docs/ResultsFormatQuery.md
docs/Sandbox.md
docs/SandboxResponse.md
docs/SandboxesApi.md
docs/SavedQueriesApi.md
docs/SavedQueryDatasetSource.md
docs/SavedQueryDetail.md
Expand All @@ -139,7 +135,6 @@ docs/UpdateDatasetRequest.md
docs/UpdateDatasetResponse.md
docs/UpdateEmbeddingProviderRequest.md
docs/UpdateEmbeddingProviderResponse.md
docs/UpdateSandboxRequest.md
docs/UpdateSavedQueryRequest.md
docs/UpdateSecretRequest.md
docs/UpdateSecretResponse.md
Expand Down Expand Up @@ -168,7 +163,6 @@ src/apis/query_api.rs
src/apis/query_runs_api.rs
src/apis/refresh_api.rs
src/apis/results_api.rs
src/apis/sandboxes_api.rs
src/apis/saved_queries_api.rs
src/apis/secrets_api.rs
src/apis/uploads_api.rs
Expand Down Expand Up @@ -207,7 +201,6 @@ src/models/create_dataset_response.rs
src/models/create_embedding_provider_request.rs
src/models/create_embedding_provider_response.rs
src/models/create_index_request.rs
src/models/create_sandbox_request.rs
src/models/create_saved_query_request.rs
src/models/create_secret_request.rs
src/models/create_secret_response.rs
Expand All @@ -227,7 +220,6 @@ src/models/dataset_source_one_of_3.rs
src/models/dataset_source_one_of_4.rs
src/models/dataset_summary.rs
src/models/dataset_version_summary.rs
src/models/delete_sandbox_response.rs
src/models/discovery_status.rs
src/models/embedding_provider_response.rs
src/models/error.rs
Expand All @@ -237,6 +229,7 @@ src/models/get_database_context_response.rs
src/models/get_dataset_response.rs
src/models/get_result_response.rs
src/models/get_secret_response.rs
src/models/index_entry_response.rs
src/models/index_info_response.rs
src/models/index_status.rs
src/models/information_schema_response.rs
Expand All @@ -253,11 +246,11 @@ src/models/list_databases_response.rs
src/models/list_dataset_versions_response.rs
src/models/list_datasets_response.rs
src/models/list_embedding_providers_response.rs
src/models/list_indexes_page_response.rs
src/models/list_indexes_response.rs
src/models/list_jobs_response.rs
src/models/list_query_runs_response.rs
src/models/list_results_response.rs
src/models/list_sandboxes_response.rs
src/models/list_saved_queries_response.rs
src/models/list_saved_query_versions_response.rs
src/models/list_secrets_response.rs
Expand All @@ -278,8 +271,6 @@ src/models/refresh_response.rs
src/models/refresh_warning.rs
src/models/result_info.rs
src/models/results_format_query.rs
src/models/sandbox.rs
src/models/sandbox_response.rs
src/models/saved_query_dataset_source.rs
src/models/saved_query_detail.rs
src/models/saved_query_summary.rs
Expand All @@ -298,7 +289,6 @@ src/models/update_dataset_request.rs
src/models/update_dataset_response.rs
src/models/update_embedding_provider_request.rs
src/models/update_embedding_provider_response.rs
src/models/update_sandbox_request.rs
src/models/update_saved_query_request.rs
src/models/update_secret_request.rs
src/models/update_secret_response.rs
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.3] - 2026-06-09

### Added

- `list_indexes_collection` (`GET /v1/indexes`) in `hotdata::apis::indexes_api` — lists indexes across every table in a database, scoped by the `X-Database-Id` header — along with the `IndexEntryResponse` and `ListIndexesPageResponse` models.

### Removed

- Sandbox endpoints and their models (`sandboxes_api`, `Sandbox`, `SandboxResponse`, `CreateSandboxRequest`, `UpdateSandboxRequest`, `ListSandboxesResponse`, `DeleteSandboxResponse`), following their removal from the Hotdata OpenAPI spec.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super nit: the regeneration also dropped the public namespace field from WorkspaceDetail and WorkspaceListItem (and from their ::new() signatures), which is a breaking change for any consumer constructing or reading those structs. Worth calling out explicitly in the ### Removed section rather than folding it into the generic "Regenerated the client" line, so downstream users notice it. (not blocking)


### Changed

- Regenerated the client from the updated Hotdata OpenAPI spec.

## [0.1.2] - 2026-06-06

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hotdata"
version = "0.1.2"
version = "0.1.3"
authors = ["developers@hotdata.dev"]
description = "Powerful data platform API for datasets, queries, and analytics."
license = "MIT"
Expand Down
12 changes: 0 additions & 12 deletions docs/DeleteSandboxResponse.md

This file was deleted.

20 changes: 20 additions & 0 deletions docs/IndexEntryResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# IndexEntryResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**columns** | **Vec<String>** | |
**created_at** | **String** | |
**index_name** | **String** | |
**index_type** | **String** | |
**metric** | Option<**String**> | Distance metric this index was built with. Only present for vector indexes. | [optional]
**status** | [**models::IndexStatus**](IndexStatus.md) | |
**updated_at** | **String** | |
**connection_id** | Option<**String**> | | [optional]
**schema_name** | **String** | |
**table_name** | **String** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


37 changes: 37 additions & 0 deletions docs/IndexesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Method | HTTP request | Description
[**delete_index**](IndexesApi.md#delete_index) | **DELETE** /v1/connections/{connection_id}/tables/{schema}/{table}/indexes/{index_name} | Delete an index
[**list_dataset_indexes**](IndexesApi.md#list_dataset_indexes) | **GET** /v1/datasets/{dataset_id}/indexes | List indexes on a dataset
[**list_indexes**](IndexesApi.md#list_indexes) | **GET** /v1/connections/{connection_id}/tables/{schema}/{table}/indexes | List indexes on a table
[**list_indexes_collection**](IndexesApi.md#list_indexes_collection) | **GET** /v1/indexes | List indexes across tables in a database



Expand Down Expand Up @@ -202,3 +203,39 @@ Name | Type | Description | Required | Notes

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_indexes_collection

> models::ListIndexesPageResponse list_indexes_collection(x_database_id, connection_id, schema, table, index_type, limit, cursor)
List indexes across tables in a database

List all indexes in the database identified by the required X-Database-Id header, paginated. Optional filters narrow by connection, schema, table, or index type.

### Parameters


Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**x_database_id** | **String** | Database to scope to (required) | [required] |
**connection_id** | Option<**String**> | Filter to one connection | |
**schema** | Option<**String**> | Filter by schema name | |
**table** | Option<**String**> | Filter by table name | |
**index_type** | Option<**String**> | Filter by index type | |
**limit** | Option<**i32**> | Max indexes per page | |
**cursor** | Option<**String**> | Pagination cursor | |

### Return type

[**models::ListIndexesPageResponse**](ListIndexesPageResponse.md)

### Authorization

[WorkspaceId](../README.md#WorkspaceId), [BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# CreateSandboxRequest
# ListIndexesPageResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | Option<**String**> | Human-readable name for the sandbox. | [optional]
**markdown** | Option<**String**> | Optional markdown notes. | [optional]
**count** | **i32** | |
**has_more** | **bool** | |
**indexes** | [**Vec<models::IndexEntryResponse>**](IndexEntryResponse.md) | |
**limit** | **i32** | |
**next_cursor** | Option<**String**> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
12 changes: 0 additions & 12 deletions docs/ListSandboxesResponse.md

This file was deleted.

15 changes: 0 additions & 15 deletions docs/Sandbox.md

This file was deleted.

12 changes: 0 additions & 12 deletions docs/SandboxResponse.md

This file was deleted.

Loading
Loading