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

Body

application/json

Specification for adding a new embedder.

name
string
required
Unique name/identifier for the embedder.
provider
enum<string>
required
The embedder provider type (e.g., 'openai', 'amazon-bedrock', 'sentence-transformer').
Available options:
openai,
amazon-bedrock,
sentence-transformer
config
Config · object
required
Provider-specific configuration settings.

Response

Successful Response

Response model for resource update operations.

success
boolean
required
Whether the operation succeeded.
status
enum<string>
required
Current status of the resource after the operation.
Available options:
ready,
failed,
pending
error
string | null
Error message if the operation failed.