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

# Get Vector Backend Usage

> Get vector backend usage breakdown.

Returns usage dimensions (vectors stored, storage, queries, writes) and
cost breakdown for the tenant's active vector backend. Works for all
backends: qdrant, mvs, and dual_write.

**Requirements:**
- Read permission



## OpenAPI

````yaml get /v1/organizations/billing/usage/vector-backend
openapi: 3.1.0
info:
  title: Mixpeek API
  description: >-
    This is the Mixpeek API, providing access to various endpoints for data
    processing and retrieval.
  termsOfService: https://mixpeek.com/terms
  contact:
    name: Mixpeek Support
    url: https://mixpeek.com/contact
    email: info@mixpeek.com
  version: '0.82'
servers:
  - url: https://api.mixpeek.com
    description: Production
security: []
paths:
  /v1/organizations/billing/usage/vector-backend:
    get:
      tags:
        - Organization Billing
      summary: Get Vector Backend Usage
      description: |-
        Get vector backend usage breakdown.

        Returns usage dimensions (vectors stored, storage, queries, writes) and
        cost breakdown for the tenant's active vector backend. Works for all
        backends: qdrant, mvs, and dual_write.

        **Requirements:**
        - Read permission
      operationId: >-
        get_vector_backend_usage_v1_organizations_billing_usage_vector_backend_get
      parameters:
        - name: billing_month
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Billing month in YYYY-MM format (defaults to current month)
            examples:
              - 2026-05
            title: Billing Month
          description: Billing month in YYYY-MM format (defaults to current month)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VectorBackendUsageResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    VectorBackendUsageResponse:
      properties:
        vector_backend:
          type: string
          title: Vector Backend
          description: Active vector backend for this tenant
          examples:
            - mvs
        billing_month:
          type: string
          title: Billing Month
          description: Billing month (YYYY-MM)
          examples:
            - 2026-05
        namespace_count:
          type: integer
          title: Namespace Count
          description: Number of namespaces billed
        vectors_stored:
          type: integer
          title: Vectors Stored
          description: Total vectors stored across all namespaces
        storage_bytes:
          type: integer
          title: Storage Bytes
          description: Total storage bytes
        queries:
          type: integer
          title: Queries
          description: Total search queries in billing period
        writes:
          type: integer
          title: Writes
          description: Total writes in billing period
        cost_breakdown:
          $ref: '#/components/schemas/VectorUsageBreakdown'
          description: Detailed cost breakdown
        total_credits:
          type: integer
          title: Total Credits
          description: Total credits for vector backend usage
        total_cost_usd:
          type: number
          title: Total Cost Usd
          description: Total cost in USD
      type: object
      required:
        - vector_backend
        - billing_month
        - namespace_count
        - vectors_stored
        - storage_bytes
        - queries
        - writes
        - cost_breakdown
        - total_credits
        - total_cost_usd
      title: VectorBackendUsageResponse
      description: Response with vector backend usage details.
    ErrorResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Always false for error responses
          default: false
        status:
          type: integer
          title: Status
          description: HTTP status code for this error
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: Error details payload
      type: object
      required:
        - status
        - error
      title: ErrorResponse
      description: Error response model.
      examples:
        - error:
            details:
              id: ns_123
              resource: namespace
            message: Namespace not found
            type: NotFoundError
          status: 404
          success: false
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VectorUsageBreakdown:
      properties:
        backend:
          type: string
          title: Backend
          description: 'Vector backend: qdrant, mvs, or dual_write'
          examples:
            - mvs
        vector_storage_usd:
          type: number
          title: Vector Storage Usd
          description: Raw cost for vector storage
        data_storage_usd:
          type: number
          title: Data Storage Usd
          description: Raw cost for data storage (GCS/S3)
        query_usd:
          type: number
          title: Query Usd
          description: Raw cost for search queries
        write_usd:
          type: number
          title: Write Usd
          description: Raw cost for writes/upserts
        total_usd:
          type: number
          title: Total Usd
          description: Total cost after overhead and margin
        total_credits:
          type: integer
          title: Total Credits
          description: Total credits for vector backend usage
      type: object
      required:
        - backend
        - vector_storage_usd
        - data_storage_usd
        - query_usd
        - write_usd
        - total_usd
        - total_credits
      title: VectorUsageBreakdown
      description: Cost breakdown for vector backend usage.
    ErrorDetail:
      properties:
        message:
          type: string
          title: Message
          description: Human-readable error message
        type:
          type: string
          title: Type
          description: Stable error type identifier (machine-readable)
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
          description: >-
            Fine-grained error code for programmatic handling (e.g.,
            namespace_name_taken, feature_extractor_not_found). Present only
            when consumers may need to branch on a specific error condition.
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
          description: >-
            Optional structured details to help debugging (validation errors,
            IDs, etc.)
      type: object
      required:
        - message
        - type
      title: ErrorDetail
      description: Error detail model.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````