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

# Import asset

> Make an asset from a file on the web: Rendermate downloads it from the URL, up to 5 GB, and records it under the name. Use it instead of upload_asset when the file has a URL. It answers with a running import; call get_import until its status is succeeded (with the asset) or failed (with why). A taken name is refused unless overwrite is set.

MCP tool: [`import_asset`](/mcp/tools/assets#import_asset).



## OpenAPI

````yaml /api/openapi.json post /v1/imports
openapi: 3.1.0
info:
  title: Rendermate API
  version: v1
servers:
  - url: https://api.rendermate.com
security:
  - api_key: []
tags:
  - name: Account
  - name: Workspaces
  - name: Projects
  - name: Documents
  - name: Links
  - name: Exports
  - name: Assets
  - name: Generations
  - name: Persons
  - name: Help
paths:
  /v1/imports:
    post:
      tags:
        - Assets
      summary: Import asset
      description: >-
        Make an asset from a file on the web: Rendermate downloads it from the
        URL, up to 5 GB, and records it under the name. Use it instead of
        upload_asset when the file has a URL. It answers with a running import;
        call get_import until its status is succeeded (with the asset) or failed
        (with why). A taken name is refused unless overwrite is set.


        MCP tool: [`import_asset`](/mcp/tools/assets#import_asset).
      operationId: import_asset
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              properties:
                content_type:
                  default: null
                  description: >-
                    Its content type; the server's, else guessed from the name's
                    extension, when absent.
                  type:
                    - string
                    - 'null'
                name:
                  description: >-
                    The asset's path in the workspace, such as
                    `launch/intro.mp4`.
                  type: string
                overwrite:
                  default: false
                  description: >-
                    Replace an asset already at this name. Without it, a name
                    that's taken is refused with

                    `asset.name_taken`, and so is one taken while the file
                    downloads.
                  type: boolean
                project_id:
                  default: null
                  description: >-
                    The project it belongs to; the workspace's default project
                    when absent.
                  type:
                    - string
                    - 'null'
                url:
                  description: >-
                    An http(s) URL on the public internet that Rendermate
                    downloads the file from, up to 5 GB.
                  type: string
              required:
                - name
                - url
              type: object
        required: true
      responses:
        '202':
          content:
            application/json:
              example:
                created_at: '2026-12-03T10:15:00Z'
                id: imp_01JF3R6H2C9D4F7G1J3K5M8N0P
                name: launch/b-roll/city.mp4
                status: running
                updated_at: '2026-12-03T10:15:00Z'
                url: https://example.com/footage/city.mp4
              schema:
                properties:
                  asset:
                    anyOf:
                      - $ref: '#/components/schemas/AssetView'
                      - type: 'null'
                    description: The asset, once it has succeeded.
                  created_at:
                    description: RFC 3339.
                    type: string
                  error:
                    description: Why it failed.
                    type:
                      - string
                      - 'null'
                  id:
                    description: '`imp_…`.'
                    type: string
                  name:
                    description: The asset it makes.
                    type: string
                  status:
                    description: '`running`, `succeeded` or `failed`.'
                    type: string
                  updated_at:
                    description: 'RFC 3339: when its status last changed.'
                    type: string
                  url:
                    description: Where it downloads the file from.
                    type: string
                required:
                  - id
                  - name
                  - url
                  - status
                  - created_at
                  - updated_at
                type: object
          description: Accepted
        '400':
          content:
            application/json:
              examples:
                invalid_request:
                  summary: invalid_request
                  value:
                    error:
                      code: invalid_request
                      doc_url: https://rendermate.com/docs/errors#invalid_request
                      message: url must be an http or https URL
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `invalid_request`: url must be an http or https URL'
        '401':
          content:
            application/json:
              examples:
                unauthorized:
                  summary: unauthorized
                  value:
                    error:
                      code: unauthorized
                      doc_url: https://rendermate.com/docs/errors#unauthorized
                      message: 'provide a valid API key: Authorization: Bearer sk_…'
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `unauthorized`: provide a valid API key: Authorization: Bearer
            sk_…
        '403':
          content:
            application/json:
              examples:
                key_without_workspace:
                  summary: key_without_workspace
                  value:
                    error:
                      code: key_without_workspace
                      doc_url: https://rendermate.com/docs/errors#key_without_workspace
                      message: >-
                        this API key has no workspace: create a key in the
                        dashboard, under api keys in the workspace it should act
                        in
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `key_without_workspace`: this API key has no workspace: create a
            key in the dashboard, under api keys in the workspace it should act
            in
        '404':
          content:
            application/json:
              examples:
                project.not_found:
                  summary: project.not_found
                  value:
                    error:
                      code: project.not_found
                      doc_url: https://rendermate.com/docs/errors#project.not_found
                      message: no such project in this workspace
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `project.not_found`: no such project in this workspace'
        '409':
          content:
            application/json:
              examples:
                asset.name_taken:
                  summary: asset.name_taken
                  value:
                    error:
                      code: asset.name_taken
                      doc_url: https://rendermate.com/docs/errors#asset.name_taken
                      message: an asset named "launch/intro.mp4" already exists
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `asset.name_taken`: an asset named "launch/intro.mp4" already
            exists
        '500':
          content:
            application/json:
              examples:
                internal:
                  summary: internal
                  value:
                    error:
                      code: internal
                      doc_url: https://rendermate.com/docs/errors#internal
                      message: internal error
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `internal`: internal error'
        '503':
          content:
            application/json:
              examples:
                temporal_unavailable:
                  summary: temporal_unavailable
                  value:
                    error:
                      code: temporal_unavailable
                      doc_url: https://rendermate.com/docs/errors#unavailable
                      message: >-
                        renders and exports are unavailable right now; try again
                        shortly
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `temporal_unavailable`: renders and exports are unavailable right
            now; try again shortly
components:
  schemas:
    AssetView:
      description: An asset as the api shows it.
      properties:
        content_type:
          description: Its media type, such as `video/mp4`.
          type: string
        created_at:
          description: RFC 3339.
          type: string
        created_by:
          description: The API key or member that recorded it.
          type: string
        download_url:
          description: A short-lived URL that downloads it, on a single asset's read.
          type:
            - string
            - 'null'
        name:
          description: Its path in the workspace, such as `launch/intro.mp4`.
          type: string
        project_id:
          description: The project it's in.
          type: string
        sha256:
          description: Its content's SHA-256, lowercase hex.
          type: string
        size:
          description: Bytes.
          format: uint64
          minimum: 0
          type: integer
        source:
          description: What it was made from; absent for an upload.
        updated_at:
          description: RFC 3339.
          type: string
      required:
        - name
        - sha256
        - size
        - content_type
        - project_id
        - created_by
        - created_at
        - updated_at
      type: object
    Error:
      properties:
        error:
          properties:
            code:
              description: Stable, such as `asset.name_taken` or `not_available`.
              type: string
            doc_url:
              description: The code's entry on the Errors page.
              type: string
            message:
              description: What went wrong and what to do next.
              type: string
            request_id:
              description: >-
                The request's ID, also in its `x-request-id` header. Quote it
                when you contact support.
              type: string
          required:
            - code
            - message
            - doc_url
            - request_id
          type: object
      required:
        - error
      type: object
  securitySchemes:
    api_key:
      description: >-
        An API key from the dashboard, such as `sk_live_…`. It acts in its
        workspace.
      scheme: bearer
      type: http

````

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