v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14108906717.7 KB

Lists details about all the guardrails in an account. To list the DRAFT version of all your guardrails, don't specify the guardrailIdentifier field. To list all versions of a guardrail, specify the ARN of the guardrail in the guardrailIdentifier field.

You can set the maximum number of results to return in a response in the maxResults field. If there are more results than the number you set, the response returns a nextToken that you can send in another ListGuardrails request to see the next batch of results.

get/guardrails

Query parameters

guardrailIdentifierstring

The unique identifier of the guardrail. This can be an ID or the ARN.

maxResultsinteger

The maximum number of results to return in the response.

nextTokenstring

If there are more results than were returned in the response, the response returns a <code>nextToken</code> that you can send in another <code>ListGuardrails</code> request to see the next batch of results.

Response

Success

nextTokenstring

If there are more results than were returned in the response, the response returns a <code>nextToken</code> that you can send in another <code>ListGuardrails</code> request to see the next batch of results.