Skip to main content
POST
/
api
/
v1
/
execution-tags
/
many
Create multiple execution tags
curl --request POST \
  --url https://api.mentionlab.io/api/v1/execution-tags/many \
  --header 'Content-Type: application/json' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "tags": [
    {
      "name": "important",
      "color": "#3B82F6"
    },
    {
      "name": "archived",
      "color": "#9CA3AF"
    }
  ]
}
'
[
  {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "project": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
    "name": "important",
    "color": "#3B82F6"
  }
]

Headers

x-project-id
string
required

Project ID to specify the project context

Body

application/json
tags
object[]
required

List of tag job executions to create in a single batch. Must contain at least one item; each entry is validated individually.

Example:
[
{ "name": "important", "color": "#3B82F6" },
{ "name": "archived", "color": "#9CA3AF" }
]

Response

id
string
required

Unique identifier for the tag

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

project
object
required

The project this tag belongs to

Example:

"a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"

name
string
required

Name of the tag

Example:

"important"

color
string
required

Color of the tag in hex format

Example:

"#3B82F6"