lancedb-connect

Derive LanceDB REST base URL and authentication headers from inputs.

11.1k|995|Updated Feb 28, 2023
One-click install
npx skills add https://github.com/lancedb/lancedb --skill lancedb-connect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lancedb-connect
Source: https://github.com/lancedb/lancedb/tree/main/.agents/skills/lancedb-connect
Command: npx skills add https://github.com/lancedb/lancedb --skill lancedb-connect

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Resolve how to connect to a LanceDB deployment over the REST API — figure out the base URL, API key, and database header. Use this before making any REST requests to a LanceDB table, whenever the endpoint or auth setup is not already known. Also useful on its own when someone asks how to connect, authenticate, or curl their LanceDB instance.

Core Features & Use Cases

  • Provides a clear approach to deriving base URL, API key, and database header for REST requests.
  • Supports quick validation by performing a lightweight test request and interpreting responses to verify credentials.
  • Use case: a developer provisioning a new LanceDB deployment or debugging a misconfigured client.

Quick Start

Ask for the LanceDB endpoint URL and API key, and I will generate the required base URL and headers for your REST calls.

Frequently Asked Questions about lancedb-connect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect to a LanceDB REST deployment and get the required headers?

Connecting to a LanceDB REST deployment requires deriving the base URL, x-api-key, and x-lancedb-database headers. The connection is established by identifying the endpoint URL and API key from environment variables, running instances, or user input.

What headers are required for authenticating LanceDB REST API requests?

Authenticating LanceDB REST API requests requires the x-api-key and x-lancedb-database headers. These headers ensure your client is properly configured to interact with the specified database deployment.

How do I find my LanceDB endpoint URL and API key if they are unknown?

Finding the LanceDB endpoint URL and API key involves checking environment variables, running instances, or requesting user input. Once identified, these values are used to generate the required base URL and headers.

Can I validate my LanceDB REST credentials before making full requests?

You can validate LanceDB REST credentials by performing a lightweight test request. This approach interprets the response to verify that your base URL and headers are correctly configured before making full table requests.

Why does my LanceDB client return an authentication error when sending REST requests?

A LanceDB REST authentication error often occurs when the x-api-key or x-lancedb-database headers are missing or misconfigured. You must verify that the base URL and required headers are correctly derived from your environment variables.