---
title: "Add Labels (POST)"
method: POST
path: "/v1/fileinfo/files/{fileId}/labels"
tags: ["Attributes"]
---

# Add Labels (POST)

`POST /v1/fileinfo/files/{fileId}/labels`

Add custom labels to a file for categorization, organization, and enhanced searchability within the Data Lake. Use this endpoint when you need to tag files for better organization and filtering.

## Path parameters

- `fileId` string, uuid, required

## Query parameters

- `noPropagate` boolean

## Headers

- `x-org-slug` string, required

## Request body

- object[]
  - `name` string, required
  - `value` string, required

## Response `200`

200

- object[]
  - `name` string
  - `value` string

## Other responses

- `401` — 401
- `404` — 404
- `500` — 500

---

[API](https://skmtc.net/tetrascience/apis/tetra-data-lake.md) · [All operations](https://skmtc.net/tetrascience/apis/tetra-data-lake/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tetrascience/tetra-data-lake/revisions/0205e2bace53/schema)
