Create Tag

Create a new tag.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Creates a tag with a name and a color.

When to use it

Use it to set up a grouping, such as a project, team, or use case, before you add the tag to resources such as agents, guardrails, datasets, dashboards, or policies.

Required parameters

  • name (body): the tag name, 1 to 50 characters.
  • color (body): a six-digit hex color, such as #157ECB.

Response

A successful call returns 201 Created with the Tag object: id, name, color, created_by, and timestamps.

Related: List tags, Add tags to an agent, Update a tag, Delete a tag

Body Params
string
required
length between 1 and 50
string
required
^#[0-9A-Fa-f]{6}$
Responses

401

Unauthorized

422

Unprocessable Entity

500

Internal Server Error

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json