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

# Get file details

> Get details of a specific file



## OpenAPI

````yaml GET /files/{id}
openapi: 3.1.0
info:
  title: Null Drop API
  description: API do zarządzania plikami (upload, pobieranie, listowanie, usuwanie)
  version: 1.0.0
servers:
  - url: https://nulldrop.xyz/api/v1
security:
  - bearerAuth: []
paths:
  /files/{id}:
    get:
      summary: Get file details
      description: Get details of a specific file
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: File details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileResponse'
        '404':
          description: File not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    FileResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          $ref: '#/components/schemas/File'
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
    File:
      type: object
      properties:
        id:
          type: string
        filename:
          type: string
        originalName:
          type: string
        size:
          type: integer
        mimeType:
          type: string
        downloadUrl:
          type: string
        shareUrl:
          type: string
        downloadCount:
          type: integer
        uploadedAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        expiresAt:
          type:
            - string
            - 'null'
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````