Skip to main content
POST
Create a test case tag

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Maximum string length: 256
color
string
required
Maximum string length: 50
promptId
string<uuid>
required

Canvas the tag belongs to.

Response

The created tag.

id
string<uuid>
required
name
string
required
Maximum string length: 256
color
string
required
Maximum string length: 50
workspaceId
string<uuid>
required
promptId
string<uuid> | null

Canvas the tag belongs to. Always set for tags created through this API.

agentId
string<uuid> | null

Set instead of promptId for agent test case tags; always null here.

createdAt
string<date-time> | null
updatedAt
string<date-time> | null
deletedAt
string<date-time> | null