POST
/
v1
/
embeddings
curl --location --request POST 'https://api.stateset.com/v1/embeddings' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "em_1NXWPnCo6bFb1KQto6C8OWvE"
}'
{
  "id": "<string>",
  "knowledge": "<string>",
  "user_id": "<string>"
}

Body

id
string

This is the ID of the embedding to be created.

knowledge
string

This is the text of the embedding.

metadata
string

This is the metadata of the embedding.

user_id
string

This is the user id of the embedding.

Response

id
string

This is the ID of the embedding.

knowledge
string

This is the text of the embedding.

This is the metadata of the embedding.

user_id
string

This is the user id of the embedding.