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

# Retrieve size

> Given the blob storage uri for an output in Flyte, retrieves the size of the content.



## OpenAPI

````yaml /api-specs/6.3/flyte-extensions-api.json get /artifacts/v1/blobs/size
openapi: 3.1.0
info:
  contact:
    email: support@dominodatalab.com
    name: Domino Data Lab
    url: https://tickets.dominodatalab.com/hc/en-us
  description: "\n\tAdds a number of extended operations to Flyte in support of retrieving artifact\n\tmetadata and bookmarking artifacts from individual executions."
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: >-
    https://tickets.dominodatalab.com/hc/en-us/articles/360060058871-Service-Level-Agreement
  title: Flyte HTTP Gateway
  version: '0.1'
servers:
  - description: >-
      Replace 'mycluster.domino.tech' with your Domino cluster hostname. For
      Domino Cloud customers, that is `your-subdomain`.domino.tech (e.g.,
      acme.domino.tech). For self-hosted deployments, it is the hostname you
      reach the Domino UI at.
    url: https://mycluster.domino.tech/flows/api
security: []
tags:
  - name: Artifacts
  - name: Blob
  - name: Bookmarks
  - name: Execution
  - name: Exports
paths:
  /artifacts/v1/blobs/size:
    get:
      tags:
        - Blob
      summary: Retrieve size
      description: >-
        Given the blob storage uri for an output in Flyte, retrieves the size of
        the content.
      operationId: artifacts-blobs-size
      parameters:
        - description: Blob storage path from Flyte a format like s3://bucket/path
          explode: false
          in: query
          name: native_url
          required: true
          schema:
            $ref: '#/components/schemas/URL'
            description: Blob storage path from Flyte a format like s3://bucket/path
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlobSize'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
components:
  schemas:
    URL:
      format: uri
      type: string
    BlobSize:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/BlobSize.json
          format: uri
          readOnly: true
          type: string
        size_bytes:
          description: Size of a blob in bytes
          format: int64
          type: integer
      required:
        - size_bytes
      type: object
    ErrorModel:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/ErrorModel.json
          format: uri
          readOnly: true
          type: string
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object

````

## Related topics

- [Size the infrastructure](/6.3/admin/architecture-and-deployment/sizing-the-infrastructure/index.md)
- [Retrieve contents](/6.3/api-reference/blob/retrieve-contents.md)
- [Size the Domino Platform](/6.3/admin/architecture-and-deployment/sizing-the-infrastructure/size-the-domino-platform/index.md)
- [Size the data plane agent](/6.3/admin/architecture-and-deployment/sizing-the-infrastructure/size-data-plane-agent.md)
