---
title: "Get Image Metadata"
method: GET
path: "/v1/file/{name}/metadata"
tags: ["V1 - Upload"]
---

# Get Image Metadata

`GET /v1/file/{name}/metadata`

## Request

- Base URL: `https://api.app.noxus.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.app.noxus.ai/v1/file/{name}/metadata`
- Auth: API key in header `X-API-Key`

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- OwnedFile
  - `id` string, uuid, required
  - `uri` string, required
  - `size` number, required
  - `group_id` string, uuid, nullable
  - `filename` string, required
  - `content_type` string, required
  - `source_type` 'Document' | 'Google Drive' | 'Notion' | 'Website' | 'OneDrive' | 'Slack' | 'Linear' | 'Github' | 'Teams' | 'Sharepoint' | 'ServiceNow' | 'Custom', required
  - `source_metadata` union, required
    - SourceMetadata: 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.
      - `rel_path` string, nullable
      - `external_id` string, nullable
      - `file_created_date` string, nullable
      - `file_modified_date` string, nullable
      - `original_url` string, nullable
      - `title` string, nullable
      - `source_label` string, nullable
      - `source_image` string, nullable
    - object
  - `created_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/noxus/apis/noxus-backend.md) - [All operations](https://skmtc.dev/noxus/apis/noxus-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/noxus/apis/noxus-backend/revisions/0e37810b7ad5?raw)
