wisdom:ListSpans

List

wisdom:ListSpans is a List access-level action in the wisdom service. Grants permission to list AI agent traces for a session

Resource types

ARNs that wisdom:ListSpans can be scoped to in an IAM policy.

arn:${Partition}:wisdom:${Region}:${Account}:session/${AssistantId}/${SessionId}
Session

Condition keys

Keys you can use in the Condition block of a policy that grants wisdom:ListSpans.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows wisdom:ListSpans. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWisdomListSpans",
      "Effect": "Allow",
      "Action": "wisdom:ListSpans",
      "Resource": "*"
    }
  ]
}

Related actions in wisdom

View all wisdom actions →