# Viewing and Recording APIs in the Command Center

You can view and record the API traffic for actions performed in the Command Center browser window.

For example, an action like creating a plan consists of multiple actions, such as retrieving information about existing plan names and resource pools. Each of these actions is an individual API. When you record the action of creating a plan, you can view all the individual APIs and export them into Excel, CSV, or PDF format for your analysis.

## Recording REST APIs

1. Navigate to the Command Center screen where you want to perform an action, such as creating a laptop plan.

2. On the top right corner of the Command Center screen, click Account > Start API recording.

   Alternatively, on your keyboard, select `Shift + Spacebar + A`.

   On the top of the Command Center screen, a Recording message blinks indicating that the APIs are being recorded.

3. When you are ready to stop recording, click Account > Stop API recording.

   Alternatively, on your keyboard, again select `Shift + Spacebar + A`.

   The API viewer dialog box appears with the list of APIs to create a laptop plan.

4. Click any API to view details such as the type of API, URL, request body, and response body.

   Tip

   Do not close the API viewer dialog box before exporting and saving the data in your preferred format. Once you close the API viewer dialog box, the recorded data for the recorded session is lost.

### Example: Recording REST APIs for Creating a Laptop Plan

1. From the Command Center navigation pane, go to Manage > Plans.

   The Plans page appears.

2. On the top right corner of the Command Center screen, click Account > Start API recording.

   Alternatively, on your keyboard, select `Shift + Spacebar + A`.

   On the top of the Command Center screen, a Recording message blinks.

3. Continue with the remaining steps of creating a laptop plan.

4. When you are ready to stop recording, on your keyboard, again select `Shift + Spacebar + A`.

## Viewing and Exporting the Recorded REST APIs

- In the API viewer dialog box:

  - To export to Microsoft Excel, Click More actions > Export XLSX.

  - To export to CSV, click More actions > Export CSV.

  - To export to PDF, click More actions > Export PDF.

×

Loading...