Portfolio List
This query lists all portfolios belonging to a team. The portfolios query uses cursor-based pagination via the after / first arguments.
graphql
query ListPortfolios($teamId: Int!, $after: String) {
portfolios(teamId: $teamId, after: $after, first: 100) {
edges {
node {
portfolioId
teamId
title
}
}
pageInfo {
hasNextPage
endCursor
}
}
}Variables
json
{
"teamId": 123
}Pagination
If pageInfo.hasNextPage is true, pass pageInfo.endCursor as $after in the next request to fetch the next page.
