---
title: "Create attribute"
method: POST
path: "/v1/agents/{agentId}/branches/{branchId}/attributes"
tags: ["Variants"]
---

# Create attribute

`POST /v1/agents/{agentId}/branches/{branchId}/attributes`

## Request body

- CreateAttributeBody
  - `name` string, required

## Response `201`

Created attribute

- AttributeResponse
  - `id` string, required
  - `name` string, required

---

[API](https://skmtc.net/poly/apis/polyai-agents-api.md) · [All operations](https://skmtc.net/poly/apis/polyai-agents-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/poly/polyai-agents-api/versions/76f3c606e395/schema)
