Skip to content
ADMIN
Download 2.0.0.55

APPLICATION REFERENCE

YAADMIN Agent API

Source-verified Core enrollment, installer, trust and WSS registrations from the Agent checkpoint.

Updated guideGuide reviewed · 2026-10-26

These routes belong to YAADMIN Core#

This is public documentation at /api/agent/. The paths below run on your own YAADMIN Core when its Agent integration is enabled. They are not licensing or Agent execution APIs hosted by yaadmin.io.

Scope and authentication#

The checkpoint contributes 16 HTTP registrations and two WSS registrations. Administrator handlers reuse Core web identity and mutation CSRF. Enrollment is a signed campaign/identity boundary rather than a web login; WSS requires trusted Agent proof. Registration is verified, not a production deployment claim.

18 routes

WSS/api/agent/media/{agent_id}/{request_id}

Media.

Authentication
WSS plus Agent challenge/proof and trusted identity; media additionally requires a one-shot authorized capture slot
Permission
Agent trust/enrollment checks; execution tools separately enforce agent.* RBAC
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
Authenticated WebSocket protocol/media channel
Important errors
Authentication/trust/validation failures are rejected; no other status inferred
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler media. Some definitions may be partially redacted; no missing fields are inferred.

GET/api/modules/agent/installation

Installation.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
{'core_url', 'builds', 'campaigns', 'endpoints', 'registration_errors', 'trust_rotation'}
Important errors
Authentication/trust/validation failures are rejected; no other status inferred
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler installation. Some definitions may be partially redacted; no missing fields are inferred.

POST/api/modules/agent/trust-material

Stage trust.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
ca_pem
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
Verified handler response; consult the installation guide
Important errors
HTTPException(403, 'HTTPS and enabled Agent module required'); HTTPException(413, 'Public CA material too large'); HTTPException(400, 'INVALID_PUBLIC_CA')
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Request fields

FieldVerified definition
ca_pemHandler/service field; see enrollment or installation guide for constraints. No secret values are shown.

Verified route registration · handler stage_trust. Some definitions may be partially redacted; no missing fields are inferred.

POST/api/modules/agent/trust-material/distribute

Retry trust.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
Verified handler response; consult the installation guide
Important errors
HTTPException(403, 'Agent module disabled')
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler retry_trust. Some definitions may be partially redacted; no missing fields are inferred.

POST/api/modules/agent/trust-material/identity/prepare

Prepare identity rotation.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
Verified handler response; consult the installation guide
Important errors
HTTPException(403, 'HTTPS and enabled Agent module required')
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler prepare_identity_rotation. Some definitions may be partially redacted; no missing fields are inferred.

POST/api/modules/agent/trust-material/identity/commit

Commit identity rotation.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
Verified handler response; consult the installation guide
Important errors
HTTPException(403, 'HTTPS and enabled Agent module required'); HTTPException(409, 'IDENTITY_ROTATION_NOT_READY')
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler commit_identity_rotation. Some definitions may be partially redacted; no missing fields are inferred.

POST/api/modules/agent/recovery/{agent_id}

Recover registration.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
campaign_id
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
{'authorized'}
Important errors
HTTPException(403, 'Agent module disabled'); HTTPException(413, 'Recovery request too large'); HTTPException(400, 'Invalid recovery request'); HTTPException(409, str(exc))
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Request fields

FieldVerified definition
campaign_idHandler/service field; see enrollment or installation guide for constraints. No secret values are shown.

Verified route registration · handler recover_registration. Some definitions may be partially redacted; no missing fields are inferred.

POST/api/modules/agent/installers

Create installer.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
core_url, lifetime_seconds, maximum
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
Verified handler response; consult the installation guide
Important errors
HTTPException(403, 'HTTPS and enabled Agent module required'); HTTPException(413, 'Installer request too large'); HTTPException(409, 'Another MSI build is in progress'); HTTPException(409, 'Installer history limit reached; remove expired artifacts'); HTTPException(409, 'CORE_PUBLIC_CA_MISSING'); HTTPException(400, 'Invalid installer parameters'); HTTPException(400, str(exc)); HTTPException(409, 'CORE_CERTIFICATE_ENDPOINT_INVALID')
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Request fields

FieldVerified definition
core_urlHandler/service field; see enrollment or installation guide for constraints. No secret values are shown.
lifetime_secondsHandler/service field; see enrollment or installation guide for constraints. No secret values are shown.
maximumHandler/service field; see enrollment or installation guide for constraints. No secret values are shown.

Verified route registration · handler create_installer. Some definitions may be partially redacted; no missing fields are inferred.

GET/api/modules/agent/installers/{build_id}/download

Download installer.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
Verified handler response; consult the installation guide
Important errors
HTTPException(404, 'Installer not available'); HTTPException(409, 'Installer integrity check failed')
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler download_installer. Some definitions may be partially redacted; no missing fields are inferred.

DELETE/api/modules/agent/installers/{build_id}

Remove installer.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
{'removed'}
Important errors
HTTPException(404, 'Installer not available'); HTTPException(409, 'Installer build is in progress')
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler remove_installer. Some definitions may be partially redacted; no missing fields are inferred.

POST/api/agent/enroll

Enroll.

Authentication
HTTPS, enabled Agent module, signed enrollment proof and valid campaign/recovery; no web session login
Permission
Agent trust/enrollment checks; execution tools separately enforce agent.* RBAC
Request body
agent_id, campaign_id, core_id, credential, hostname, nonce, public_key, signature, timestamp, token
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
Verified handler response; consult the installation guide
Important errors
HTTPException(403, 'HTTPS and enabled Agent module required'); HTTPException(413, 'Enrollment message too large'); HTTPException(400, 'INVALID_ENROLLMENT_PROOF'); HTTPException(429, 'ENROLLMENT_BUSY'); HTTPException(403, str(exc)); HTTPException(503, 'ENROLLMENT_UNAVAILABLE')
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Request fields

FieldVerified definition
agent_idExact signed enrollment field. Sensitive values are never shown; generated bootstrap supplies the required enrollment context.
campaign_idExact signed enrollment field. Sensitive values are never shown; generated bootstrap supplies the required enrollment context.
core_idExact signed enrollment field. Sensitive values are never shown; generated bootstrap supplies the required enrollment context.
credentialExact signed enrollment field. Sensitive values are never shown; generated bootstrap supplies the required enrollment context.
hostnameExact signed enrollment field. Sensitive values are never shown; generated bootstrap supplies the required enrollment context.
nonceExact signed enrollment field. Sensitive values are never shown; generated bootstrap supplies the required enrollment context.
public_keyExact signed enrollment field. Sensitive values are never shown; generated bootstrap supplies the required enrollment context.
signatureExact signed enrollment field. Sensitive values are never shown; generated bootstrap supplies the required enrollment context.
timestampExact signed enrollment field. Sensitive values are never shown; generated bootstrap supplies the required enrollment context.
tokenExact signed enrollment field. Sensitive values are never shown; generated bootstrap supplies the required enrollment context.

Verified route registration · handler enroll. Some definitions may be partially redacted; no missing fields are inferred.

GET/api/modules/agent/campaigns

Campaigns.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
{'campaigns'}
Important errors
Authentication/trust/validation failures are rejected; no other status inferred
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler campaigns. Some definitions may be partially redacted; no missing fields are inferred.

DELETE/api/modules/agent/campaigns/{campaign_id}

Revoke campaign.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
{'revoked'}
Important errors
Authentication/trust/validation failures are rejected; no other status inferred
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler revoke_campaign. Some definitions may be partially redacted; no missing fields are inferred.

GET/api/modules/agent/pairing-context

Pairing context.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
{'csrf_token'}
Important errors
Authentication/trust/validation failures are rejected; no other status inferred
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler pairing_context. Some definitions may be partially redacted; no missing fields are inferred.

WSS/api/agent/ws/{agent_id}

Agent socket.

Authentication
WSS plus Agent challenge/proof and trusted identity; media additionally requires a one-shot authorized capture slot
Permission
Agent trust/enrollment checks; execution tools separately enforce agent.* RBAC
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
Authenticated WebSocket protocol/media channel
Important errors
Authentication/trust/validation failures are rejected; no other status inferred
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler agent_socket. Some definitions may be partially redacted; no missing fields are inferred.

GET/api/modules/agent/endpoints

Endpoints.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
{'endpoints'}
Important errors
Authentication/trust/validation failures are rejected; no other status inferred
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler endpoints. Some definitions may be partially redacted; no missing fields are inferred.

PUT/api/modules/agent/trust/{agent_id}

Approve.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
credential, endpoint_name
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
{'agent_id', 'trusted'}
Important errors
HTTPException(403, 'HTTPS and enabled Agent module required'); HTTPException(400, 'Invalid Agent pairing request'); HTTPException(400, 'Invalid Agent UUID or credential')
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Request fields

FieldVerified definition
credentialHandler/service field; see enrollment or installation guide for constraints. No secret values are shown.
endpoint_nameHandler/service field; see enrollment or installation guide for constraints. No secret values are shown.

Verified route registration · handler approve. Some definitions may be partially redacted; no missing fields are inferred.

DELETE/api/modules/agent/trust/{agent_id}

Revoke.

Authentication
YAADMIN Core authenticated administrator; existing CSRF middleware for mutations
Permission
Administrator requirement; no separate handler permission identifier
Request body
No explicit body fields
Query parameters
No explicitly read query parameters
Headers
Existing session/CSRF middleware for administrator mutations; enrollment is a separate signed credential boundary
Response structure
{'agent_id', 'trusted'}
Important errors
HTTPException(400, 'Invalid Agent ID')
Approval behavior
Administration/enrollment does not grant tool execution approval. Agent tools retain their own RBAC/policy/task checks.

Verified route registration · handler revoke. Some definitions may be partially redacted; no missing fields are inferred.

Tool execution is a separate contract#

The runtime uses the registered agent.* tools with RBAC, policy and approvals. Do not interpret enrollment or installer generation as permission to execute arbitrary Windows work.

Tool schemas · Installation guide · Security · API overview

Reviewed 2026-10-26. Availability depends on your version, connections and permissions. Illustrations are not execution evidence.

Search documentation

Search stays in your browser.

YAADMIN CORE

Get YAADMIN Core

Your workspace starts here. We’ll email you a personal installer link. Only email is required.

Security code
Security code: enter the characters shown

We’ll send your installer link and useful YAADMIN updates. Unsubscribe from updates at any time. Privacy policy

YOUR NEXT YAADMIN WORKFLOW

Build your workspace.
Save 15%.

Get practical YAADMIN guides, product news and a personal 15% discount on packages and paid modules after confirming your email.

Open subscription form

One welcome code per email, one use. Can be combined with your 50% customer discount. Technical support and paid-module update renewals are excluded. No purchase required to subscribe. Free modules remain free.

Privacy Policy