Amazon DynamoDB · Schema

SearchVectorsInput

Amazon Web ServicesDatabaseDocument StoreKey-Value StoreNoSQLServerless

Properties

Name Type Description
TableName string The name or Amazon Resource Name (ARN) of the table containing the vector index.
IndexName string The name of the vector index to search. The index must be in the ACTIVE state.
ReturnConsumedCapacity string
ExpressionAttributeNames object One or more substitution tokens for attribute names in an expression. Use the # character in an expression to dereference an attribute name.
ExpressionAttributeValues object One or more values that can be substituted in an expression. Use the : character in an expression to dereference an attribute value.
ProjectionExpression string A string that identifies one or more attributes to retrieve from the index. Separate attribute names with commas. If not specified, the operation returns all attributes projected into the vector index
SearchVector array The search vector to compare against the indexed vectors. Each element is a 32-bit IEEE-754 floating point number, provided in DynamoDB list format. The number of dimensions must match the number of d
SearchConditionExpression string A condition expression used to filter the vector search results. The expression can reference attributes defined in the vector index search schema, including HASH and INLINE_FILTER key elements. The H
TopK integer The number of most similar results to return.
View JSON Schema on GitHub

JSON Schema

amazon-dynamodb-search-vectors-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dynamodb/json-schema/amazon-dynamodb-search-vectors-input-schema.json",
  "title": "SearchVectorsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dynamodb-operations-api-openapi.yml#/components/schemas/SearchVectorsInput",
  "type": "object",
  "properties": {
    "TableName": {
      "type": "string",
      "description": "The name or Amazon Resource Name (ARN) of the table containing the vector index."
    },
    "IndexName": {
      "type": "string",
      "description": "The name of the vector index to search. The index must be in the ACTIVE state."
    },
    "ReturnConsumedCapacity": {
      "type": "string",
      "enum": [
        "INDEXES",
        "TOTAL",
        "NONE"
      ]
    },
    "ExpressionAttributeNames": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "One or more substitution tokens for attribute names in an expression. Use the # character in an expression to dereference an attribute name."
    },
    "ExpressionAttributeValues": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/AttributeValue"
      },
      "description": "One or more values that can be substituted in an expression. Use the : character in an expression to dereference an attribute value."
    },
    "ProjectionExpression": {
      "type": "string",
      "description": "A string that identifies one or more attributes to retrieve from the index. Separate attribute names with commas. If not specified, the operation returns all attributes projected into the vector index. Only attributes projected into the vector index can be retrieved."
    },
    "SearchVector": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AttributeValue"
      },
      "description": "The search vector to compare against the indexed vectors. Each element is a 32-bit IEEE-754 floating point number, provided in DynamoDB list format. The number of dimensions must match the number of dimensions configured for the vector index."
    },
    "SearchConditionExpression": {
      "type": "string",
      "description": "A condition expression used to filter the vector search results. The expression can reference attributes defined in the vector index search schema, including HASH and INLINE_FILTER key elements. The HASH and INLINE_FILTER attributes support only the equality operator (=). You can reference only top-level attributes from the search schema."
    },
    "TopK": {
      "type": "integer",
      "description": "The number of most similar results to return."
    }
  },
  "required": [
    "TableName",
    "IndexName",
    "SearchVector",
    "TopK"
  ],
  "$defs": {
    "AttributeValue": {
      "type": "object",
      "properties": {
        "S": {
          "type": "string",
          "description": "An attribute of type String. For example: \"S\": \"Hello\""
        },
        "N": {
          "type": "string",
          "description": "An attribute of type Number. For example: \"N\": \"123.45\" Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations."
        },
        "B": {
          "type": "string",
          "format": "byte",
          "description": "An attribute of type Binary. For example: \"B\": \"dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk\""
        },
        "SS": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An attribute of type String Set. For example: \"SS\": [\"Giraffe\", \"Hippo\" ,\"Zebra\"]"
        },
        "NS": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An attribute of type Number Set. For example: \"NS\": [\"42.2\", \"-19\", \"7.5\", \"3.14\"] Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations."
        },
        "BS": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "byte"
          },
          "description": "An attribute of type Binary Set. For example: \"BS\": [\"U3Vubnk=\", \"UmFpbnk=\", \"U25vd3k=\"]"
        },
        "M": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/AttributeValue"
          },
          "description": "An attribute of type Map. For example: \"M\": {\"Name\": {\"S\": \"Joe\"}, \"Age\": {\"N\": \"35\"}}"
        },
        "L": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AttributeValue"
          },
          "description": "An attribute of type List. For example: \"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\": \"3.14159\"}]"
        },
        "NULL": {
          "type": "boolean",
          "description": "An attribute of type Null. For example: \"NULL\": true"
        },
        "BOOL": {
          "type": "boolean",
          "description": "An attribute of type Boolean. For example: \"BOOL\": true"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}

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/amazon-dynamodb-search-vectors-input"
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.