Metrics API examples

These examples use two Edge APIs:

When using these APIS:

  • For email:password, substitute the username and password for your Apigee account at https://apigee.com/edge.
  • For myorg, substitute the name of your Apigee organization, which you can find under your username when you log in at https://apigee.com/edge.

    If you do not have an Apigee account, you can register for one at https://login.apigee.com/sign__up.

  • The requests below assume the environment is 'prod'. If you require analytics on another environment (such as 'test'), modify /e/prod to /e/test.

For more information on the API call used in these examples, see Use the metrics APIs to measure API program performance.