Waiting for engine...
Skip to main content

aiAgentGuardrails

Retrieve a list of AI Agent Guardrails available in the Registry account.

Description: This query returns a paginated list of AI Agent Guardrails.

Input Parameters (AiAgentGuardrailsQueryInput):

  • startIndex: Int - Zero-based page index for pagination (must not be negative). Default is 0
  • endIndex: Int - Number of items per page (must be greater than 0). Default is 50
  • providerAccountId: ID - Provider account ID to filter Guardrails. Only Guardrails associated with the specified provider account will be returned.

Response (AiAgentGuardrailsQueryResponse):

  • totalResults: Long - Total number of Guardrails available
  • currentPageSize: Int - Number of Guardrails in the current page
  • guardrails: [AiAgentGuardrail!] - Array of Guardrails

Example Request:

query {
aiAgentGuardrails(input: {
startIndex: 0,
endIndex: 20,
providerAccountId: "provider-account-guid"
}) {
totalResults
currentPageSize
guardrails {
id
externalId
externalVersion
name
description
configurationJson
status
tags {
id
key
value
}
agentVersions {
id
name
version
agentStatus
}
auditData {
createdByUserId
createdTime
modifiedByUserId
modifiedTime
}
}
}
}

aiAgentGuardrails(
input: AiAgentGuardrailsQueryInput
): AiAgentGuardrailsQueryResponse

Arguments

aiAgentGuardrails.input ● AiAgentGuardrailsQueryInput input agent-control-tower

Type

AiAgentGuardrailsQueryResponse object agent-control-tower

On this Page