Pinecone · Schema

CreateIndexForModelRequest

The desired configuration for the index and associated embedding model.

Vector DatabasesArtificial IntelligenceEmbeddingsRAG

Properties

Name Type Description
name string The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.
cloud string The public cloud where you would like your index hosted. Possible values: `gcp`, `aws`, or `azure`.
region string The region where you would like your index to be created.
deletion_protection object
tags object
schema object
read_capacity object
embed object Specify the integrated inference embedding configuration for the index. Once set the model cannot be changed, but you can later update the embedding configuration for an integrated inference index inc
View JSON Schema on GitHub

JSON Schema

pinecone-createindexformodelrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateIndexForModelRequest",
  "title": "CreateIndexForModelRequest",
  "description": "The desired configuration for the index and associated embedding model.",
  "type": "object",
  "properties": {
    "name": {
      "example": "example-index",
      "description": "The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\n",
      "type": "string",
      "minLength": 1,
      "maxLength": 45
    },
    "cloud": {
      "example": "aws",
      "description": "The public cloud where you would like your index hosted.\nPossible values: `gcp`, `aws`, or `azure`.",
      "x-enum": [
        "gcp",
        "aws",
        "azure"
      ],
      "type": "string"
    },
    "region": {
      "example": "us-east-1",
      "description": "The region where you would like your index to be created.",
      "type": "string"
    },
    "deletion_protection": {
      "$ref": "#/components/schemas/DeletionProtection"
    },
    "tags": {
      "$ref": "#/components/schemas/IndexTags"
    },
    "schema": {
      "$ref": "#/components/schemas/MetadataSchema"
    },
    "read_capacity": {
      "$ref": "#/components/schemas/ReadCapacity"
    },
    "embed": {
      "example": {
        "field_map": {
          "text": "your-text-field"
        },
        "metric": "cosine",
        "model": "multilingual-e5-large",
        "read_parameters": {
          "input_type": "query",
          "truncate": "NONE"
        },
        "write_parameters": {
          "input_type": "passage"
        }
      },
      "description": "Specify the integrated inference embedding configuration for the index.\n\nOnce set the model cannot be changed, but you can later update the embedding configuration for an integrated inference index including field map, read parameters, or write parameters.\n\nRefer to the [model guide](https://docs.pinecone.io/guides/index-data/create-an-index#embedding-models) for available models and model details.",
      "type": "object",
      "properties": {
        "model": {
          "example": "multilingual-e5-large",
          "description": "The name of the embedding model to use for the index.",
          "type": "string"
        },
        "metric": {
          "description": "The distance metric to be used for similarity search. You can use 'euclidean', 'cosine', or 'dotproduct'. If not specified, the metric will be defaulted according to the model. Cannot be updated once set.\nPossible values: `cosine`, `euclidean`, or `dotproduct`.",
          "x-enum": [
            "cosine",
            "euclidean",
            "dotproduct"
          ],
          "type": "string"
        },
        "field_map": {
          "example": {
            "text": "your-text-field"
          },
          "description": "Identifies the name of the text field from your document model that will be embedded.",
          "type": "object"
        },
        "dimension": {
          "description": "The dimension of embedding vectors produced for the index.",
          "type": "integer"
        },
        "read_parameters": {
          "description": "The read parameters for the embedding model.",
          "type": "object"
        },
        "write_parameters": {
          "description": "The write parameters for the embedding model.",
          "type": "object"
        }
      },
      "required": [
        "model",
        "field_map"
      ]
    }
  },
  "required": [
    "name",
    "cloud",
    "region",
    "embed"
  ]
}

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/pinecone-createindexformodelrequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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