---
title: "POST /ListIntegratedResources"
method: POST
path: "/ListIntegratedResources"
---

# POST /ListIntegratedResources

`POST /ListIntegratedResources`

Lists the integrated resources for an agent space, optionally filtered by integration or resource type.

## Request body

- object
  - `agentSpaceId` string, required — Unique identifier of the agent space.
  - `integrationId` string — Unique identifier for an integration.
  - `resourceType` 'CODE_REPOSITORY' | 'DOCUMENT' — Type of resource.
  - `nextToken` string — Pagination token.
  - `maxResults` integer — Maximum results for pagination.

## Response `200`

Success

- ListIntegratedResourcesOutput
  - `integratedResourceSummaries` IntegratedResourceSummary[], required — The list of integrated resource summaries.
    - `integrationId` string, required — The unique identifier of the integration that provides access to the resource.
    - `resource` object, required — The metadata for the integrated resource.
      - `githubRepository` object — The GitHub repository metadata.
        - `name` string, required — The name of the GitHub repository.
        - `providerResourceId` string, required — The provider-specific resource identifier for the GitHub repository.
        - `owner` string, required — The owner of the GitHub repository.
        - `accessType` 'PRIVATE' | 'PUBLIC' — The access type of the GitHub repository. Valid values are PRIVATE and PUBLIC.
      - `gitlabRepository` GitLabRepositoryMetadata — Metadata for an integrated GitLab repository.
        - `name` string, required — Name of the resource e.g. repository name, etc.
        - `providerResourceId` string, required — Provider Id of the resource e.g. GitHub repository id, etc.
        - `namespace` string, required — The namespace (group or user path) that owns the project.
        - `accessType` 'PRIVATE' | 'PUBLIC' — Defines the visibility level of provider resources. PRIVATE indicates restricted access, while PUBLIC indicates open access.
      - `bitbucketRepository` BitbucketRepositoryMetadata — Metadata for an integrated Bitbucket repository.
        - `name` string, required — Name of the resource e.g. repository name, etc.
        - `providerResourceId` string, required — Provider Id of the resource e.g. GitHub repository id, etc.
        - `workspace` string, required — The workspace slug that owns the repository.
        - `accessType` 'PRIVATE' | 'PUBLIC' — Defines the visibility level of provider resources. PRIVATE indicates restricted access, while PUBLIC indicates open access.
      - `confluenceDocument` ConfluenceDocumentMetadata — Metadata for an integrated Confluence document.
        - `name` string, required — Name of the resource e.g. repository name, etc.
        - `providerResourceId` string, required — Provider Id of the resource e.g. GitHub repository id, etc.
        - `spaceKey` string, required — The Confluence space key containing the document.
        - `pageId` string, required — The Confluence page identifier.
        - `title` string — The display title of the Confluence page.
        - `spaceTitle` string — The display title of the Confluence space.
    - `capabilities` object — The capabilities enabled for the integrated resource.
      - `github` object — The GitHub-specific resource capabilities.
        - `leaveComments` boolean — Indicates whether the integration can leave comments on pull requests.
        - `remediateCode` boolean — Indicates whether the integration can create code remediation pull requests.
      - `gitlab` GitLabResourceCapabilities — Capabilities for an integrated GitLab repository.
        - `leaveComments` boolean — Whether to post code review comments on merge request discussions.
        - `remediateCode` boolean — Whether to create merge requests with automated fixes.
      - `bitbucket` BitbucketResourceCapabilities — Capabilities for an integrated Bitbucket repository.
        - `leaveComments` boolean — Whether to post code review comments on pull requests.
        - `remediateCode` boolean — Whether to create pull requests with automated fixes.
      - `confluence` ConfluenceResourceCapabilities — Capabilities for an integrated Confluence space.
        - `fetchDocument` boolean — Whether to fetch documents from this space.
        - `createDocument` boolean — Whether to create documents in this space.
        - `updateDocument` boolean — Whether to update documents in this space.
  - `nextToken` string — A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.

## Other responses

- `480` — ResourceNotFoundException
- `481` — InternalServerException
- `482` — ValidationException
- `483` — ThrottlingException
- `484` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/securityagent.md) · [All operations](https://skmtc.net/aws/apis/securityagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/securityagent/versions/cad56717d636/schema)
