Waiting for engine...
Skip to main content

aiAgentGuardrailDelete

Updated 

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.

Input Parameters:

  • id: ID! - Contains guardrail ID.

Response:

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

Example Request:

mutation DeleteAiAgentGuardrail {
aiAgentGuardrailDelete(id: "36583237-e5e1-4a12-b48c-f18e5a550724")
}

Example Response (success):


{
"data": {
"aiAgentGuardrailDelete": true
}
}

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 {#id}

Type​

Boolean scalar miscellaneous

The Boolean scalar type represents true or false.

On this Page