# APIGroup property on API queries
> Version: _Available from runtime version 1.0._
Specifies the group segment of the API endpoint that exposes the query. The following example defines the group as app1.
## Applies to
 Query object
## Syntax
```al
APIGroup = 'app1';
```
For a complete example, see API query type<../devenv-api-querytype>.
## Related information
devenv-properties
../devenv-query-object
APIGroup property for API pages<devenv-apigroup-page-property>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-apigroup-query-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-apigroup-query-property/
