Download macOS Device Agent
curl --request GET \
--url https://api.trycomp.ai/v1/device-agent/mac \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/device-agent/mac', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/device-agent/mac"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)"Binary DMG file content"Device Agent
Download macOS Device Agent | Comp AI API
Downloads the Comp AI Device Agent installer for macOS as a DMG file. The agent helps monitor device compliance and security policies.
GET
/
v1
/
device-agent
/
mac
Download macOS Device Agent
curl --request GET \
--url https://api.trycomp.ai/v1/device-agent/mac \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/device-agent/mac', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/device-agent/mac"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)"Binary DMG file content"Authorizations
API key for authentication
Response
default - application/x-apple-diskimage
Internal server error
macOS agent file not found in S3
Unauthorized - Invalid or missing authentication
macOS agent DMG file download
The response is of type file.
Was this page helpful?

