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

# Download a shared file output

> Authorize each request and stream only the exact artifact file. Existing issued bearer URLs retain their original lifetime.



## OpenAPI

````yaml https://api.tembo.io/public-api/openapi/public get /v1/artifacts/{artifactId}/content
openapi: 3.1.0
info:
  title: Tembo Public API
  description: >-
    Manage automations, sessions, repositories, and organization resources with
    the Tembo API.
  version: 1.0.0
servers:
  - url: https://api.tembo.io
    description: Tembo API
  - url: https://{deployment-origin}/api/public-api
    description: Self-hosted Tembo
    variables:
      deployment-origin:
        default: tembo.example.com
        description: Hostname of your self-hosted Tembo deployment
security: []
paths:
  /v1/artifacts/{artifactId}/content:
    get:
      tags:
        - Artifacts
      summary: Download a shared file output
      description: >-
        Authorize each request and stream only the exact artifact file. Existing
        issued bearer URLs retain their original lifetime.
      operationId: downloadArtifactOutput
      parameters:
        - in: path
          name: artifactId
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          required: true
      responses:
        '200':
          description: File bytes
        '206':
          description: Partial file bytes
        '404':
          description: File not found
      security:
        - apiKey: []
      x-codeSamples:
        - lang: typescript
          label: TypeScript SDK
          source: >
            import Tembo from '@tembo-io/sdk';


            const client = new Tembo();


            const response = await
            client.artifacts.downloadOutput('7c9e6679-7425-40de-944b-e07fc1f90ae7').asResponse();

            const bytes = await response.arrayBuffer();
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````

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