# Endpoints/URLs

The URL for the endpoints of the API have the following form:

```
https://matrix{-stage}.ag5.com/api/orgkeep/{orgid}/{slug}/v4/{endpoint}
```

The `stage` refers to the stage/environment the repositories live in:

| stage      | description                               |
| ---------- | ----------------------------------------- |
|            | Production (i.e. no explicit stage named) |
| acceptance | Acceptance/test environment               |

The `slug` parameter will be provided when an API account is requested.

As an example, the following URL should be used to access the List employees endpoint in the acceptance environment (of some fictional company ACME Corporation):

```
https://matrix-acceptance.ag5.com/api/orgkeep/acme/orgkeep/v4/employees
```


---

# Agent Instructions: 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.ag5.com/ag5-api/version-4-beta/ag5-skills-management-api/endpoints-urls.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.
