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
agentIdsis null, empty: Deletes all agent DRAFT associations - When
agentIdscontains specific IDs: - Removes only the specified associations, keeps the task.
- When
agentIdscontains 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.
Was this topic helpful?