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

# Get file details

> Get metadata for a specific tool file.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/dev/tools/files/{fileId}
openapi: 3.0.0
info:
  title: Autype Developer API
  description: >-
    Autype Developer API for programmatic document generation.


    ## Authentication

    All endpoints require an API key. Include it in the `X-API-Key` header or as
    a Bearer token.


    ## Rate Limiting

    API requests are rate-limited to 100 requests per minute per API key.


    ## Token Billing

    Rendering operations consume tokens from your organization's balance.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.autype.com
    description: Production
security: []
tags:
  - name: Temporary Images
    description: Upload and manage temporary images for document rendering
  - name: Render
    description: Render documents to PDF, DOCX, or ODT
  - name: Bulk Render
    description: Bulk document generation with variable substitution
  - name: Documents
    description: Document variable inspection
  - name: Projects
    description: List organization projects
paths:
  /api/v1/dev/tools/files/{fileId}:
    get:
      tags:
        - developer-api
      summary: Get file details
      description: Get metadata for a specific tool file.
      operationId: ToolsController_getFile_v1
      parameters:
        - name: fileId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: File details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolsFileResponseDto'
        '404':
          description: File not found
      security:
        - api-key: []
components:
  schemas:
    ToolsFileResponseDto:
      type: object
      properties:
        id:
          type: string
          description: File ID
          example: 550e8400-e29b-41d4-a716-446655440000
        filename:
          type: string
          description: Original filename
          example: document.pdf
        mimeType:
          type: string
          description: MIME type
          example: application/pdf
        sizeBytes:
          type: number
          description: File size in bytes
          example: 102400
        kind:
          type: string
          description: File kind (input or output)
          enum:
            - INPUT
            - OUTPUT
          example: INPUT
        sourceAction:
          type: object
          description: Source action (null for uploads, action name for outputs)
          nullable: true
          example: null
        expiresAt:
          format: date-time
          type: string
          description: Expiration timestamp
        createdAt:
          format: date-time
          type: string
          description: Upload timestamp
      required:
        - id
        - filename
        - mimeType
        - sizeBytes
        - kind
        - sourceAction
        - expiresAt
        - createdAt
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key (starts with ak_...)

````