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

# Get Image Metadata



## OpenAPI

````yaml get /v1/file/{name}/metadata
openapi: 3.1.0
info:
  title: Noxus Backend
  description: >-
    Backend API for the Noxus Platform. More information can be found at
    https://docs.noxus.ai
  version: 1.1.0
servers: []
security: []
paths:
  /v1/file/{name}/metadata:
    get:
      tags:
        - V1 - Upload
      summary: Get Image Metadata
      operationId: get_image_metadata
      parameters:
        - name: name
          in: path
          required: true
          schema:
            type: string
            title: Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnedFile'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    OwnedFile:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        uri:
          type: string
          title: Uri
        size:
          type: number
          title: Size
        group_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Group Id
        filename:
          type: string
          title: Filename
        content_type:
          type: string
          title: Content Type
        source_type:
          $ref: '#/components/schemas/SourceType'
        source_metadata:
          anyOf:
            - $ref: '#/components/schemas/SourceMetadata'
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Source Metadata
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
      type: object
      required:
        - id
        - uri
        - size
        - filename
        - content_type
        - source_type
        - source_metadata
      title: OwnedFile
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SourceType:
      type: string
      enum:
        - Document
        - Google Drive
        - Notion
        - Website
        - OneDrive
        - Slack
        - Linear
        - Github
        - Teams
        - Sharepoint
        - ServiceNow
        - Custom
      title: SourceType
    SourceMetadata:
      properties:
        rel_path:
          anyOf:
            - type: string
            - type: 'null'
          title: Rel Path
        external_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Id
        file_created_date:
          anyOf:
            - type: string
            - type: 'null'
          title: File Created Date
        file_modified_date:
          anyOf:
            - type: string
            - type: 'null'
          title: File Modified Date
        original_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Original Url
        source_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Label
        source_image:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Image
      additionalProperties: true
      type: object
      title: SourceMetadata
      description: |-
        Base class for source metadata across different source types.

        ``external_id`` is the source's stable id for this item (Drive
        file id, OneDrive item id, URL for websites, etc.). Datasource
        ``download_file`` implementations stamp it explicitly, and the
        DB materialisation trigger projects it onto
        ``KnowledgeBaseDocument.m_source_external_id`` — which is the
        join key the KB sync engine uses to find existing docs by their
        source id.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````