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

# Get frame image

> The image of one scene shot or key frame from a ready analysis. Use the `url` of a frame in the analysis's `result.frames`, with your API key. Doesn't count toward your rate limits.



## OpenAPI

````yaml GET /video_analyses/{id}/frames/{n}
openapi: 3.0.1
info:
  title: Growi API
  description: >-
    API documentation for Growi platform, showcasing the public tracking event
    endpoint
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.growi.io/api/public/v1
security:
  - bearerAuth: []
paths:
  /video_analyses/{id}/frames/{n}:
    get:
      summary: Get frame image
      description: >-
        The image of one scene shot or key frame from a ready analysis. Use the
        `url` of a frame in the analysis's `result.frames`, with your API key.
        Doesn't count toward your rate limits.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: 'n'
          in: path
          required: true
          schema:
            type: integer
          description: The frame's `n` from `result.frames`, as plain digits
      responses:
        '200':
          description: >-
            The image bytes. `Content-Type` gives the image type, usually
            `image/jpeg`, with `Cache-Control: private, max-age=3600`
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiCodedError'
        '403':
          description: >-
            The key is read-only (viewer), wasn't created by a user, or its user
            was deleted. Use a full-access key created by a user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiCodedError'
        '404':
          description: >-
            `not_found`: no analysis with this id in your organization, no frame
            `n` in its result, or `n` isn't plain digits (such as `-1` or
            `abc`). A malformed `n` is a 404 even after the images have expired
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                  - error
        '410':
          description: >-
            `frames_expired`: the images are past their 30 days, or this frame
            is no longer stored. Once the analysis's images have expired, any
            frame number written as digits answers 410. The rest of the result
            stays readable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                  - error
        '502':
          description: '`frame_unavailable`: the image couldn''t be read right now. Retry'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                  - error
components:
  schemas:
    ApiCodedError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: What went wrong
        code:
          type: string
          description: >-
            Machine-readable error code. Missing on authentication and
            rate-limit errors
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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