---
title: "Get file metadata"
method: GET
path: "/api/v1/ackdb/files/{fileId}"
tags: ["ackDB"]
---

# Get file metadata

`GET /api/v1/ackdb/files/{fileId}`

## Request

- Base URL: `http://localhost:3009`
- URL: `http://localhost:3009/api/v1/ackdb/files/{fileId}`
- Auth: HTTP bearer

Get detailed metadata for a specific file, including AI-generated description and extracted text.

## Path parameters

- `fileId` string, required

## Response `200`

File metadata with description and extracted text.

- object
  - `data` AckdbFileMetadataDetail: Full file metadata including extracted text and content chunk link.
    - `id` string
    - `entityId` string
    - `eventId` string, nullable
    - `source` string
    - `fileName` string
    - `fileType` string
    - `fileSizeBytes` integer
    - `sourceFileId` string, nullable
    - `sourceUrl` string, nullable
    - `metadata` object
    - `description` string, nullable
    - `extractedText` string, nullable: Text extracted from the file (PDFs, docs)
    - `contentChunkId` string, nullable: ID of the entity_content embedding chunk
    - `processed` boolean
    - `processedAt` string, date-time, nullable
    - `createdAt` string, date-time

## Other responses

- `404`: File not found.

---

[API](https://skmtc.dev/floqer/apis/floqer-public-api.md) - [All operations](https://skmtc.dev/floqer/apis/floqer-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/floqer/apis/floqer-public-api/revisions/fce50dc07b20?raw)
