Identifying your Cloud Foundry API endpoint and version

Page last updated:

The API endpoint, or target URL, for your Cloud Foundry instance is the URL of the Cloud Controller. This topic explains how to find your API endpoint from the command line, along with your version of the Cloud Controller API. You can also consult your cloud operator to find out this information.

From a command line, use the cf api command to view your API endpoint and Cloud Controller API (CC API) version number:

$ cf api
API endpoint: https://api.example.com (API version: 2.55.0)
Create a pull request or raise an issue on the source for this page in GitHub