Waiting for engine...
Skip to main content

aiAgentGuardrailDelete

Delete an AI Agent Guardrail from the AI Agent Registry.

Description: This mutation permanently removes an AI Agent Guardrail from the AI Agent Registry only if no associations exist.

Parameters:

  • id: ID! - Contains guardrail ID.

Returns:

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

Example Usage:

mutation {
aiAgentGuardrailDelete(id: "guardrail-123")
}

Error Handling:

  • Validates guardrail exists and belongs to provider account.
  • Returns error if guardrail has associations.
  • Returns descriptive error messages for invalid operations.
aiAgentGuardrailDelete(
id: ID!
): Boolean!

Arguments

aiAgentGuardrailDelete.id ● ID! non-null scalar miscellaneous

Type

Boolean scalar miscellaneous

The Boolean scalar type represents true or false.

On this Page