Skip to main content
GET
/
projects
/
{project_reference}
/
branches
/
{branchName}
/
files
/
{filePath}
/
chunks
/
{chunkId}
Get Branch File Chunk
curl --request GET \
  --url https://api.veryfront.com/projects/{project_reference}/branches/{branchName}/files/{filePath}/chunks/{chunkId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "file_path": "<string>",
  "file_id": "<string>",
  "file_version_id": "<string>",
  "index": 123,
  "content": "<string>",
  "start_offset": 123,
  "end_offset": 123,
  "token_count": 123,
  "source_checksum": "<string>",
  "created_at": "<string>",
  "metadata": {},
  "embedding": {
    "id": "<string>",
    "model": "<string>",
    "status": "ready"
  }
}

Authorizations

Authorization
string
header
required

Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.

Path Parameters

project_reference
string
required
branchName
string
required
filePath
string
required
chunkId
string<uuid>
required

Query Parameters

include_embedding
boolean
default:false

Response

Chunk

id
string
required
file_path
string
required
file_id
string
required
file_version_id
string
required
index
number
required
content
string
required
start_offset
number
required
end_offset
number
required
token_count
number
required
source_checksum
string
required
created_at
string
required
metadata
object
embedding
object