You are here: Home > API Reference > AOSP > Devices > Agent > Get AOSP device agent config assets by Id

Get AOSP device agent config assets by Id

Required Permission: mdm.aosp.device.get

Return desired apps/builds and related assets for the AOSP agent

GET
https://api.applivery.io/v1/organizations/{organizationId}/mdm/aosp/enterprise/devices/{aosDeviceId}/agent-config-assets

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

organizationId string
required
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$
aosDeviceId string
required
Match pattern: ^[a-fA-F0-9]{24}$

Responses

200 Response application/json
status boolean required
data object required
applications array [object] required
aosApplicationId string required
Match pattern: ^[a-fA-F0-9]{24}$
packageName string required
≤ 256 characters
title string required
≤ 256 characters
installType string required
CUSTOM
action string required
forceInstall available
updatePolicy object required
Update handling for this app. autoUpdate is present only when the assignment configures it, so an empty object means the agent keeps its own default. When autoUpdate is true, grace expiration dates by update type (major, minor, patch) are computed from the start of the resolved build's release UTC day plus the policy quarantine and grace period, for the agent to enforce.
versionCode number optional
versionName string optional
≤ 256 characters
statusInfo object required
build object required
managedBy string required
agent mdm
{
    "status": true,
    "data": {
        "applications": [
            {
                "aosApplicationId": "string",
                "packageName": "string",
                "title": "string",
                "installType": "CUSTOM",
                "action": "forceInstall",
                "updatePolicy": {
                    "autoUpdate": true,
                    "patch": {
                        "graceExpirationDate": "2026-08-19T00: 00: 00.000Z"
                    }
                },
                "versionCode": 0,
                "versionName": "string",
                "statusInfo": {
                    "isInstalled": true,
                    "action": "forceInstall",
                    "shouldBeUninstalled": true,
                    "shouldBeInstalled": true,
                    "hasSameVersion": true
                },
                "build": {
                    "id": "string",
                    "applicationId": "string",
                    "extension": "string",
                    "signatures": {}
                },
                "managedBy": "agent"
            }
        ]
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}
Was this page helpful?