Skip to main content
POST
Create an agent tag

Authorizations

Authorization
string
header
required

JWT token from Clerk authentication.

Must be from a user with org:admin role.

Body

application/json
name
string
required

Tag name (1–50 characters)

Required string length: 1 - 50
Example:

"Production"

Response

Tag created (or existing tag returned)

id
integer
required

Unique tag identifier

Example:

1

name
string
required

Tag name

Example:

"Production"

organizationId
string
required

Organization the tag belongs to

Example:

"org_xxx"

createdBy
string
required

Clerk user ID of the tag creator

Example:

"user_2ABC123DEF"

createdAt
string<date-time>
required
Example:

"2024-01-15T10:30:00.000Z"

updatedAt
string<date-time>
required
Example:

"2024-01-15T10:30:00.000Z"