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

# Download prepared archive

> Requires a valid token for this workspace and the current account’s Studio permissions. Background archives and a working queue must be configured.



## OpenAPI

````yaml /api/openapi.json get /workspaces/{workspace}/archive-jobs/{job}/result
openapi: 3.1.0
info:
  title: FLEX Media Studio REST API
  version: 1.0.0
  description: >-
    Workspace-scoped API for self-hosted FLEX Media Studio. Set the server URL
    to your own application before sending requests.
servers:
  - url: https://your-app.example/media-studio/rest/v1
    description: Replace with your own Studio installation.
security:
  - studioToken: []
paths:
  /workspaces/{workspace}/archive-jobs/{job}/result:
    get:
      tags:
        - Downloads
      summary: Download prepared archive
      description: >-
        Requires a valid token for this workspace and the current account’s
        Studio permissions. Background archives and a working queue must be
        configured.
      operationId: archiveResult
      parameters:
        - name: workspace
          in: path
          required: true
          schema:
            type: string
            pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
            example: 01M6TF7X1MD67JKPT1BRPZSAJ6
        - name: job
          in: path
          required: true
          schema:
            type: string
            pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
            example: 01M6TF7X1MD67JKPT1BRPZSAJ6
      responses:
        '200':
          description: Successful response.
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Token missing, invalid, revoked or expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            Token scope or current account permissions do not allow this
            operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource unavailable in this token’s workspace and tenant.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Revision or state conflict.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Request rate exceeded; respect Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              schema:
                type: string
              description: Seconds before retrying.
components:
  schemas:
    Error:
      type: object
      properties:
        message:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
  securitySchemes:
    studioToken:
      type: http
      scheme: bearer
      description: >-
        A workspace API token created in AI → API & SDK. This is not an MCP
        token.

````

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