> For the complete documentation index, see [llms.txt](https://docs.langstack.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.langstack.com/welcome/get-started/learn-langstack/introduction-to-rest-api/api-group-name.md).

# API Group name

* An API group is a text the user creates for grouping one or more APIs together.&#x20;
* The group name becomes a part of the base URL. All APIs that are in the same group share the same base URL.&#x20;
* Creating a meaningful API Group Name is recommended so it can be referenced easily. The API Group Name can be selected or created in the Details tab.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4apigrpname1.png>" %}

### How to select or create an API Group

* To select an existing group, click on the drop-down menu and select the required Group Name.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4selectapigrpname2.png>" %}

* To create a new API Group, click on the \[+] icon.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4addapigrpname3.png>" %}

* To name a group, type in Group Name. This text displays as the group name.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4addapigrpname4.png>" %}

* To define the text representing the group name in the Base URL, type in Base Group URL and click the \[Save] button.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4addapigrpname5.png>" %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.langstack.com/welcome/get-started/learn-langstack/introduction-to-rest-api/api-group-name.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
