---
title: "Create project_tag"
method: POST
path: "/v1/project_tag"
tags: ["ProjectTags"]
---

# Create project_tag

`POST /v1/project_tag`

Create a new project_tag. If there is an existing project_tag in the project with the same name as the one specified in the request, will return the existing project_tag unmodified

## Request body

- CreateProjectTag
  - `project_id` string, uuid, required — Unique identifier for the project that the project tag belongs under
  - `name` string, required — Name of the project tag
  - `description` string, nullable — Textual description of the project tag
  - `color` string, nullable — Color of the tag for the UI

## Response `200`

Returns the new project_tag object

- ProjectTag — A project tag is a user-configured tag for tracking and filtering your experiments, logs, and other data
  - `id` string, uuid, required — Unique identifier for the project tag
  - `project_id` string, uuid, required — Unique identifier for the project that the project tag belongs under
  - `user_id` string, uuid, required
  - `created` string, date-time, nullable — Date of project tag creation
  - `name` string, required — Name of the project tag
  - `description` string, nullable — Textual description of the project tag
  - `color` string, nullable — Color of the tag for the UI

## Other responses

- `400` — The request was unacceptable, often due to missing a required parameter
- `401` — No valid API key provided
- `403` — The API key doesn’t have permissions to perform the request
- `429` — Too many requests hit the API too quickly. We recommend an exponential backoff of your requests
- `500` — Something went wrong on Braintrust's end. (These are rare.)

## Changes

- **2024-09-30** `ac2727014d93` — 5 breaking
  - the response's body became nullable
  - the response's body became nullable
  - the response's body became nullable
  - the response's body became nullable
  - …1 more
- **2024-07-23** `9eeeeb30b963` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/braintrustdata/apis/braintrust-api/changes/v1/project_tag/post.md)

---

[API](https://skmtc.dev/braintrustdata/apis/braintrust-api.md) · [All operations](https://skmtc.dev/braintrustdata/apis/braintrust-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/braintrustdata/braintrust-api/revisions/9d216c8243fe/schema)
