Waiting for engine...
Skip to main content

aiAgentTaskUpdate

Update an existing AI Agent Task in the AI Agent Registry.

Description: This mutation updates an existing AI Agent Task associated with the authenticated user's account.

Input Parameters (AiAgentTaskUpdateInput):

  • id: ID! - Required. ID of the AI Agent Task to be updated.
  • name: String - Optional. Name of the AI agent task.
  • externalId: String - Optional. External ID of the AI agent task if available.
  • description: String - Optional. Description of the AI agent task.
  • taskStatus: AiAgentTaskStatus - Optional. Status of the task.
  • taskMetaData: String - Optional. Additional task information in JSON format.
  • agentVersionIds: [ID!] - Optional. List of AI Agent Version IDs to associate with this task.
  • agentToolIds: [ID!] - Optional. List of AI Agent Tool IDs associated with this task.
  • updatedByOrigin: AiAgentOriginType - Optional. AI Agent Origin Type, either PROVIDER or REGISTRY.
  • updatedAtProviderTime: DateTime - Optional. The timestamp when the task update is called at the provider side.
  • tags: [AiAgentTagInput!] - Optional. Tags for categorization.

Response:

  • Returns the updated AiAgentTask object.

Example Request:

mutation UpdateAiAgentTask {
aiAgentTaskUpdate(input: {
id: "task-123",
name: "Updated Data Processing Task",
description: "Updated task for processing data inputs for AI agents.",
taskStatus: RUNNING,
taskMetaData: "{ \"priority\": \"medium\", \"category\": \"data-processing\" }",
agentVersionIds: ["version-123", "version-789"],
agentToolIds: ["tool-345", "tool-678"],
updatedByOrigin: REGISTRY,
updatedAtProviderTime: "2024-01-20T10:30:00Z",
tags: [{
key: "category"
value: "updated-data-processing"
}]
}) {
id
externalId
name
description
version
taskStatus
metaData
agentVersions {
id
name
version
}
tools {
id
name
description
}
tags {
id
key
value
}
auditData {
createdByUserId
createdTime
modifiedByUserId
modifiedTime
createdByOrigin
updatedByOrigin
updatedAtProviderTime
}
}
}

aiAgentTaskUpdate(
input: AiAgentTaskUpdateInput!
): AiAgentTask

Arguments

aiAgentTaskUpdate.input ● AiAgentTaskUpdateInput! non-null input agent-control-tower

Type

AiAgentTask object agent-control-tower

On this Page