For Self-Hosted customers using the API, it's necessary to query the backend URL prefix. The Cortex public API documentation refers to the SaaS endpoint, and will result in a 401 (for example, https://api.getcortexapp.com/api/v1/catalog).
Self hosted customers set their unique front end and backend endpoints, which can be found in the helm configuration created upon setup. Typically these endpoints follow the convention of:
Front End: https://app.{{organization}}.com/api/v1
Back End: https://api.{{organization}}.com/api/v1
When using the API, review trailing slashes in your URLs as they can cause connection issues. For example, when retrieving service data through the catalog endpoint, ensure you're using the correct format without unnecessary path separators: https://api.{{organization}}.com/api/v1/catalog.