To use the Jamf Pro API with curl to retrieve profile information, you can use the following command:
```
curl -u username:password -H "Accept: application/json" -X GET "https://your-jamf-url/JSSResource/computerconfigurationprofiles"
```
Replace `username` and `password` with your Jamf Pro credentials, and `your-jamf-url` with the URL of your Jamf Pro server.