# Source: https://upstash.com/docs/api-reference/search/create-search-index.md

> ## Documentation Index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Search Index

> Creates a new search index with the specified configuration



## OpenAPI

````yaml devops/developer-api/openapi.yml post /search
openapi: 3.0.4
info:
  title: Developer API - Upstash
  description: >-
    This is a documentation to specify Developer API endpoints based on the
    OpenAPI 3.0 specification.
  contact:
    name: Support Team
    email: support@upstash.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
  - url: https://api.upstash.com/v2
security: []
tags:
  - name: redis
    description: Manage redis databases.
    externalDocs:
      description: Find out more
      url: https://upstash.com/docs/devops/developer-api/introduction
  - name: teams
    description: Manage teams and team members.
    externalDocs:
      description: Find out more
      url: https://upstash.com/docs/devops/developer-api/introduction
  - name: vector
    description: Manage vector indices.
    externalDocs:
      description: Find out more
      url: https://upstash.com/docs/devops/developer-api/introduction
  - name: search
    description: Manage search indices.
    externalDocs:
      description: Find out more
      url: https://upstash.com/docs/devops/developer-api/introduction
  - name: qstash
    description: Manage QStash.
    externalDocs:
      description: Find out more
      url: https://upstash.com/docs/devops/developer-api/introduction
externalDocs:
  description: Find out more about Upstash
  url: https://upstash.com/
paths:
  /search:
    post:
      tags:
        - search
      summary: Create Search Index
      description: Creates a new search index with the specified configuration
      operationId: createSearchIndex
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
                - region
                - type
              properties:
                name:
                  type: string
                  description: Name of the search index
                  example: mySearchIndex
                region:
                  type: string
                  enum:
                    - eu-west-1
                    - us-central1
                  description: Region of the index
                  example: eu-west-1
                type:
                  type: string
                  enum:
                    - free
                    - payg
                    - fixed
                  description: >-
                    Index payment type. Currently 'free' and 'payg' are
                    available.
                  example: payg
      responses:
        '200':
          description: Index created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchIndex'
      security:
        - basicAuth: []
components:
  schemas:
    SearchIndex:
      type: object
      properties:
        customer_id:
          type: string
          description: The associated ID of the owner of the index
          example: example@upstash.com
        id:
          type: string
          format: uuid
          description: Unique ID of the index
          example: 99a4c327-31f0-490f-a594-043ade84085a
        name:
          type: string
          description: Name of the search index
          example: mySearchIndex
        endpoint:
          type: string
          description: The REST endpoint of the index
          example: glowing-baboon-15797-us1
        type:
          type: string
          description: The payment plan of the index
          enum:
            - free
            - payg
            - fixed
          example: payg
        region:
          type: string
          description: The region where the index is currently deployed
          enum:
            - eu-west-1
            - us-central1
          example: us-central1
        vercel_email:
          type: string
          description: >-
            The email associated with Vercel integration, if any. Empty string
            otherwise.
          example: example@vercel.com
        token:
          type: string
          description: The REST authentication token for the index
          example: ZXhhbXBsZUB1cHN0YXNoLmNvbTpuYWJlcg==
        read_only_token:
          type: string
          description: The REST authentication read only token for the search index
          example: ZXhhbXBsZUB1cHN0YXNoLmNvbTpuYWJlcg==
        max_vector_count:
          type: integer
          description: Maximum number of vectors allowed in the index
          example: 2000000
        max_monthly_reranks:
          type: integer
          description: Maximum monthly rerank operations (-1 for unlimited)
          example: -1
        max_daily_updates:
          type: integer
          description: Maximum daily update operations (-1 for unlimited)
          example: -1
        max_daily_queries:
          type: integer
          description: Maximum daily query operations (-1 for unlimited)
          example: -1
        max_monthly_bandwidth:
          type: integer
          description: Maximum monthly bandwidth in bytes (-1 for unlimited)
          example: -1
        max_writes_per_second:
          type: integer
          description: Maximum write operations per second (rate limit)
          example: 1000
        max_query_per_second:
          type: integer
          description: Maximum query operations per second (rate limit)
          example: 1000
        max_reads_per_request:
          type: integer
          description: Maximum number of reads allowed per request
          example: 100
        max_writes_per_request:
          type: integer
          description: Maximum number of writes allowed per request
          example: 100
        creation_time:
          type: integer
          format: int64
          description: Unix timestamp of creation
          example: 1761200000
        input_enrichment_enabled:
          type: boolean
          description: Whether input enrichment is enabled for this index
          example: true
        throughput_vector:
          type: array
          items:
            $ref: '#/components/schemas/TimeSeriesData'
          description: Throughput metrics over time
          example:
            - x: 2025-10-23 20:54:00.000 +0000 UTC
              'y': 0
    TimeSeriesData:
      type: object
      properties:
        x:
          type: string
          description: Timestamp when measurement was taken
          example: 2023-05-22 10:59:23.426 +0000 UTC
        'y':
          type: number
          description: The measured value
          example: 320
      required:
        - x
        - 'y'
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````