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

# Download through a signed link

> Needs no token: the link's `t` parameter is the credential. Answers 403 for a link that's altered or expired, and 410 once the artifact has expired or been deleted.



## OpenAPI

````yaml /api-reference/openapi.json get /a/{id}
openapi: 3.1.0
info:
  title: envlink API
  version: 1.0.0
  description: >-
    Lease build environments, wire them to your sandbox, and keep snapshots and
    artifacts.
servers:
  - url: https://envlink-api.projectinwork.com
security:
  - bearerAuth: []
tags:
  - name: Environments
  - name: Templates
  - name: Sandboxes
  - name: Snapshots
  - name: Artifacts
  - name: Projects
  - name: Tokens
  - name: Usage
  - name: Account
paths:
  /a/{id}:
    get:
      tags:
        - Artifacts
      summary: Download through a signed link
      description: >-
        Needs no token: the link's `t` parameter is the credential. Answers 403
        for a link that's altered or expired, and 410 once the artifact has
        expired or been deleted.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The artifact's ID.
        - name: t
          in: query
          required: true
          schema:
            type: string
          description: The link's signature.
      responses:
        '200':
          description: The content, as an attachment
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '403':
          description: An altered or expired link
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '410':
          description: The artifact is gone
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: What went wrong, for people.
        code:
          type: string
          description: >-
            A machine-readable code, when there is one: quota, no_template,
            not_found, …
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A CLI token or an organization API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.