EmbeddingsPostRequest

SAPCloud PlatformIntegrationArtificial IntelligenceData ManagementAnalyticsApplication DevelopmentEnterprise

Properties

Name Type Description
config object
input object
View JSON Schema on GitHub

JSON Schema

sap-btp-embeddings-post-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sap-btp/json-schema/sap-btp-embeddings-post-request-schema.json",
  "title": "EmbeddingsPostRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sap-btp-orchestration-openapi.yml#/components/schemas/EmbeddingsPostRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "input",
    "config"
  ],
  "properties": {
    "config": {
      "$ref": "#/$defs/EmbeddingsOrchestrationConfig"
    },
    "input": {
      "$ref": "#/$defs/EmbeddingsInput"
    }
  },
  "$defs": {
    "DPIConfig": {
      "type": "object",
      "required": [
        "type",
        "method",
        "entities"
      ],
      "additionalProperties": false,
      "properties": {
        "type": {
          "description": "Type of masking service provider",
          "type": "string",
          "enum": [
            "sap_data_privacy_integration"
          ]
        },
        "method": {
          "description": "Type of masking method to be used",
          "type": "string",
          "enum": [
            "anonymization",
            "pseudonymization"
          ]
        },
        "entities": {
          "description": "List of entities to be masked",
          "type": "array",
          "minItems": 1,
          "items": {
            "$ref": "#/$defs/DPIEntityConfig"
          }
        },
        "allowlist": {
          "description": "List of strings that should not be masked",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mask_grounding_input": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "enabled": {
              "type": "boolean",
              "default": false,
              "description": "controls whether the input to the grounding module will be masked with the configuration supplied in the masking module"
            }
          }
        },
        "mask_file_input_method": {
          "description": "Type of masking method to be used for file inputs. Required if file inputs are provided.",
          "type": "string",
          "enum": [
            "anonymization",
            "skip"
          ]
        }
      }
    },
    "DPICustomEntity": {
      "type": "object",
      "required": [
        "regex",
        "replacement_strategy"
      ],
      "additionalProperties": false,
      "properties": {
        "regex": {
          "description": "Regular expression to match the entity",
          "type": "string"
        },
        "replacement_strategy": {
          "description": "Replacement strategy to be used for the entity",
          "oneOf": [
            {
              "$ref": "#/$defs/DPIMethodConstant"
            }
          ]
        }
      }
    },
    "DPIEntities": {
      "description": "Default entities supported by data privacy and integration service",
      "type": "string",
      "enum": [
        "profile-person",
        "profile-org",
        "profile-university",
        "profile-location",
        "profile-email",
        "profile-phone",
        "profile-address",
        "profile-sapids-internal",
        "profile-sapids-public",
        "profile-url",
        "profile-username-password",
        "profile-nationalid",
        "profile-iban",
        "profile-ssn",
        "profile-credit-card-number",
        "profile-passport",
        "profile-driverlicense",
        "profile-nationality",
        "profile-religious-group",
        "profile-political-group",
        "profile-pronouns-gender",
        "profile-ethnicity",
        "profile-gender",
        "profile-sexual-orientation",
        "profile-trade-union",
        "profile-sensitive-data"
      ]
    },
    "DPIEntityConfig": {
      "oneOf": [
        {
          "$ref": "#/$defs/DPIStandardEntity"
        },
        {
          "$ref": "#/$defs/DPICustomEntity"
        }
      ]
    },
    "DPIMethodConstant": {
      "description": "Replaces the entity with the specified value followed by an incrementing number",
      "type": "object",
      "required": [
        "method",
        "value"
      ],
      "additionalProperties": false,
      "properties": {
        "method": {
          "type": "string",
          "enum": [
            "constant"
          ]
        },
        "value": {
          "description": "Value to be used for replacement",
          "type": "string"
        }
      }
    },
    "DPIMethodFabricatedData": {
      "description": "Replaces the entity with a randomly generated value appropriate to its type.",
      "type": "object",
      "required": [
        "method"
      ],
      "additionalProperties": false,
      "properties": {
        "method": {
          "type": "string",
          "enum": [
            "fabricated_data"
          ]
        }
      }
    },
    "DPIStandardEntity": {
      "type": "object",
      "required": [
        "type"
      ],
      "additionalProperties": false,
      "properties": {
        "type": {
          "$ref": "#/$defs/DPIEntities"
        },
        "replacement_strategy": {
          "description": "Replacement strategy to be used for the entity",
          "oneOf": [
            {
              "$ref": "#/$defs/DPIMethodConstant"
            },
            {
              "$ref": "#/$defs/DPIMethodFabricatedData"
            }
          ]
        }
      }
    },
    "EmbeddingsInput": {
      "type": "object",
      "required": [
        "text"
      ],
      "additionalProperties": false,
      "properties": {
        "text": {
          "$ref": "#/$defs/EmbeddingsInputText"
        },
        "type": {
          "type": "string",
          "enum": [
            "text",
            "document",
            "query",
            "search_document",
            "search_query",
            "classification",
            "clustering",
            "image"
          ]
        }
      }
    },
    "EmbeddingsInputText": {
      "oneOf": [
        {
          "type": "string",
          "description": "The string that will be turned into an embedding."
        },
        {
          "type": "array",
          "description": "The array of strings that will be turned into an embedding.",
          "minItems": 1,
          "items": {
            "type": "string",
            "minLength": 1
          }
        }
      ],
      "description": "Text input for which embeddings need to be generated"
    },
    "EmbeddingsModelConfig": {
      "type": "object",
      "required": [
        "model"
      ],
      "additionalProperties": false,
      "properties": {
        "model": {
          "$ref": "#/$defs/EmbeddingsModelDetails"
        }
      }
    },
    "EmbeddingsModelDetails": {
      "type": "object",
      "required": [
        "name"
      ],
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string"
        },
        "version": {
          "type": "string",
          "default": "latest"
        },
        "params": {
          "$ref": "#/$defs/EmbeddingsModelParams"
        },
        "timeout": {
          "description": "Timeout for the Embeddings request in seconds. This parameter is currently ignored for Vertex AI models. Values above 600s may not be honored due to infrastructure connection limits; in practice this primarily affects non-streaming calls where the connection may be idle while waiting for a response.",
          "type": "integer",
          "default": 600,
          "minimum": 1,
          "maximum": 1200
        },
        "max_retries": {
          "description": "Maximum number of retries for the Embeddings request. This parameter is currently ignored for Vertex AI models.",
          "type": "integer",
          "default": 2,
          "minimum": 0,
          "maximum": 5
        }
      }
    },
    "EmbeddingsModelParams": {
      "type": "object",
      "description": "Additional parameters for generating input's embeddings. Default values are used for mandatory parameters.",
      "additionalProperties": true,
      "properties": {
        "dimensions": {
          "type": "integer",
          "description": "The number of dimensions the resulting output embeddings should have.\n"
        },
        "encoding_format": {
          "oneOf": [
            {
              "$ref": "#/$defs/EncodingFormat"
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/EncodingFormat"
              },
              "minItems": 1
            }
          ],
          "description": "The format to return the embeddings in. Can be a single format or an array of formats. OpenAI's spec allows for 'float' and 'base64' encoding formats.\n"
        },
        "normalize": {
          "type": "boolean"
        }
      }
    },
    "EmbeddingsModuleConfigs": {
      "type": "object",
      "required": [
        "embeddings"
      ],
      "additionalProperties": false,
      "properties": {
        "embeddings": {
          "$ref": "#/$defs/EmbeddingsModelConfig"
        },
        "masking": {
          "$ref": "#/$defs/MaskingModuleConfig"
        }
      }
    },
    "EmbeddingsOrchestrationConfig": {
      "type": "object",
      "required": [
        "modules"
      ],
      "additionalProperties": false,
      "properties": {
        "modules": {
          "$ref": "#/$defs/EmbeddingsModuleConfigs"
        }
      }
    },
    "EncodingFormat": {
      "type": "string",
      "enum": [
        "float",
        "base64",
        "binary",
        "int8",
        "uint8",
        "ubinary"
      ],
      "description": "Encoding format for embeddings."
    },
    "MaskingModuleConfig": {
      "oneOf": [
        {
          "type": "object",
          "title": "MaskingModuleConfigProviders",
          "properties": {
            "providers": {
              "description": "List of masking service providers",
              "type": "array",
              "minItems": 1,
              "items": {
                "$ref": "#/$defs/MaskingProviderConfig"
              }
            }
          },
          "required": [
            "providers"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "title": "MaskingModuleConfigMaskingProviders",
          "properties": {
            "masking_providers": {
              "deprecated": true,
              "description": "List of masking service providers. **DEPRECATED**:  will be removed March 20, 2027. Use `providers` property instead.",
              "type": "array",
              "minItems": 1,
              "items": {
                "$ref": "#/$defs/MaskingProviderConfig"
              }
            }
          },
          "required": [
            "masking_providers"
          ],
          "additionalProperties": false
        }
      ]
    },
    "MaskingProviderConfig": {
      "oneOf": [
        {
          "$ref": "#/$defs/DPIConfig"
        }
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sap-btp-embeddings-post-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.