UiPath Orchestrator icon

UiPath Orchestrator

Interact with UiPath Orchestrator API

Actions148

Sessions → Get All

AI-generated

Summary

Retrieves a paginated, filterable list of UiPath Orchestrator sessions using OData query options.

Inputs

  • Filter — OData filter expression, e.g. State eq 'Connected'. Limits the sessions returned.
  • Select — Comma-separated properties to include in the returned session objects.
  • Order By — Property to order results by, e.g. CreatedAt desc.
  • Top — Maximum number of sessions to return. Default is 50; maximum allowed is 1000.
  • Skip — Number of sessions to skip before returning results. Default is 0.
  • Count — When enabled, includes the total count of matching sessions in the response.
  • Expand — Related entities to expand in the result. Maximum depth is 2.

Output shape

An array of session objects, with optional count metadata if Count is enabled.

Returns the matched session records as items. The exact shape depends on the Select parameter and on the Orchestrator API response.

Examples

Example 1: Retrieves the first 50 sessions with no additional filtering.

List sessions with default pagination

Example 2: Set Filter to `State eq 'Connected'`, Top to 100, Skip to 0, and enable Count to get the first 100 connected sessions plus a total count.

Filter and paginate sessions

Discussion