RequestItemPreview
The dry-run outcome for one requested resource: the approval it would need, the approvers that
resolve today, the policy verdicts it would hit, and the two dead ends worth showing up front
(capacity_ok false = the resource is at capacity, already_assigned true = the beneficiary
already has it). instant true = it would be granted with no human approval step.
type RequestItemPreview {
already_assigned: Boolean!
approval_mode: String!
capacity_ok: Boolean!
instant: Boolean!
policy: [RequestPreviewPolicyVerdict!]!
resource_id: UUID!
stages: [RequestPreviewStage!]!
}
Fields
RequestItemPreview.already_assigned ● Boolean! non-null scalar
RequestItemPreview.approval_mode ● String! non-null scalar
RequestItemPreview.capacity_ok ● Boolean! non-null scalar
RequestItemPreview.instant ● Boolean! non-null scalar
RequestItemPreview.policy ● [RequestPreviewPolicyVerdict!]! non-null object
RequestItemPreview.resource_id ● UUID! non-null scalar
RequestItemPreview.stages ● [RequestPreviewStage!]! non-null object
Member Of
RequestPreview object