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

# Get Download

> Create a short-lived signed URL for downloading one object from the addressed environment (production by default).



## OpenAPI

````yaml /openapi.json post /v1/orgs/{orgId}/projects/{projectId}/storage/downloads
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/projects/{projectId}/storage/downloads:
    post:
      tags:
        - storage
      summary: Get Download
      description: >-
        Create a short-lived signed URL for downloading one object from the
        addressed environment (production by default).
      operationId: storage.getDownload
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: The project's id (UUID) or slug — either form is accepted.
        - name: environment
          in: query
          required: false
          schema:
            type: string
            pattern: ^[a-z][a-z0-9-]{0,38}$
          description: >-
            Environment slug to scope this operation to. Defaults to
            "production". An environment that does not exist on the project
            answers 404. The key is resolved within the addressed environment's
            scope.
        - name: bucket
          in: query
          required: false
          schema:
            type: string
            pattern: ^[a-z][a-z0-9-]{1,61}$
          description: >-
            Bucket name to address (see buckets.list). The bucket must belong to
            this organization and be either an organization-level shared bucket
            or scoped to this project — any other name answers 404. Omitted, the
            operation addresses the project's original per-environment storage
            scope, exactly as before buckets existed; that legacy scope is
            separate from every named bucket, including the project's default
            bucket. With a bucket, the key is resolved within the bucket's own
            namespace.
      requestBody:
        required: true
        x-korve-max-bytes: 1048576
        content:
          application/json:
            schema:
              type: object
              properties:
                key:
                  type: string
                  description: Tenant-relative object key.
              required:
                - key
      responses:
        '200':
          description: Signed download.
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  expiresAt:
                    type: string
                    format: date-time
                required:
                  - url
                  - expiresAt
        '404':
          description: No such project, environment, or bucket in this organization.
        '422':
          description: Missing or invalid key.
      security:
        - apiKey: []
        - session: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: korve_api_key
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````