FruxonDocs
Agent NetworkParticipants

Lists the tenant's directory sync jobs, newest first — imports and the undos of their enrollment.

The history behind the wizard: what each sync created, refreshed and enrolled, and whether its enrollment has since been reversed (an undo row carries `sourceRunId`). It is what makes `POST directory/importRuns/{importRun}:undoEnrollment` reachable at all once the wizard is closed — a mis-scoped sync is usually noticed hours later, not on the completion screen.

GET
/v1/tenants/{tenant}/directory/importRuns
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

tenant*string

The tenant identifier

Query Parameters

PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.

scheduleId?string

Narrows the history to the runs one sync schedule produced — the answer to "has this periodic sync actually been running, and what has it been changing?". Omit for every job, scheduled or hand-started.

Formatuuid

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/directory/importRuns"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "kind": "IMPORT",
      "sourceRunId": "00000000-0000-0000-0000-000000000000",
      "provider": "string",
      "integrationConfigId": "00000000-0000-0000-0000-000000000000",
      "scheduleId": "00000000-0000-0000-0000-000000000000",
      "targetNetworkId": "00000000-0000-0000-0000-000000000000",
      "targetAgentMode": "ON",
      "enrollmentScope": "ALL_CONTACTS",
      "enrollmentEnvironmentIds": [
        "00000000-0000-0000-0000-000000000000"
      ],
      "status": "PENDING",
      "participantsCreated": 0,
      "participantsUpdated": 0,
      "participantsExisting": 0,
      "participantsFailed": 0,
      "contactsUnaffiliated": 0,
      "valuesWithheld": 0,
      "sampleFailures": [],
      "accessGranted": 0,
      "accessAlreadyGranted": 0,
      "accessSkipped": 0,
      "accessOutOfScope": 0,
      "channelsActuated": 0,
      "channelsNotActuated": 0,
      "accessWithdrawn": 0,
      "accessLeftAlone": 0,
      "channelsReleased": 0,
      "channelsNotReleased": 0,
      "errorMessage": "string",
      "createdAt": 0,
      "modifiedAt": 0,
      "startedAt": 0,
      "completedAt": 0
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}