POST
/
{team_id}
/
views
/
preview
Preview results
curl --request POST \
  --url https://api.superthread.com/v1/{team_id}/views/preview \
  --header 'Content-Type: application/json' \
  --data '{
  "board_filters": {
    "time_created": {
      "before": "now-1d",
      "after": "1620997103||-2h"
    },
    "time_updated": {
      "before": "now-1d",
      "after": "1620997103||-2h"
    },
    "include": {
      "ids": [
        "<string>"
      ],
      "content": "<string>",
      "projects": [
        "<string>"
      ],
      "creators": [
        "<string>"
      ],
      "members": [
        "<string>"
      ]
    },
    "exclude": {
      "ids": [
        "<string>"
      ],
      "content": "<string>",
      "projects": [
        "<string>"
      ],
      "creators": [
        "<string>"
      ],
      "members": [
        "<string>"
      ]
    },
    "sort_by": {
      "field": "time_created",
      "order_ascending": true
    }
  },
  "card_filters": {
    "is_parent": true,
    "is_child": true,
    "has_estimate": true,
    "has_members": true,
    "has_priority": true,
    "has_status": true,
    "has_tags": true,
    "has_linked_card": true,
    "has_due_date": true,
    "has_start_date": true,
    "has_completed_date": true,
    "has_parent_card": true,
    "is_archived": true,
    "start_date": {
      "before": "now-1d",
      "after": "1620997103||-2h"
    },
    "completed_date": {
      "before": "now-1d",
      "after": "1620997103||-2h"
    },
    "due_date": {
      "before": "now-1d",
      "after": "1620997103||-2h"
    },
    "time_created": {
      "before": "now-1d",
      "after": "1620997103||-2h"
    },
    "time_updated": {
      "before": "now-1d",
      "after": "1620997103||-2h"
    },
    "include": {
      "ids": [
        "<string>"
      ],
      "content": "<string>",
      "title": "<string>",
      "boards": [
        "<string>"
      ],
      "estimates": [
        123
      ],
      "lists": [
        "<string>"
      ],
      "priority": [
        123
      ],
      "projects": [
        "<string>"
      ],
      "creators": [
        "<string>"
      ],
      "owners": [
        "<string>"
      ],
      "members": [
        "<string>"
      ],
      "statuses": [
        "started"
      ],
      "external_links": [
        "github_pull_request"
      ],
      "linked_cards": [
        "blocks"
      ],
      "tags": [
        "<string>"
      ],
      "parent_cards": [
        "<string>"
      ],
      "epics": [
        "<string>"
      ]
    },
    "exclude": {
      "ids": [
        "<string>"
      ],
      "content": "<string>",
      "title": "<string>",
      "boards": [
        "<string>"
      ],
      "estimates": [
        123
      ],
      "lists": [
        "<string>"
      ],
      "priority": [
        123
      ],
      "projects": [
        "<string>"
      ],
      "creators": [
        "<string>"
      ],
      "owners": [
        "<string>"
      ],
      "members": [
        "<string>"
      ],
      "statuses": [
        "started"
      ],
      "external_links": [
        "github_pull_request"
      ],
      "linked_cards": [
        "blocks"
      ],
      "tags": [
        "<string>"
      ],
      "parent_cards": [
        "<string>"
      ],
      "epics": [
        "<string>"
      ]
    },
    "sort_by": {
      "field": "time_created",
      "order_ascending": true
    }
  },
  "page_filters": {
    "time_created": {
      "before": "now-1d",
      "after": "1620997103||-2h"
    },
    "time_updated": {
      "before": "now-1d",
      "after": "1620997103||-2h"
    },
    "include": {
      "ids": [
        "<string>"
      ],
      "content": "<string>",
      "projects": [
        "<string>"
      ],
      "creators": [
        "<string>"
      ],
      "members": [
        "<string>"
      ]
    },
    "exclude": {
      "ids": [
        "<string>"
      ],
      "content": "<string>",
      "projects": [
        "<string>"
      ],
      "creators": [
        "<string>"
      ],
      "members": [
        "<string>"
      ]
    },
    "sort_by": {
      "field": "time_created",
      "order_ascending": true
    }
  },
  "type": "card"
}'
{
  "cursor": "dmsjqh9d8w1hdjosjaasda",
  "count": 14,
  "boards": [
    {
      "id": "24",
      "project_id": "3",
      "team_id": "tDsu0j19",
      "title": "My Board",
      "content": "<string>",
      "icon": "shield",
      "color": "<string>",
      "image_urls": "<string>",
      "thumbnail_url": "https://s3.....com/thumbnail.png",
      "user_id": "u2erXoQq",
      "user_id_updated": "u2erXoQq",
      "user": {
        "user_id": "uDsu0j19",
        "type": "user",
        "source": {
          "type": "oauth",
          "client_id": "oczapier",
          "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "email_addr": "[email protected]",
          "email_verified": false
        }
      },
      "user_updated": {
        "user_id": "uDsu0j19",
        "type": "user",
        "source": {
          "type": "oauth",
          "client_id": "oczapier",
          "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "email_addr": "[email protected]",
          "email_verified": false
        }
      },
      "time_created": 1608742037016,
      "time_updated": 1608742037016,
      "members": [
        {
          "user_id": "u-dsu0j19",
          "assigned_date": 1608742037016,
          "role": "admin"
        }
      ],
      "lists": [
        {
          "id": "41",
          "team_id": "tDsu0j19",
          "title": "My list",
          "content": "<string>",
          "behavior": "backlog",
          "board_id": "43",
          "user_id": "u981hdaT",
          "user": {
            "user_id": "uDsu0j19",
            "type": "user",
            "source": {
              "type": "oauth",
              "client_id": "oczapier",
              "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
              "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
              "email_addr": "[email protected]",
              "email_verified": false
            }
          },
          "user_updated": {
            "user_id": "uDsu0j19",
            "type": "user",
            "source": {
              "type": "oauth",
              "client_id": "oczapier",
              "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
              "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
              "email_addr": "[email protected]",
              "email_verified": false
            }
          },
          "project_id": "5",
          "icon": "shield",
          "color": "<string>",
          "card_order": {},
          "total_cards": 5,
          "time_created": 1608742037016,
          "time_updated": 1608742037016,
          "cards": [
            {
              "id": "2700",
              "type": "card",
              "icon": {
                "type": "image",
                "src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
                "blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
                "color": "black",
                "emoji": "thumbsup"
              },
              "team_id": "tDsu0j19",
              "title": "My Card",
              "content": "Some card content",
              "schema": 1,
              "collaboration": {
                "token": "<string>"
              },
              "status": "started",
              "priority": 1,
              "board_id": "12",
              "board_title": "<string>",
              "list_id": "41",
              "list_color": "<string>",
              "list_title": "<string>",
              "sprint_id": "4s12",
              "owner_id": "uR2dws11",
              "user_id": "uR2dws11",
              "user_id_updated": "u2erXoQq",
              "user": {
                "user_id": "uDsu0j19",
                "type": "user",
                "source": {
                  "type": "oauth",
                  "client_id": "oczapier",
                  "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
                  "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
                  "email_addr": "[email protected]",
                  "email_verified": false
                }
              },
              "user_updated": {
                "user_id": "uDsu0j19",
                "type": "user",
                "source": {
                  "type": "oauth",
                  "client_id": "oczapier",
                  "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
                  "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
                  "email_addr": "[email protected]",
                  "email_verified": false
                }
              },
              "start_date": 1608742037016,
              "due_date": 1608742037016,
              "completed_date": 1608742037016,
              "time_created": 1608742037016,
              "time_updated": 1608742037016,
              "members": [
                {
                  "user_id": "u-dsu0j19",
                  "assigned_date": 1608742037016,
                  "role": "admin"
                }
              ],
              "checklists": [
                {
                  "id": "232",
                  "title": "My Checklist",
                  "content": "Some description",
                  "card_id": "32",
                  "user_id": "uG2sdaOn",
                  "time_created": 1608742037016,
                  "time_updated": 1608742037016,
                  "items": [
                    {
                      "id": "4312",
                      "title": "Some title",
                      "content": "Some description",
                      "checklist_id": "432",
                      "user_id": "u-du9saoj1",
                      "time_created": 1608742037016,
                      "time_updated": 1608742037016,
                      "checked": true
                    }
                  ]
                }
              ],
              "checklist_order": {},
              "checklist_item_order": {},
              "parent_card": {
                "title": "Implement service requirements",
                "card_id": "42",
                "list_color": "<string>",
                "status": "started"
              },
              "child_cards": [
                {
                  "title": "Create illustration for upcoming holidays",
                  "card_id": "42",
                  "user_id": "us4Fsfed",
                  "project_id": "3",
                  "board_id": "15",
                  "board_title": "Ideas",
                  "list_id": "55",
                  "list_title": "Done",
                  "list_color": "<string>",
                  "status": "started",
                  "archived": {
                    "user_id": "uDsu0j19",
                    "time_archived": 1608742037016
                  }
                }
              ],
              "child_card_order": {},
              "linked_cards": [
                {
                  "title": "Create illustration for upcoming holidays",
                  "card_id": "42",
                  "user_id": "42",
                  "project_id": "3",
                  "board_id": "15",
                  "board_title": "Ideas",
                  "list_id": "list 1",
                  "list_title": "list 1",
                  "status": "started",
                  "archived": {
                    "user_id": "uDsu0j19",
                    "time_archived": 1608742037016
                  },
                  "linked_card_type": "blocks"
                }
              ],
              "archived": {
                "user_id": "uDsu0j19",
                "time_archived": 1608742037016
              },
              "archived_list": false,
              "archived_board": false,
              "tags": [
                {
                  "id": "u-dsu0j19",
                  "team_id": "u-dsu0j19",
                  "project_id": "5",
                  "name": "todo",
                  "slug": "todo",
                  "color": "blue",
                  "total_cards": 17
                }
              ],
              "total_comments": 3,
              "total_files": 1,
              "is_watching": true,
              "is_bookmarked": true,
              "project_id": "<string>",
              "external_links": [
                {
                  "type": "github_pull_request",
                  "github_pull_request": {
                    "id": 123,
                    "number": 123,
                    "state": "<string>",
                    "title": "<string>",
                    "body": "<string>",
                    "html_url": "<string>",
                    "time_created": 1608742037016,
                    "time_updated": 1608742037016,
                    "time_closed": 1608742037016,
                    "time_merged": 1608742037016,
                    "head": {
                      "label": "<string>",
                      "ref": "<string>"
                    },
                    "base": {
                      "label": "<string>",
                      "ref": "<string>"
                    },
                    "draft": true,
                    "merged": true
                  }
                }
              ],
              "hints": [
                {
                  "type": "tag",
                  "tag": {
                    "name": "bug"
                  },
                  "relation": {
                    "card": {
                      "title": "Create illustration for upcoming holidays",
                      "card_id": "42",
                      "user_id": "us4Fsfed",
                      "project_id": "3",
                      "board_id": "15",
                      "board_title": "Ideas",
                      "list_id": "55",
                      "list_title": "Done",
                      "list_color": "<string>",
                      "status": "started"
                    },
                    "similarity": 0.8
                  }
                }
              ],
              "estimate": 2,
              "epic": {
                "id": "e-123",
                "title": "Epic Title",
                "icon": {
                  "type": "image",
                  "src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
                  "blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
                  "color": "black",
                  "emoji": "thumbsup"
                }
              }
            }
          ],
          "epics": [
            {
              "id": "2700",
              "type": "epic",
              "team_id": "tDsu0j19",
              "icon": {
                "type": "image",
                "src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
                "blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
                "color": "black",
                "emoji": "thumbsup"
              },
              "title": "My Card",
              "schema": 1,
              "content": "Some card content",
              "collaboration": {
                "token": "<string>"
              },
              "list_id": "41",
              "list_color": "<string>",
              "list_title": "<string>",
              "status": "started",
              "priority": 1,
              "owner_id": "uR2dws11",
              "user_id": "uR2dws11",
              "user_id_updated": "u2erXoQq",
              "user": {
                "user_id": "uDsu0j19",
                "type": "user",
                "source": {
                  "type": "oauth",
                  "client_id": "oczapier",
                  "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
                  "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
                  "email_addr": "[email protected]",
                  "email_verified": false
                }
              },
              "user_updated": {
                "user_id": "uDsu0j19",
                "type": "user",
                "source": {
                  "type": "oauth",
                  "client_id": "oczapier",
                  "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
                  "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
                  "email_addr": "[email protected]",
                  "email_verified": false
                }
              },
              "start_date": 1608742037016,
              "due_date": 1608742037016,
              "completed_date": 1608742037016,
              "time_created": 1608742037016,
              "time_updated": 1608742037016,
              "members": [
                {
                  "user_id": "u-dsu0j19",
                  "assigned_date": 1608742037016,
                  "role": "admin"
                }
              ],
              "checklists": [
                {
                  "id": "232",
                  "title": "My Checklist",
                  "content": "Some description",
                  "card_id": "32",
                  "user_id": "uG2sdaOn",
                  "time_created": 1608742037016,
                  "time_updated": 1608742037016,
                  "items": [
                    {
                      "id": "4312",
                      "title": "Some title",
                      "content": "Some description",
                      "checklist_id": "432",
                      "user_id": "u-du9saoj1",
                      "time_created": 1608742037016,
                      "time_updated": 1608742037016,
                      "checked": true
                    }
                  ]
                }
              ],
              "checklist_order": {},
              "checklist_item_order": {},
              "child_cards": [
                {
                  "title": "Create illustration for upcoming holidays",
                  "card_id": "42",
                  "user_id": "us4Fsfed",
                  "project_id": "3",
                  "board_id": "15",
                  "board_title": "Ideas",
                  "list_id": "55",
                  "list_title": "Done",
                  "list_color": "<string>",
                  "status": "started",
                  "archived": {
                    "user_id": "uDsu0j19",
                    "time_archived": 1608742037016
                  }
                }
              ],
              "child_card_order": {},
              "linked_cards": [
                {
                  "title": "Create illustration for upcoming holidays",
                  "card_id": "42",
                  "user_id": "42",
                  "project_id": "3",
                  "board_id": "15",
                  "board_title": "Ideas",
                  "list_id": "list 1",
                  "list_title": "list 1",
                  "status": "started",
                  "archived": {
                    "user_id": "uDsu0j19",
                    "time_archived": 1608742037016
                  },
                  "linked_card_type": "blocks"
                }
              ],
              "archived": {
                "user_id": "uDsu0j19",
                "time_archived": 1608742037016
              },
              "archived_list": false,
              "tags": [
                {
                  "id": "u-dsu0j19",
                  "team_id": "u-dsu0j19",
                  "project_id": "5",
                  "name": "todo",
                  "slug": "todo",
                  "color": "blue",
                  "total_cards": 17
                }
              ],
              "total_comments": 3,
              "total_files": 1,
              "is_watching": true,
              "external_links": [
                {
                  "type": "github_pull_request",
                  "github_pull_request": {
                    "id": 123,
                    "number": 123,
                    "state": "<string>",
                    "title": "<string>",
                    "body": "<string>",
                    "html_url": "<string>",
                    "time_created": 1608742037016,
                    "time_updated": 1608742037016,
                    "time_closed": 1608742037016,
                    "time_merged": 1608742037016,
                    "head": {
                      "label": "<string>",
                      "ref": "<string>"
                    },
                    "base": {
                      "label": "<string>",
                      "ref": "<string>"
                    },
                    "draft": true,
                    "merged": true
                  }
                }
              ],
              "hints": [
                {
                  "type": "tag",
                  "tag": {
                    "name": "bug"
                  },
                  "relation": {
                    "card": {
                      "title": "Create illustration for upcoming holidays",
                      "card_id": "42",
                      "user_id": "us4Fsfed",
                      "project_id": "3",
                      "board_id": "15",
                      "board_title": "Ideas",
                      "list_id": "55",
                      "list_title": "Done",
                      "list_color": "<string>",
                      "status": "started"
                    },
                    "similarity": 0.8
                  }
                }
              ]
            }
          ],
          "archived": {
            "user_id": "uDsu0j19",
            "time_archived": 1608742037016
          },
          "is_watching": true,
          "webhook_notifications": [
            {
              "webhook": {
                "destination_type": "slack_channel_webhook",
                "integration_id": "42"
              },
              "options": {
                "card_created": true
              }
            }
          ]
        }
      ],
      "list_order": {},
      "tags": [
        {
          "id": "u-dsu0j19",
          "team_id": "u-dsu0j19",
          "project_id": "5",
          "name": "todo",
          "slug": "todo",
          "color": "blue",
          "total_cards": 17
        }
      ],
      "archived": {
        "user_id": "uDsu0j19",
        "time_archived": 1608742037016
      },
      "is_watching": true,
      "is_bookmarked": true,
      "vcs_mapping": {
        "pr_draft": "41",
        "pr_open": "41",
        "pr_review_requested": "41",
        "pr_merged": "41",
        "pr_closed": "41",
        "branches": [
          {
            "name": "development",
            "pr_draft": "41",
            "pr_open": "41",
            "pr_review_requested": "41",
            "pr_merged": "41",
            "pr_closed": "41",
            "time_created": 1608742037016
          }
        ]
      },
      "layout": "board",
      "email": {
        "email": "[email protected]",
        "active": true
      },
      "webhook_notifications": [
        {
          "webhook": {
            "destination_type": "slack_channel_webhook",
            "integration_id": "42"
          },
          "options": {
            "card_created": true,
            "card_moved": true,
            "card_commented": true,
            "card_due_date": true
          }
        }
      ]
    }
  ],
  "cards": [
    {
      "id": "2700",
      "type": "card",
      "icon": {
        "type": "image",
        "src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
        "blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
        "color": "black",
        "emoji": "thumbsup"
      },
      "team_id": "tDsu0j19",
      "title": "My Card",
      "content": "Some card content",
      "schema": 1,
      "collaboration": {
        "token": "<string>"
      },
      "status": "started",
      "priority": 1,
      "board_id": "12",
      "board_title": "<string>",
      "list_id": "41",
      "list_color": "<string>",
      "list_title": "<string>",
      "sprint_id": "4s12",
      "owner_id": "uR2dws11",
      "user_id": "uR2dws11",
      "user_id_updated": "u2erXoQq",
      "user": {
        "user_id": "uDsu0j19",
        "type": "user",
        "source": {
          "type": "oauth",
          "client_id": "oczapier",
          "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "email_addr": "[email protected]",
          "email_verified": false
        }
      },
      "user_updated": {
        "user_id": "uDsu0j19",
        "type": "user",
        "source": {
          "type": "oauth",
          "client_id": "oczapier",
          "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "email_addr": "[email protected]",
          "email_verified": false
        }
      },
      "start_date": 1608742037016,
      "due_date": 1608742037016,
      "completed_date": 1608742037016,
      "time_created": 1608742037016,
      "time_updated": 1608742037016,
      "members": [
        {
          "user_id": "u-dsu0j19",
          "assigned_date": 1608742037016,
          "role": "admin"
        }
      ],
      "checklists": [
        {
          "id": "232",
          "title": "My Checklist",
          "content": "Some description",
          "card_id": "32",
          "user_id": "uG2sdaOn",
          "time_created": 1608742037016,
          "time_updated": 1608742037016,
          "items": [
            {
              "id": "4312",
              "title": "Some title",
              "content": "Some description",
              "checklist_id": "432",
              "user_id": "u-du9saoj1",
              "time_created": 1608742037016,
              "time_updated": 1608742037016,
              "checked": true
            }
          ]
        }
      ],
      "checklist_order": {},
      "checklist_item_order": {},
      "parent_card": {
        "title": "Implement service requirements",
        "card_id": "42",
        "list_color": "<string>",
        "status": "started"
      },
      "child_cards": [
        {
          "title": "Create illustration for upcoming holidays",
          "card_id": "42",
          "user_id": "us4Fsfed",
          "project_id": "3",
          "board_id": "15",
          "board_title": "Ideas",
          "list_id": "55",
          "list_title": "Done",
          "list_color": "<string>",
          "status": "started",
          "archived": {
            "user_id": "uDsu0j19",
            "time_archived": 1608742037016
          }
        }
      ],
      "child_card_order": {},
      "linked_cards": [
        {
          "title": "Create illustration for upcoming holidays",
          "card_id": "42",
          "user_id": "42",
          "project_id": "3",
          "board_id": "15",
          "board_title": "Ideas",
          "list_id": "list 1",
          "list_title": "list 1",
          "status": "started",
          "archived": {
            "user_id": "uDsu0j19",
            "time_archived": 1608742037016
          },
          "linked_card_type": "blocks"
        }
      ],
      "archived": {
        "user_id": "uDsu0j19",
        "time_archived": 1608742037016
      },
      "archived_list": false,
      "archived_board": false,
      "tags": [
        {
          "id": "u-dsu0j19",
          "team_id": "u-dsu0j19",
          "project_id": "5",
          "name": "todo",
          "slug": "todo",
          "color": "blue",
          "total_cards": 17
        }
      ],
      "total_comments": 3,
      "total_files": 1,
      "is_watching": true,
      "is_bookmarked": true,
      "project_id": "<string>",
      "external_links": [
        {
          "type": "github_pull_request",
          "github_pull_request": {
            "id": 123,
            "number": 123,
            "state": "<string>",
            "title": "<string>",
            "body": "<string>",
            "html_url": "<string>",
            "time_created": 1608742037016,
            "time_updated": 1608742037016,
            "time_closed": 1608742037016,
            "time_merged": 1608742037016,
            "head": {
              "label": "<string>",
              "ref": "<string>"
            },
            "base": {
              "label": "<string>",
              "ref": "<string>"
            },
            "draft": true,
            "merged": true
          }
        }
      ],
      "hints": [
        {
          "type": "tag",
          "tag": {
            "name": "bug"
          },
          "relation": {
            "card": {
              "title": "Create illustration for upcoming holidays",
              "card_id": "42",
              "user_id": "us4Fsfed",
              "project_id": "3",
              "board_id": "15",
              "board_title": "Ideas",
              "list_id": "55",
              "list_title": "Done",
              "list_color": "<string>",
              "status": "started"
            },
            "similarity": 0.8
          }
        }
      ],
      "estimate": 2,
      "epic": {
        "id": "e-123",
        "title": "Epic Title",
        "icon": {
          "type": "image",
          "src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
          "blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
          "color": "black",
          "emoji": "thumbsup"
        }
      }
    }
  ],
  "pages": [
    {
      "id": "43",
      "alias_id": "93738022-c193-494e-95a4-fc3e4346b5e1",
      "title": "Team Page",
      "font": "sans",
      "icon": {
        "type": "image",
        "src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
        "blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
        "color": "black",
        "emoji": "thumbsup"
      },
      "content": "<string>",
      "schema": 1,
      "collaboration": {
        "token": "<string>"
      },
      "project_id": "1",
      "cover_image": {
        "type": "image",
        "src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
        "blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
        "color": "black",
        "emoji": "thumbsup",
        "positionY": 123
      },
      "user_id": "u-dsu0j19",
      "user_id_updated": "u-dsu0j19",
      "user": {
        "user_id": "uDsu0j19",
        "type": "user",
        "source": {
          "type": "oauth",
          "client_id": "oczapier",
          "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "email_addr": "[email protected]",
          "email_verified": false
        }
      },
      "user_updated": {
        "user_id": "uDsu0j19",
        "type": "user",
        "source": {
          "type": "oauth",
          "client_id": "oczapier",
          "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
          "email_addr": "[email protected]",
          "email_verified": false
        }
      },
      "team_id": "teu-dsu0j19",
      "time_created": 1608742037016,
      "time_updated": 1608742037016,
      "members": [
        {
          "user_id": "u-dsu0j19",
          "assigned_date": 1608742037016,
          "role": "admin"
        }
      ],
      "bookmarked": false,
      "archived": {
        "user_id": "uDsu0j19",
        "time_archived": 1608742037016,
        "parent_page_id": "<string>"
      },
      "is_public": false,
      "public_settings": {
        "url": "https://pages.superthread.com/t/team/p/1",
        "robots": [
          "all"
        ]
      },
      "total_comments": 3,
      "is_watching": true,
      "is_bookmarked": true,
      "hide_table_of_contents": true,
      "hide_subpages": true
    }
  ]
}

How to use this endpoint to list cards assigned to a user

To get all the cards assigned to a specific user, use the following example request:
curl -X POST 'https://api.superthread.com/v1/{team_id}/views/preview?count=100' \
  -H 'Authorization: Bearer <PAT>' \
  --data-raw '{
    "card_filters": {
      "include": {
        "members": ["<user_id>"]
      },
      "exclude": {
        "statuses": ["completed", "cancelled"]
      },
      "sort_by": {
        "field": "time_created",
        "order_ascending": false
      }
    },
    "type": "card"
  }'
Replace {team_id} with your workspace’s team ID and<user_id> with the ID of the user you want to filter for. This request will return all cards assigned to the selected user, excluding any cards with the statuses completed or cancelled. You can further adjust the filters (see below) to refine your search.

Path Parameters

team_id
string
required

Team ID is an alphanumerical string that identifies a Team. This is externally referred to as a "Workspace".

Query Parameters

cursor
string

cursor for pagination

count
integer

max number of items to return. defaults to 25

Body

application/json

Preview request. Must include a type and the corresponding set of filters

The body is of type object.

Response

200
application/json

Preview results

The response is of type object.