> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Citrix Cloud API

> Find a user's Citrix session and machine, read why their launches failed, log off stuck sessions, restart machines and change who may launch apps and desktops in Citrix Cloud, each change following the approval settings you give it

The tool reaches each client's Citrix Cloud through the Citrix Cloud APIs, with the service principal you save in Neo for that client, so each call is limited twice: by the service principal's access in Citrix Cloud and by the agent's permission groups below.

> [!NOTE]
>
> Automatically enabled when you configure Citrix Cloud permissions in your agent workflow. No manual toggle needed.

## What It Does

* Find a user's DaaS sessions and the machine each runs on, with its state and start time
* Read from Monitor why the user's last launches failed, their past sessions and how long each logon took
* Log off, disconnect or message a session
* Read a machine's registration, power state, load and faults; restart, shut down or start it; turn maintenance mode on or off
* Change who may launch a delivery group's desktop or a published app, assign a desktop to a user, publish or turn off an app
* Read machine catalogs and images and roll a catalog to a new image; read and simulate Citrix policies
* Read hosting connections, zones, site health, the configuration log and Advisor; Citrix Cloud administrators, resource locations, Cloud Connectors, licensing and Secure Private Access
* Search Session Recording for a user's recordings and read its policies and events; read and change what Workspace Environment Management (WEM) assigns

The agent calls the Citrix Cloud API through the [Vendor API](https://docs.neoagent.io/agents/tools/vendor-api.md) tool, with `citrix_cloud` as the vendor id. [Sandbox](https://docs.neoagent.io/agents/tools/built-in/sandbox.md) scripts can call Citrix Cloud too, under the same permissions.

## Permission Groups

| Group | What it covers |
| - | - |
| **Sessions** | Users' sessions: find, log off, disconnect, message, hide, record |
| **Machines & Power** | Machines (VDAs), their registration, power, maintenance mode, assigned users and tags |
| **Delivery Groups & Applications** | Delivery groups, published apps and app groups, who may launch them, folders, icons, App-V, schedules |
| **Machine Catalogs & Images** | Machine catalogs, provisioning, image definitions and versions, Remote PC enrollments, Quick Deploy and Quick Create |
| **Citrix Policies** | Policy sets, policies, settings, filters, comparisons and simulations |
| **Directory Identities** | The AD and Entra users, groups, machine accounts and service accounts the site uses |
| **Monitor, Logs & Advisor** | Monitor history, the configuration log, Advisor, site notifications and the Citrix Cloud system log |
| **Site, Hosting & Zones** | The site and its settings, hosting connections, zones, StoreFront servers, tenants, jobs, backups |
| **Resource Locations & Connectors** | Resource locations, Cloud Connectors and their health, the connectivity allow list |
| **Administrators & Roles** | Citrix Cloud administrators and their access, DaaS administrators, roles and scopes |
| **Licensing** | License usage, and releasing a user's or device's license |
| **Secure Private Access** | Applications, access policies, security groups, routing domains, ending a user's access |
| **Session Recording** | Recordings and their search, recording, event and alert policies, event reports, comments, servers, sites and storage |
| **Workspace Environment Management** | Configuration sets and the applications, printers, drives, registry entries and variables they assign, users, machines, backups |

Every group can be Disabled, Read Only or Read/Write. Neo never sends a password or a secret, and hides passwords, secrets and storage links in every answer.

## Access Profiles

> [accordion] Read Only
>
> Every group Read Only. The agent reads, and never changes anything.

> [accordion] Helpdesk
>
> Sessions, Machines & Power, and Delivery Groups & Applications are Read/Write with technician approval. Everything else is Read Only.

> [accordion] IT Admin
>
> Every group Read/Write. Administrators & Roles, Citrix Policies, Secure Private Access and Session Recording require technician approval, and so do the changes below.

> [accordion] Full Automation
>
> Every group Read/Write without approval, except the changes below, which still require technician approval.

## Safety Controls

These require technician approval under every access profile, whatever the group's own approval setting:

* Every change to administrators: adding, changing or removing a Citrix Cloud administrator or their access, and a DaaS role, scope or admin folder.
* Restoring a site backup, changing the site's security key, and creating, changing or resetting a hosting connection, which keeps its stored credential.
* Deleting a resource location, a Cloud Connector, a Session Recording site or a WEM configuration set.
* Updating a WEM record, which replaces the whole record; Neo keeps the values it hides from the stored one.
* Starting or stopping a recording of a user's session, and every change to Session Recording, which holds recordings of users' screens: who is recorded, who may watch, where recordings go, and the service's own settings.
* Importing over or replicating onto a WEM configuration set, which overwrites it.

Neo refuses partner and Citrix Service Provider licensing reports, which cover the partner's other customers. Neo refuses the DaaS batch call and the select-all action, which act on many sessions or machines at once, reading a new site security key, Monitor's webhook profiles or Session Recording's AI analyzer settings, any link that plays a session recording, and file transfers and storage links (a site backup download, an image upload link, a recording's playback stream, the Session Recording event data's storage link).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.