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

# Get Category



## OpenAPI

````yaml GET /evidences/{COMPANY_ID}/category/{CATEGORY_ID}
openapi: 3.0.0
info:
  title: TimeLockData API
  description: Public API for evidence management and blockchain traceability
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.timelockdata.com/api/v1
    description: Production
security: []
tags: []
paths:
  /evidences/{COMPANY_ID}/category/{CATEGORY_ID}:
    get:
      tags:
        - Evidence Management
      summary: Get a category by ID
      operationId: DigitalTwinController_getCategory
      parameters:
        - name: COMPANY_ID
          required: true
          in: path
          description: Company identifier
          schema:
            type: string
        - name: CATEGORY_ID
          required: true
          in: path
          description: Category identifier
          schema:
            type: string
      responses:
        '200':
          description: Category details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCategoryResponse'
      security:
        - APIKeyAuth: []
components:
  schemas:
    GetCategoryResponse:
      type: object
      properties:
        path:
          type: string
          description: Path of the category in the hierarchy
        name:
          type: string
          description: Name of the category
        status:
          type: string
          description: Current status of the category
        imageId:
          type: string
          description: ID of the category image stored in the database
        description:
          type: string
          description: Description of the category
        fileIds:
          description: Files associated with the category or subcategory
          type: array
          items:
            $ref: '#/components/schemas/BlockchainFile'
        digitalTwinsCount:
          type: number
          description: Number of evidences in this category
      required:
        - path
        - name
        - status
        - fileIds
        - digitalTwinsCount
    BlockchainFile:
      type: object
      properties:
        name:
          type: string
          description: Name of the file
        title:
          type: string
          description: Title or description of the file
        overlayId:
          type: string
          description: ID of the file in the overlay storage
        iconId:
          type: string
          description: ID of the icon to be displayed for this file
        mimeType:
          type: string
          description: MIME type of the file
        eventId:
          type: number
          description: Event version if the file is connected to an event
      required:
        - name
        - overlayId
        - mimeType
  securitySchemes:
    APIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````