Skip to content

Depot effectiveconfig

Registers the effective-config route on mux.

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

GET /api/v1/endpoints/{agentID}/policy/effective

Section titled “GET /api/v1/endpoints/{agentID}/policy/effective”

GETpolicy:readtenant facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

Get effective config

NameInTypeRequiredDescription
agentIDpathstringYesA uuid.
explainquerystringNo
namedUserIdquerystringNo
StatusBodyDescription
200application/json, EffectiveConfigViewSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold policy:read.
404application/problem+json, ProblemDetailsNo resource matches that id.
500application/problem+json, ProblemDetailsNo client store in request context.

200 response body

FieldTypeDescription
agentIdrequiredstring
enforcementEnforcementReportView

enforcementReportView is the endpoint's newest word on this configuration.

enforcement.moderequiredstring
enforcement.policyHashrequiredstring
enforcement.reportedAtrequiredstring (date-time)
enforcement.staleboolean
enforcement.statusesrequiredobject
hashrequiredstring
issuesarray of EffectiveIssueView
issues[].detailstring
issues[].keystring
issues[].kindrequiredstring
issues[].profileIdsarray of string
namedUserIdstring
osFamilystring
profilesarray of EffectiveProfileView
profiles[].mandatoryrequiredboolean
profiles[].profileIdrequiredstring
profiles[].profileNamerequiredstring
profiles[].rankrequiredinteger
settingsrequiredobject
targetFrameworksrequiredarray of string
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/endpoints/<agentID>/policy/effective?explain=<explain>&namedUserId=<namedUserId>' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.