LanceDB Table API

Operations that are related to a table

GitHub OpenAPI

Operations 40

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/table List all tables across namespaces · List all tables #
Ask an LLM
“Which tables exist across all my Lance namespaces?”
“Can I include tables that are declared but not yet created on storage?”
Tell an agent
List every table across all namespaces.
List tables, including declared ones, using delimiter {delimiter}.
POST /v1/table/{id}/register Register an existing table in a namespace · Register a table to a namespace #
Ask an LLM
“How do I register a table that already exists at a storage location?”
“Can I register a table with a specific mode like overwrite or append?”
Tell an agent
Register table {id} at {location}.
Register {id} at {location} in mode {mode}.
POST /v1/table/{id}/describe Describe a table's information · Describe information of a table #
Ask an LLM
“What is the location and schema of a table?”
“Can I load detailed metadata when describing a table?”
Tell an agent
Describe table {id}.
Describe {id} with detailed metadata {load_detailed_metadata}.
POST /v1/table/{id}/exists Check whether a table exists · Check if a table exists #
Ask an LLM
“Does a table exist in my namespace?”
“Is a table only declared and not yet created on storage?”
Tell an agent
Check whether table {id} exists.
Check if {id} exists at version {version}.
POST /v1/table/{id}/drop Delete a table and its data · Drop a table #
Ask an LLM
“How do I permanently delete a table and all its data?”
“Can I drop a table by its namespace and table name?”
Tell an agent destructive · confirm first
Drop table {id}.
Delete the data of {id}.
POST /v1/table/{id}/deregister Deregister a table from its namespace · Deregister a table #
Ask an LLM
“How do I remove a table from its namespace without deleting its data?”
“Can I deregister a table by its namespace and table name?”
Tell an agent destructive · confirm first
Deregister table {id}.
Remove {id} from its namespace.
POST /v1/table/{id}/restore Restore a table to a specific version · Restore table to a specific version #
Ask an LLM
“Can I roll back a table to an earlier version?”
“What do I need to restore a table to a specific version?”
Tell an agent
Restore table {id} to version {version}.
Roll back {id} to {version}.
POST /v1/table/{id}/rename Rename a table · Rename a table #
Ask an LLM
“How do I rename a table to a new name?”
“Can I move a table to a different namespace when renaming it?”
Tell an agent
Rename table {id} to {new_table_name}.
Move {id} to namespace {new_namespace_id} and name it {new_table_name}.
POST /v1/table/{id}/schema_metadata/update Replace a table's schema metadata · Update table schema metadata #
Ask an LLM
“How do I update the schema metadata stored on a table?”
“Can I replace a table's key-value schema metadata?”
Tell an agent
Update the schema metadata on table {id}.
Replace the schema metadata of {id} with new key-value pairs.
POST /v1/table/{id}/version/list List all versions of a table · List all versions of a table #
Ask an LLM
“What versions has a table had?”
“Can I list table versions from newest to oldest?”
Tell an agent
List all versions of table {id}.
List versions of {id} in descending order.
POST /v1/table/{id}/version/create Create a new version entry for a table · Create a new table version #
Ask an LLM
“How do I add a new version entry for a table?”
“Can I create a table version only if it doesn't already exist?”
Tell an agent
Create version {version} for table {id} with manifest {manifest_path}.
Add version {version} to {id} using manifest {manifest_path} and metadata {metadata}.
POST /v1/table/{id}/version/describe Describe a specific version of a table · Describe a specific table version #
Ask an LLM
“What manifest path and metadata does a specific table version have?”
“Can I describe one version of a table by its version number?”
Tell an agent
Describe version {version} of table {id}.
Show the manifest path for {version} of {id}.
POST /v1/table/{id}/version/delete Delete table version metadata records · Delete table version records #
Ask an LLM
“How do I delete version metadata records for a table?”
“Can I delete a range of table versions at once?”
Tell an agent destructive · confirm first
Delete version metadata records for table {id} in ranges {ranges}.
Remove the version tracking records of {id} for {ranges}.
POST /v1/table/version/batch-create Atomically create versions for several tables · Atomically create versions for multiple tables #
Ask an LLM
“Can I create new versions for multiple tables in one atomic operation?”
“What happens if one table version creation in a batch fails?”
Tell an agent
Atomically create versions {entries} for several tables.
Create new versions for all tables in {entries} at once.
POST /v1/table/batch-commit Atomically commit a batch of table operations · Atomically commit a batch of mixed table operations #
Ask an LLM
“Can I atomically declare, create, delete or deregister tables in one transaction?”
“Which operations can be mixed in a single atomic table batch commit?”
Tell an agent
Atomically commit the table operations {operations}.
Apply all of {operations} as one atomic transaction.
POST /v1/table/{id}/alter_columns Rename or change data types of existing columns · Modify existing columns #
Ask an LLM
“How do I rename a column or change its data type?”
“Can I alter several existing columns of a table in one request?”
Tell an agent
Alter the existing columns of table {id} with {alterations}.
Rename and change types of columns in {id} as {alterations}.
POST /v1/table/{id}/drop_columns Remove columns from a table · Remove columns from table #
Ask an LLM
“How do I drop columns from a table?”
“Can I remove several columns from a table at once?”
Tell an agent destructive · confirm first
Drop columns {columns} from table {id}.
Remove {columns} from {id}.
POST /v1/table/{id}/stats Get statistics for a table · Get table statistics #
Ask an LLM
“What are the row count and data size of a table?”
“Can I get column statistics for a table?”
Tell an agent
Get statistics for table {id}.
Show row counts and data sizes for {id}.
POST /v1/table/{id}/insert Insert records into a table · Insert records into a table #
Ask an LLM
“How do I insert new records into a table?”
“Will inserting into a declared but not yet created table create the table?”
Tell an agent
Insert records into table {id}.
Insert into {id} in {mode} mode.
POST /v1/table/{id}/merge_insert Upsert records into a table · Merge insert (upsert) records into a table #
Ask an LLM
“How do I update existing rows and insert new ones in a single operation?”
“Can I upsert rows matching a column and return how many were inserted and updated?”
Tell an agent
Merge insert rows into table {id} on column {on}.
Upsert into {id} on {on}, updating all columns when matched.
POST /v1/table/{id}/update Update rows in a table · Update rows in a table #
Ask an LLM
“How do I change existing rows in a Lance table?”
“Can I update only the rows that match a SQL predicate?”
Tell an agent
Update table {id} with {updates}.
Apply {updates} to rows in {id} matching {predicate}.
POST /v1/table/{id}/delete Delete rows from a table · Delete rows from a table #
Ask an LLM
“How do I delete rows from a Lance table?”
“Can I remove only the rows that match a SQL predicate?”
Tell an agent destructive · confirm first
Delete rows from table {id} matching {predicate}.
Remove entries in {id} where {predicate}.
POST /v1/table/{id}/query Query a table with vector search · Query a table #
Ask an LLM
“How do I find rows in a Lance table by vector similarity?”
“Can I combine full-text and SQL filtering with a vector search?”
Tell an agent
Query table {id} for vectors {vector} nearest to {k} results.
Find {k} rows in {id} matching {vector} and full-text query {full_text_query}.
POST /v1/table/{id}/count_rows Count rows in a table · Count rows in a table #
Ask an LLM
“How many rows are in a Lance table?”
“Can I count only the rows that match a SQL predicate?”
Tell an agent
Count the rows in table {id}.
Count rows in {id} matching {predicate}.
POST /v1/table/{id}/create Create a table from an Arrow stream · Create a table with the given name #
Ask an LLM
“How do I create a Lance table from an Arrow IPC stream?”
“Can I set properties on a table when I create it?”
Tell an agent
Create table {id} from the Arrow stream in the request body.
Create table {id} with properties {properties}.
POST /v1/table/{id}/explain_plan Explain a table query plan · Get query execution plan explanation #
Ask an LLM
“How does Lance plan to execute a query against a table?”
“Can I get a human-readable explanation of a query plan?”
Tell an agent
Explain the query plan for {query} against table {id}.
Show how {query} would be executed on {id} with verbose plan {verbose}.
POST /v1/table/{id}/analyze_plan Analyze a table's query plan · Analyze query execution plan #
Ask an LLM
“How can I see the execution plan for searching a LanceDB table?”
“Can I analyze a vector search on a table to see which index it uses?”
Tell an agent
Analyze the query plan for searching table {id} with vector {vector} returning {k} results.
Show the execution plan for table {id} using a filter {filter} and returning {k} results.
POST /v1/table/{id}/add_columns Add new columns to a table · Add new columns to table schema #
Ask an LLM
“How do I add new columns to an existing Lance table?”
“Can I add computed columns with SQL expressions?”
Tell an agent
Add columns {new_columns} to table {id}.
Append {new_columns} to the schema of {id}.
POST /v1/table/{id}/backfill_column Backfill a computed column · Trigger an async column backfill job #
Ask an LLM
“How do I fill in values for a computed column that is virtual?”
“Can I backfill a computed column for only some rows?”
Tell an agent
Backfill computed column {column} on table {id}.
Backfill {column} in {id} where {where}.
POST /v1/table/{id}/create_index Create an index on a table column · Create an index on a table #
Ask an LLM
“How do I create an index on a column for faster search?”
“Can I choose the index type and distance metric?”
Tell an agent
Create a {index_type} index on column {column} of table {id}.
Build a {index_type} index on {column} in {id} using distance {distance_type}.
POST /v1/table/{id}/create_scalar_index Create a scalar index on a table column · Create a scalar index on a table #
Ask an LLM
“How do I add a BTREE or BITMAP scalar index to speed up filtering on a column?”
“Can I build a full-text search index with stemming and stop word removal on a text column?”
Tell an agent
Use the scalar index endpoint to build a {index_type} index on {column} in table {id}.
Add a full-text scalar index named {name} on text column {column} of {id} with language {language}.
POST /v1/table/{id}/index/list List indexes on a table · List indexes on a table #
Ask an LLM
“Which indexes exist on a Lance table?”
“Can I see the status and UUID of each index?”
Tell an agent
List the indexes on table {id}.
Show the first {limit} indexes on {id}.
POST /v1/table/{id}/index/{index_name}/stats Get statistics for a table index · Get table index statistics #
Ask an LLM
“How many rows does a specific index cover?”
“What statistics are available for one index on a table?”
Tell an agent
Get statistics for index {index_name} on table {id}.
Show row counts and index type for {index_name} in {id}.
POST /v1/table/{id}/index/{index_name}/drop Drop an index from a table · Drop a specific index #
Ask an LLM
“How do I drop an index from a Lance table?”
“Can I remove an index by name?”
Tell an agent destructive · confirm first
Drop index {index_name} from table {id}.
Remove the {index_name} index on {id}.
POST /v1/table/{id}/tags/list List tags on a table · List all tags for a table #
Ask an LLM
“What tags have been created for a Lance table?”
“Can I page through a table's tags?”
Tell an agent
List all tags on table {id}.
Show the first {limit} tags for {id}.
POST /v1/table/{id}/tags/version Get the version a tag points to · Get version for a specific tag #
Ask an LLM
“Which table version does a given tag point to?”
“Can I resolve a tag to its version number?”
Tell an agent
Get the version that tag {tag} points to on table {id}.
Resolve tag {tag} on {id} to its version.
POST /v1/table/{id}/declare Declare a table without creating storage · Declare a table #
Ask an LLM
“How do I declare a table's existence without touching storage?”
“Can I set up access control on a table before it has data files?”
Tell an agent
Declare table {id} without creating storage files.
Declare {id} at location {location}.
POST /v1/table/{id}/tags/create Create a tag pointing to a table version · Create a new tag #
Ask an LLM
“How do I create a tag that points to a specific table version?”
“Can I name a tag when I create it?”
Tell an agent
Create tag {tag} on table {id} pointing to version {version}.
Add a {tag} tag to {id} at version {version}.
POST /v1/table/{id}/tags/delete Delete a table tag · Delete a tag #
Ask an LLM
“How do I remove a tag from a table?”
“Can I delete a tag that points to an old version?”
Tell an agent destructive · confirm first
Delete tag {tag} from table {id}.
Remove the {tag} tag on table {id}.
POST /v1/table/{id}/tags/update Point a table tag at a different version · Update a tag to point to a different version #
Ask an LLM
“How do I make an existing tag point to a newer version?”
“Can I move a tag to a different table version?”
Tell an agent
Point tag {tag} on table {id} at version {version}.
Update the {tag} tag on table {id} to point to {version}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lancedb:lancedb-table-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lancedb-table-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lance Namespace Specification Table API
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
  description: This OpenAPI specification is a part of the Lance namespace specification.
servers:
- url: '{scheme}://{host}:{port}/{basePath}'
  description: Generic server URL with all parts configurable
  variables:
    scheme:
      default: http
    host:
      default: localhost
    port:
      default: '2333'
    basePath:
      default: ''
- url: '{scheme}://{host}/{basePath}'
  description: Server URL when the port can be inferred from the scheme
  variables:
    scheme:
      default: http
    host:
      default: localhost
    basePath:
      default: ''
security:
- OAuth2: []
- BearerAuth: []
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (139 KB total) ---
# Full source: https://artifacts.apis.io/lancedb/openapi/lancedb-table-api-openapi.yml