> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /handles/query

> /handles/query

# /handles/query

Supports POST operations to create queries for session handles.

> **Note:**\
> This URI is used by 2015 Multiplayer and applies only to that multiplayer version and later. It is intended for use with template contract 104/105 or later.

<a id="ID4EQ" />

## Domain

sessiondirectory.xboxlive.com

<a id="ID4EV" />

## Remarks

This URI supports queries for handles. Unlike session queries, which are string and batch queries, handle queries use a query-processor style. Up to 100 handles are supported.

<a id="ID4E2" />

## URI parameters

None

<a id="ID4EEB" />

## Valid methods

[POST (/handles/query)](/reference/live/rest/uri/sessiondirectory/uri-handlesquerypost)

  Creates queries for session handles.

[POST (/handles/query?include=relatedInfo)](/reference/live/rest/uri/sessiondirectory/uri-handlesqueryincludepost)

  Creates queries for session handles that include related session information.

<a id="ID4EQB" />

## See also

<a id="ID4ESB" />

##### Parent

[Session Directory URIs](/reference/live/rest/uri/sessiondirectory/atoc-reference-sessiondirectory)


## Related topics

- [XStoreCloseProductsQueryHandle](/reference/system/xstore/functions/xstorecloseproductsqueryhandle.md)
- [XStoreEnumerateProductsQuery](/reference/system/xstore/functions/xstoreenumerateproductsquery.md)
- [XStoreQueryProductsResult](/reference/system/xstore/functions/xstorequeryproductsresult.md)
- [XStoreProductsQueryHasMorePages](/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)
- [XStoreQueryAssociatedProductsResult](/reference/system/xstore/functions/xstorequeryassociatedproductsresult.md)
