diff --git a/www/docs/api-reference/admin-apis/corpus/list-tables.md b/www/docs/api-reference/admin-apis/corpus/list-tables.md deleted file mode 100644 index 71ea2019..00000000 --- a/www/docs/api-reference/admin-apis/corpus/list-tables.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -id: list-tables -title: List Tables API Definition -sidebar_label: List Tables API Definition ---- - -The List Tables API retrieves a list of tables stored within a document in a -specified corpus. Use this endpoint to discover structured data extracted from -uploaded documents. - -## List Tables Request and Response - -To list tables in a document, send a GET request to -`/v2/corpora/{corpus_key}/documents/{document_id}/tables`, where `corpus_key` -identifies the corpus, and `document_id` identifies the document. This request -supports the following query parameters: - -* `limit` (Optional): The maximum number of tables to return in a single - response. Default is `10`. Minimum value is `1`, and the maximum is `100`. -* `page_key` (Optional): Use this parameter to retrieve the next page of tables - after reaching the limit. You can find the `page_key` value in the metadata of - a previous response. - -## REST 2.0 URL - -### List Tables REST Endpoint Address - - exposes a REST endpoint at the following URL -to get a list of tables in a document within a corpus: -https:///v2/corpora/:corpus_key/documents - -The API Reference shows the full [Get Corpus](/docs/rest-api/list-tables) REST definition. - diff --git a/www/docs/api-reference/admin-apis/corpus/retrieve-table.md b/www/docs/api-reference/admin-apis/corpus/retrieve-table.md deleted file mode 100644 index 30d58add..00000000 --- a/www/docs/api-reference/admin-apis/corpus/retrieve-table.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -id: retrieve-table -title: Retrieve Table API Definition -sidebar_label: Retrieve Table API Definition ---- - -The Retrieve Table API retrieves metadata and content for a specific table in -a document. Use this endpoint to access structured data stored within tables. - -## Retrieve Table Request and Response - -To retrieve a specific table, send a GET request to -`/v2/corpora/{corpus_key}/documents/{document_id}/tables/{table_id}`. This -request supports the following query parameters: - -* `corpus_key`: The corpus ID that contains the document. -* `document_id`: The document ID that contains the table. -* `table_id`: The specific table that you want to retrieve. - -## REST 2.0 URL - -### Retrieve Table REST Endpoint Address - - exposes a REST endpoint at the following URL -to a specific tables in a document: -https:///v2/corpora/:corpus_key/documents/{document_id}/tables/{table_id} - -The API Reference shows the full [Get Corpus](/docs/rest-api/list-tables) REST definition.