Find embedding providers (HTTP)

Gets information about embedding providers for automatic embedding generation, including supported providers, models, dimensions, and other configuration parameters.

Different databases might have different models available.

You need an application token with permission to interact with the target database, such as the Database Administrator role.

For more information, see Get endpoint and token.

Result

Returns an object that contains information about the embedding providers.

Example response, truncated for brevity:

{
  "status": {
    "embeddingProviders": {
      "openai": {
        "displayName": "OpenAI",
        "url": "https://api.openai.com/v1/",
        "supportedAuthentication": {
          "SHARED_SECRET": {
            "enabled": true,
            "tokens": [
              {
                "accepted": "providerKey",
                "forwarded": "Authorization"
              }
            ]
          },
          # Truncated
        },
        "parameters": [
          {
            "name": "organizationId",
            "type": "STRING",
            "required": false,
            "defaultValue": "",
            "validation": {},
            "help": "Optional, OpenAI Organization ID. If provided [...]",
            "displayName": "Organization ID",
            "hint": "Add an (optional) organization ID"
          },
          # Truncated
        ],
        "models": [
          {
            "name": "text-embedding-3-small",
            "vectorDimension": null,
            "parameters": [
              {
                "name": "vectorDimension",
                "type": "number",
                "required": true,
                "defaultValue": "1536",
                "validation": {
                  "numericRange": [
                    2,
                    1536
                  ]
                },
                "help": "Vector dimension to use in [...]"
              }
            ]
          },
          # Truncated
        ]
      },
      # Truncated
    }
  }
}

Parameters

Use the findEmbeddingProviders Data API command.

The application token must have sufficient permissions to perform the requested operations, such as the Database Administrator role.

Command signature
curl -sS -L -X POST "API_ENDPOINT/api/json/v1" \
--header "Token: APPLICATION_TOKEN" \
--header "Content-Type: application/json" \
--data '{
  "findEmbeddingProviders": {
    "options": {
      "filterModelStatus": "STATUS"
    }
  }
}'
Name Type Summary

options.filterModelStatus

string

Optional. Filters the available models by status. Can be one of: SUPPORTED, DEPRECATED, END_OF_LIFE, empty string (no filter).

Default: SUPPORTED

Examples

The following examples demonstrate how to find embedding providers.

curl -sS -L -X POST "API_ENDPOINT/api/json/v1" \
  --header "Token: APPLICATION_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "findEmbeddingProviders": {
    "options": {
      "filterModelStatus": "SUPPORTED"
    }
  }
}'

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | Privacy policy | Terms of use Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM