Waiting for engine...
Skip to main content

aiAgentTaskDisassociation

Deletes AI Agent Task Associations from the AI Agent Registry.

Description: This mutation deletes task - agent DRAFT version associations based on the input parameters.

Deletion Logic:

  • When agentIds is null, empty: Deletes all agent DRAFT associations
  • When agentIds contains specific IDs:
  • Removes only the specified associations, keeps the task.
  • When agentIds contains invalid IDs: Returns error without making changes.

Parameters:

  • input: AiAgentTaskDisassociationInput! - Contains task identification and version filtering.

Returns:

  • Boolean - true if deletion/disassociation was successful, false otherwise.

Example Usage:

mutation {
aiAgentTaskDisassociation(input: {
id: "task-456"
agentIds: ["agent-guid-1", "agent-guid-2"]
})
}

Error Handling:

  • Validates task exists and belongs to provider account.
  • Validates agents exists and belongs to the same provider account
  • Returns descriptive error messages for invalid operations.
aiAgentTaskDisassociation: Boolean

Type

Boolean scalar miscellaneous

The Boolean scalar type represents true or false.

On this Page