> For the complete documentation index, see [llms.txt](https://knowledge.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.illumina.com/software/cloud-software/software-cloud-software-troubleshooting-list/000007567.md).

# Why an appsession API call may only return a subset of datasets from BaseSpace

BaseSpace API to calls can be used to gather additional metadata regarding appsession datasets that may not be found via the BaseSpace Command Line Interface (CLI) tool.

One option is to use the following:

* <https://api.basespace.illumina.com/v2/appsessions/**\\><AppsessionID>\*\*/properties/Output.datasets/items
  * where **\<AppsessionID>** is replaced with the appropriate appsession number.
* The resulting call will only provide a list of 50 datasets because the hard-limit is set to 50. Below is the end of the resulting API call.

  ![](https://761066130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGM9W2DuBTgEXv1ClCm8H%2Fuploads%2Fgit-blob-3cb0b82ba6c5790a7e97e05e9ca8563f4c0e1035%2Fimage1.png?alt=media\&token=f0b07aa1-0bb6-43af-a136-f2af74b66071)
* In the above example, the Total Count is 472 datasets.

A workaround to extend the limit to include all 472 results is to modify the call as follows.

* <https://api.basespace.illumina.com/v2/appsessions/**\\><AppsessionID>\*\*/properties/Output.datasets/items\*\*?limit=500\*\*
  * where **\<AppsessionID>** is replaced with the appropriate appsession number and **?limit=500** is appended to end.
* This change will result in the end of the call to report as follows.

  ![](https://761066130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGM9W2DuBTgEXv1ClCm8H%2Fuploads%2Fgit-blob-60fb36f4f2d2ccc5f2ca3a5cec0a207fe4c11c4a%2Fimage2.png?alt=media\&token=f1f4d506-df4e-4984-b73d-c309113e96f1)

\
\
\ <br>

|                                                                                                                                                                                                                                                                                                                                                                 |
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| *For any feedback or questions regarding this article (Illumina Knowledge Article #7567), contact Illumina Technical Support* [*techsupport@illumina.com*](mailto:techsupport@illumina.com?subject=Question%2FFeedback%20Regarding%20Illumina%20Knowledge%20Article%20#000007567%20-%20Software%20\&body=Dear%20Illumina%20Technical%20Support,%0D%0A%0D%0A)*.* |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://knowledge.illumina.com/software/cloud-software/software-cloud-software-troubleshooting-list/000007567.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
