> ## 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.

# Get generation

> Get a generation's status, and once it's done, the assets it made. While it's running, call again a little later.

MCP tool: [`get_generation`](/mcp/tools/generations#get_generation).



## OpenAPI

````yaml /api/openapi.json get /v1/generations/{generation_id}
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/generations/{generation_id}:
    get:
      tags:
        - Generations
      summary: Get generation
      description: >-
        Get a generation's status, and once it's done, the assets it made. While
        it's running, call again a little later.


        MCP tool: [`get_generation`](/mcp/tools/generations#get_generation).
      operationId: get_generation
      parameters:
        - description: The generation, from create_generation.
          in: path
          name: generation_id
          required: true
          schema:
            description: The generation, from create_generation.
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                created_at: '2026-12-03T10:15:00Z'
                error: null
                id: gen_01JF3R9K4D2F6H8J1M3N5Q7S9T
                inputs:
                  - asset: launch/stills/skyline.jpg
                    role: first_frame
                    sha256: >-
                      9f2c4e1a7b3d5f8e0c6a2b4d8f1e3c5a7b9d0f2e4c6a8b1d3f5e7c9a0b2d4f6e
                model: bytedance/seedance-2.5
                output: generations/gen_01JF3R9K4D2F6H8J1M3N5Q7S9T/
                outputs:
                  - asset: generations/gen_01JF3R9K4D2F6H8J1M3N5Q7S9T/video.mp4
                    content_type: video/mp4
                    role: video
                    size: 18432311
                params:
                  duration: 5
                  resolution: 1080p
                project_id: prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V
                prompt: A slow aerial shot over a city at dawn
                provider: byteplus
                status: succeeded
                updated_at: '2026-12-03T10:16:42Z'
                usage:
                  quantity: 108900
                  unit: completion_tokens
              schema:
                properties:
                  created_at:
                    description: RFC 3339.
                    type: string
                  error:
                    description: Why it failed.
                    type:
                      - string
                      - 'null'
                  id:
                    description: '`gen_…`.'
                    type: string
                  inputs:
                    description: The assets it was given.
                    items:
                      $ref: '#/components/schemas/InputView'
                    type: array
                  model:
                    description: The model it uses, `author/model`.
                    type: string
                  output:
                    description: Where its files are saved.
                    type: string
                  outputs:
                    description: The assets it made, once it has succeeded.
                    items:
                      $ref: '#/components/schemas/OutputView'
                    type: array
                  params:
                    description: >-
                      The model's parameters it was given, as the model's
                      `params` schema describes them.
                  project_id:
                    description: The project its assets go in.
                    type: string
                  prompt:
                    description: The prompt it was given, when it was given one.
                    type:
                      - string
                      - 'null'
                  provider:
                    description: The provider that served it, once one has.
                    type:
                      - string
                      - 'null'
                  status:
                    description: '`running`, `succeeded`, `failed` or `cancelled`.'
                    type: string
                  updated_at:
                    description: 'RFC 3339: when its status last changed.'
                    type: string
                  usage:
                    anyOf:
                      - $ref: '#/components/schemas/UsageView'
                      - type: 'null'
                    description: >-
                      What the provider reported using, once it has succeeded,
                      or once a cancelled one's task

                      has ended (none used when the provider stopped it in
                      time).
                required:
                  - id
                  - model
                  - status
                  - provider
                  - prompt
                  - inputs
                  - params
                  - output
                  - outputs
                  - usage
                  - error
                  - project_id
                  - created_at
                  - updated_at
                type: object
          description: OK
        '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:
                not_found:
                  summary: not_found
                  value:
                    error:
                      code: not_found
                      doc_url: https://rendermate.com/docs/errors#not_found
                      message: >-
                        no generation gen_01JF3R9K4D2F6H8J1L3N5Q7S9T in this
                        workspace
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `not_found`: no generation gen_01JF3R9K4D2F6H8J1L3N5Q7S9T in this
            workspace
        '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:
    InputView:
      properties:
        asset:
          description: The asset's name.
          type: string
        person:
          description: The person it shows.
          type:
            - string
            - 'null'
        role:
          description: >-
            What the model uses it as, one of the model's `inputs` roles, such
            as `first_frame`.
          type: string
        sha256:
          description: >-
            The content it used, which stays the same if the asset changes
            later.
          type: string
      required:
        - asset
        - role
        - sha256
      type: object
    OutputView:
      properties:
        asset:
          description: The asset it was saved as.
          type: string
        content_type:
          description: The asset's media type, such as `video/mp4`.
          type: string
        role:
          description: Such as `video`, `last_frame`, `transcript`, `matte` or `cutout`.
          type: string
        size:
          description: Bytes.
          format: uint64
          minimum: 0
          type: integer
      required:
        - role
        - asset
        - content_type
        - size
      type: object
    UsageView:
      properties:
        quantity:
          description: How much, in `unit`s.
          format: double
          type: number
        unit:
          description: Such as `completion_tokens`, `audio_seconds` or `frames`.
          type: string
      required:
        - quantity
        - unit
      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.