Skip to main content
POST
/
api
/
v2
/
config
/
resources
/
embedders
Add Embedder
curl --request POST \
  --url http://localhost:8080/api/v2/config/resources/embedders \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "provider": "openai",
  "config": {
    "model": "<string>",
    "api_key": "<string>",
    "aws_region": "<string>",
    "aws_access_key_id": "<string>",
    "aws_secret_access_key": "<string>"
  }
}
'
{
  "success": true,
  "status": "READY",
  "error": "<string>"
}

Body

application/json
name
string
required
provider
enum<string>
required
Available options:
openai,
amazon-bedrock,
sentence-transformer
config
object
required

Required fields depend on provider (e.g., api_key for openai).

Response

Created

success
boolean
required
status
enum<string>
required
Available options:
READY,
FAILED,
INITIALIZING
error
string | null