Forum Discussion

surendra-p's avatar
surendra-p
Copper Contributor
Dec 02, 2024

what is the page size limit for Retrieve Work items associated with iteration path

I am using wqql api for retrieving the iteration associated work items , what is the max limit for page response and what if the page response size exceed 

6 Replies

  • surendra-p 

    The Azure DevOps WIQL API typically limits responses to 200 work items per page. If the response exceeds this, it uses pagination with a continuationToken to fetch the next page.

    Handling Pagination -
    Process the first set of work items.
    Use the continuationToken to fetch subsequent pages.

    Reference URL: https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/wiql?view=azure-devops-rest-7.1

    • surendra-p's avatar
      surendra-p
      Copper Contributor

      balasubramanim  when  and  where  the continuationToken is visible and how to read the continuationToken from the response

      • balasubramanim's avatar
        balasubramanim
        Iron Contributor

        surendra-p 

        The continuationToken is provided in the response headers when using the Azure DevOps WIQL API, specifically when the query result exceeds the 200 work items per page limit. It is not part of the response body but is included as a header.

        POST https://dev.azure.com/{organization}/{project}/{team}/_apis/wit/wiql?api-version=7.1

         

Resources