Waiting for engine...
Skip to main content

aiAgentAddTags

Add AI Agent tags to the AI Agent Registry, allowing for the management and organization of tags associated with AI Agents.

Description: This mutation adds the tags associated with AI Agents in the user's authenticated account, enabling better categorization and retrieval based on specified input criteria.

Input Parameters (AiAgentTagMutationInput):

  • tags: [AiAgentTagMutationDataInput!] - Array of tag mutation entries to apply. Each entry contains:
    • relatedEntityRefId: AiEntityMutationReferenceIdInput - The unique identifier of the entity (e.g. agent version) the tags are associated with.
    • relatedEntityType: AiRegistryEntityType - Entity Type based on Provider to which the tags should be associated.
    • tags: [AiAgentTagInput!] - Array of tags to add.

Response (AiAgentTagMutationOutput):

  • tags: [AiAgentTagMutationDataOutput] - Array of tag mutation results, one per input entry.

Example Request:

mutation AddAiAgentTags {
aiAgentAddTags(input: {
tags: [
{
relatedEntityType: VERSION,
relatedEntityRefId: {
id: "fd005da0-0e8b-47dc-88b4-00000000af4d"
},
tags: [
{
key: "tag1"
},
{
key: "tag2"
}
]
}
]
}) {
tags {
relatedEntityRefId
relatedEntityType
tags {
id
key
value
}
}
}
}

Example Response (success):


{
"data": {
"aiAgentAddTags": {
"tags": [
{
"relatedEntityRefId": "fd005da0-0e8b-47dc-88b4-00000000af4d",
"relatedEntityType": "VERSION",
"tags": [
{ "id": "6f9fe561-2381-488a-92ca-0b79f1c52316", "key": "tag1", "value": null },
{ "id": "bf5212f8-10fd-440e-9e95-98d758b0255e", "key": "tag2", "value": null }
]
}
]
}
}
}

aiAgentAddTags(
input: AiAgentTagMutationInput
): AiAgentTagMutationOutput

Arguments​

aiAgentAddTags.input ● AiAgentTagMutationInput input agent-control-tower {#input}

Type​

AiAgentTagMutationOutput object agent-control-tower

On this Page