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

# Get Content

> Get a single content by ID.

Returns detailed information about a specific content item including
metadata, file information, and processing status.

Args:
    content_id: The unique identifier for the content
    
Returns:
    Content details
    
Example:
    GET /contents/con_abc123xyz

Raises:
    404: If content not found or not accessible



## OpenAPI

````yaml api-reference/openapi.json get /api/v1/contents/{content_id}
openapi: 3.1.0
info:
  title: FastAPI app
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/contents/{content_id}:
    get:
      tags:
        - Contents
      summary: Get Content
      description: |-
        Get a single content by ID.

        Returns detailed information about a specific content item including
        metadata, file information, and processing status.

        Args:
            content_id: The unique identifier for the content
            
        Returns:
            Content details
            
        Example:
            GET /contents/con_abc123xyz

        Raises:
            404: If content not found or not accessible
      operationId: get_content_api_v1_contents__content_id__get
      parameters:
        - name: content_id
          in: path
          required: true
          schema:
            type: string
            title: Content Id
        - name: X-Workspace-Id
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: The workspace ID
            title: X-Workspace-Id
          description: The workspace ID
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - DualAuthScheme: []
components:
  schemas:
    ContentRead:
      properties:
        id:
          type: string
          title: Id
          description: Content ID
        name:
          type: string
          title: Name
          description: Content name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Content description
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
          description: Content metadata
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
          description: Content type/MIME type
        size:
          anyOf:
            - type: integer
            - type: 'null'
          title: Size
          description: Content size in bytes
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          description: Content processing status
        sync_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Sync Status
          description: Sync status
        status_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Status Message
          description: Status message
        content_hash:
          anyOf:
            - type: string
            - type: 'null'
          title: Content Hash
          description: Content hash
        file_data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: File Data
          description: File data information
        definition:
          anyOf:
            - type: string
            - type: 'null'
          title: Definition
          description: Content definition
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Created At
          description: Creation timestamp
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Updated At
          description: Update timestamp
        external_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Id
          description: External system ID
        collection_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Collection Id
          description: Collection ID
        workspace_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Id
          description: Workspace ID
        config:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Config
          description: Content configuration
        linked_to:
          anyOf:
            - type: string
            - type: 'null'
          title: Linked To
          description: Linked content ID
        access_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Access Count
          description: Number of times accessed
      type: object
      required:
        - id
        - name
      title: ContentRead
      description: Schema for reading content.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    DualAuthScheme:
      type: http
      scheme: bearer

````