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

# Preview file share price

> Preview the billing price for a file share of the given type and size.



## OpenAPI

````yaml /api-reference/services_documented/cloud_api.yaml post /cloud/v1/pricing/{project_id}/{region_id}/file_shares
openapi: 3.1.0
info:
  title: Gcore OpenAPI – Cloud API
  description: >-
    This OpenAPI is an aggregated OpenAPI specification that unifies all Gcore
    products into a single file. It covers Cloud, CDN, DNS, WAAP, DDoS
    Protection, Object Storage, Streaming, and FastEdge services.
  version: '2026-05-07T20:33:46.548242+00:00'
servers:
  - url: https://api.gcore.com
security:
  - APIKey: []
tags:
  - name: Bare Metal
    x-displayName: Bare Metal
  - name: Container as a Service
    x-displayName: Container as a Service
  - name: Cost Reports
    x-displayName: Cost Reports
  - name: DDoS Protection
    x-displayName: DDoS Protection
  - name: Everywhere Inference
    x-displayName: Everywhere Inference
  - name: Everywhere Inference Apps
    x-displayName: Everywhere Inference Apps
  - name: File Shares
    x-displayName: File Shares
  - name: Floating IPs
    x-displayName: Floating IPs
  - name: Function as a Service
    x-displayName: Function as a Service
  - name: GPU Bare Metal
    x-displayName: GPU Bare Metal
  - name: GPU Virtual
    x-displayName: GPU Virtual
  - name: IP Ranges
    x-displayName: IP Ranges
  - name: Images
    x-displayName: Images
  - name: Instances
    x-displayName: Instances
  - name: Load Balancers
    x-displayName: Load Balancers
  - name: Logging
    x-displayName: Logging
  - name: Managed Kubernetes
    x-displayName: Managed Kubernetes
  - name: Managed PostgreSQL
    x-displayName: Managed PostgreSQL
  - name: Networks
    x-displayName: Networks
  - name: Placement Groups
    x-displayName: Placement Groups
  - name: Projects
    x-displayName: Projects
  - name: Quotas
    x-displayName: Quotas
  - name: Regions
    x-displayName: Regions
  - name: Registry
    x-displayName: Registry
  - name: Reservations
    x-displayName: Reservations
  - name: Reserved IPs
    x-displayName: Reserved IPs
  - name: Routers
    x-displayName: Routers
  - name: SSH Keys
    x-displayName: SSH Keys
  - name: Secrets
    x-displayName: Secrets
  - name: Security Groups
    x-displayName: Security Groups
  - name: Snapshot Schedules
    x-displayName: Snapshot Schedules
  - name: Snapshots
    x-displayName: Snapshots
  - name: Tasks
    x-displayName: Tasks
  - name: User Actions
    x-displayName: User Actions
  - name: User Role Assignments
    x-displayName: User Role Assignments
  - name: Volumes
    x-displayName: Volumes
paths:
  /cloud/v1/pricing/{project_id}/{region_id}/file_shares:
    post:
      tags:
        - File Shares
      summary: Preview file share price
      description: Preview the billing price for a file share of the given type and size.
      operationId: FileSharePricingHandler.post
      parameters:
        - in: path
          name: project_id
          required: true
          description: Project ID
          schema:
            description: Project ID
            example: 1
            examples:
              - 1
            format: int64
            title: Project Id
            type: integer
        - in: path
          name: region_id
          required: true
          description: Region ID
          schema:
            description: Region ID
            example: 1
            examples:
              - 1
            format: int64
            title: Region Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileSharePricingRequestSerializer'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemPriceResponseSerializer'
components:
  schemas:
    FileSharePricingRequestSerializer:
      example:
        size: 1000
        source: new-file-share
      examples:
        - size: 1000
          source: new-file-share
      properties:
        size:
          description: File share size in GiB
          title: Size
          type: integer
        source:
          $ref: '#/components/schemas/CreateFileShareSource'
          description: Only 'new-file-share'
        type_name:
          $ref: '#/components/schemas/FileShareStorageType'
          default: standard
          description: File share type
      required:
        - source
        - size
      title: FileSharePricingRequestSerializer
      type: object
    ItemPriceResponseSerializer:
      description: Response with prices per hour and per month
      example:
        currency_code: USD
        discount_percent: 0.16
        price_per_hour: 1
        price_per_month: 720
        price_status: show
        price_without_discount_per_month: 604.8
        tax_percent: 17
      examples:
        - currency_code: USD
          discount_percent: 0.16
          price_per_hour: 1
          price_per_month: 720
          price_status: show
          price_without_discount_per_month: 604.8
          tax_percent: 17
      properties:
        currency_code:
          anyOf:
            - enum:
                - AZN
                - EUR
                - USD
              type: string
            - type: 'null'
          description: Currency code (3 letter code per ISO 4217)
          title: Currency Code
        discount_percent:
          anyOf:
            - type: number
            - type: 'null'
          description: Actual discount relative value
          examples:
            - 0.16
          title: Discount Percent
        price_per_hour:
          anyOf:
            - type: number
            - type: 'null'
          description: Price of the item charged per hour
          examples:
            - 1
          title: Price Per Hour
        price_per_month:
          anyOf:
            - type: number
            - type: 'null'
          description: Price of the item charged per month
          examples:
            - 720
          title: Price Per Month
        price_status:
          $ref: '#/components/schemas/PriceDisplayStatus'
          description: Price status for the UI
          examples:
            - show
        price_without_discount_per_month:
          anyOf:
            - type: number
            - type: 'null'
          description: Total price VAT inclusive per month without discount
          examples:
            - 604.8
          title: Price Without Discount Per Month
        tax_percent:
          description: Tax rate applied to the subtotal, represented as a percentage
          example: 0
          examples:
            - 0
            - 17
            - 12
          title: Tax Percent
          type: number
      required:
        - currency_code
        - price_per_hour
        - price_per_month
        - price_without_discount_per_month
        - discount_percent
        - price_status
        - tax_percent
      title: ItemPriceResponseSerializer
      type: object
    CreateFileShareSource:
      enum:
        - new-file-share
      title: CreateFileShareSource
      type: string
    FileShareStorageType:
      enum:
        - standard
        - vast
      title: FileShareStorageType
      type: string
    PriceDisplayStatus:
      enum:
        - error
        - hide
        - show
      title: PriceDisplayStatus
      type: string
  securitySchemes:
    APIKey:
      description: >-
        API key for authentication. Make sure to include the word `apikey`,
        followed by a single space and then your token.

        Example: `apikey 1234$abcdef`
      type: apiKey
      in: header
      name: Authorization

````