TypeScript
Install the JavaScript and TypeScript SDK from npm:Python
Install the Python SDK from PyPI:Go
Install the Go SDK withgo get:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install the official Cerca SDKs and CLI.
export CERCA_API_KEY="..."
npm install @cerca-dev/sdk
pnpm add @cerca-dev/sdk
yarn add @cerca-dev/sdk
bun add @cerca-dev/sdk
import Cerca from "@cerca-dev/sdk";
const client = new Cerca({
apiKey: process.env.CERCA_API_KEY,
});
pip install cerca-python
uv add cerca-python
import os
from cerca import Cerca
client = Cerca(api_key=os.environ["CERCA_API_KEY"])
go get:
go get github.com/matrices/cerca-go
package main
import (
"os"
cerca "github.com/matrices/cerca-go"
"github.com/matrices/cerca-go/option"
)
func main() {
client := cerca.NewClient(option.WithAPIKey(os.Getenv("CERCA_API_KEY")))
_ = client
}
gem install cerca
bundle add cerca
require "cerca"
client = Cerca::Client.new(api_key: ENV["CERCA_API_KEY"])
brew install matrices/cerca/cerca
export CERCA_API_KEY="..."
cerca auth context