โ† API reference
Query / admin

getIAMPolicy

Fetch an IAM policy by ID. Requires iam:readPolicy permission.

Arguments

Policy ID to fetch

Returns IAMPolicyState

Scalar fields at a glance

nameString!
descriptionString
createdAtString!
updatedAtString!
โ†— View the complete IAMPolicyState type

Explore in a view

Administration and IAM
View exact SDL
"""Fetch an IAM policy by ID. Requires iam:readPolicy permission."""
getIAMPolicy(
  """Policy ID to fetch"""
  id: IAMPolicyID!
): IAMPolicyState @topic(names: ["admin"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.