GET Orchestrator Pools

The GET /OrchestratorPools operation retrieves the orchestratorClosed Keyfactor orchestrators perform a variety of functions, including managing certificate stores and SSH key stores. pools defined in Keyfactor Command. Query parameters support filtering using defined criteria, control over pagination by specifying the page number and return limit, and customization of sorting based on specified fields and order. On success, the operation returns HTTP 200 OK with  details of the requested orchestrator pools.

Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

/agents/management/read/

Table 633: GET Orchestrator Pools Input Parameters

Name In Description
QueryString Query

A string containing a query to limit the results (for example, field1 -eq value1 AND field2 -gt value2). The default is to return all records. Fields available for querying through the API for the most part match those that appear in the Keyfactor Command Management Portal search dropdowns for the same feature. For querying guidelines, refer to: Searching Orchestrator Pool Management. The query fields supported for this operation are:

  • Capability

    The only supported comparison operator for this query field is -includes.

  • Id

    The GUID of the orchestrator pool. Use this operation without a query to find the ID.

  • Name
PageReturned Query An integer that specifies how many multiples of the returnLimit to skip and offset by before returning results, to enable paging. The default is 1.
ReturnLimit Query An integer that specifies how many results to return per page. The default is 50. Very large values can result in long processing time.
SortField Query

A string containing the property by which the results should be sorted. Fields available for sorting through the API include:

  • Name

Available sort fields are affected by the query provided in QueryString. The default sort field is Name.

SortAscending Query An integer that sets the sort order on the returned results. A value of 0 sorts results in ascending order while a value of 1 sorts results in descending order. The default is ascending.

Table 634: GET Orchestrator Pools Response Data

Name

Description

AllowAutoRegistration

A Boolean that controls whether orchestrators are allowed to automatically register into the pool.

When turned on, orchestrators that meet the configured claim requirements can join the pool without manual approval.

Important:  Auto-registration is successful only when all the following conditions are met:
  • The orchestrator must be version 26.2 or later.

  • The orchestrator installation must specify the pool ID that the orchestrator will join. Configure this using the following parameters:

    • Windows: -AutoRegistrationPoolId
    • Linux: --auto-registration-pool-id
    • Container: autoRegistrationPoolId
  • The identity presented by the orchestrator must satisfy at least one claim configured for the pool. Allowed claims are defined using the Claims parameter.

  • Allow Auto-Registration must be turned on for the orchestrator pool. This setting is configured using the AllowAutoRegistration parameter.

Capabilities

An array of strings listing the capabilities assigned to the pool. Both certificate store and custom job capabilities are supported.

The capabilities assigned to the pool determine which jobs can be routed to it. Orchestrators can be added to a pool regardless of the capabilities they individually declare. However, jobs executed by the pool are limited to those supported by both the pool and at least one orchestrator in the pool.

Important:  When using remote PAM providers, ensure that all orchestrators in a pool are configured with the required PAM extensions and supporting files. Jobs assigned to a pool can be executed by any eligible orchestrator in that pool. If some orchestrators support a remote PAM provider and others do not, job execution results may vary depending on which orchestrator receives the job. To avoid inconsistent behavior, either configure all orchestrators in the pool identically or separate orchestrators with different PAM capabilities into different pools.
Claims

An array of objects indicating the identity claims that are permitted to auto-register orchestrators into the pool. ClosedShow claim details.

Description A string indicating a description that provides additional context about the purpose or usage of the orchestrator pool.
Id A string indicating the Keyfactor Command reference GUID of the orchestrator pool.
JobTimeout

An integer indicating the maximum amount of time, in minutes, a job is allowed to run before it is considered timed out.

LastSeenThreshold

An integer that defines how long, in minutes, an orchestrator can go without registering before it is automatically removed from the pool.

This value must be greater than the RegistrationInterval.

If RemoveTransientOrchestrators is False, this value is not relevant.

Name A string indicating the unique, user-defined name of the orchestrator pool.
NumberOfOrchestrators An integer indicating the number orchestrators in the pool.
RegistrationInterval

An integer that specifies how frequently, in minutes, orchestrators in the pool register with Keyfactor Command to request new work and report job status.

This setting replaces the legacy heartbeat interval.

RemoveTransientOrchestrators

A Boolean that controls whether orchestrators are automatically removed from the pool if they have not registered with Keyfactor Command within the configured LastSeenThreshold.

RetryPauseInterval

An integer that specifies how long, in minutes, Keyfactor Command waits before rescheduling a job that completed with a retryable status.

This prevents retryable jobs from being immediately reassigned.

SessionJobLimit

An integer that indicates the limit on the number of jobs that Keyfactor Command assigns to an orchestrator during a single registration cycle.