Skip to main content
POST
/
orgs
/
{org_id}
/
kbs
/
{kb_id}
/
embeddings
cURL
curl --request POST \
  --url https://dev.timbal.ai/orgs/{org_id}/kbs/{kb_id}/embeddings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "column_name": "<string>",
  "model": "<string>",
  "name": "<string>",
  "table_name": "<string>",
  "with_gin_index": true
}'

Authorizations

Authorization
string
header
required

Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.

Path Parameters

org_id
integer
required
kb_id
integer
required

Body

application/json
column_name
string
required

Name of the source column

model
string
required

Embedding model to use. See the list embedding models endpoint for available options.

name
string
required

Name of the embedding

table_name
string
required

Name of the source table

with_gin_index
boolean
required

Whether to create a GIN index for the source column for faster hybrid search

Response

204

Embedding created successfully