# Lumos

> Read Lumos users, groups, apps, entitlements and access requests.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/lumos

## Actions

### Get access request

Get access request in Lumos.

**Inputs**

- ID (`id`, text, required): The access request's ID, which `GET /v1/access-requests` returns as `id`.
- Expand (`expand`, list): Fields to expand. Supported values: tasks, custom_fields.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "app_id": "example",
    "app_name": "example",
    "custom_fields": [
      {
        "prompt": "example",
        "reference_key": "example",
        "response": "example"
      }
    ],
    "entitlements": [
      {
        "id": "example",
        "label": "example"
      }
    ],
    "expiration_in_seconds": 1,
    "expires_at": "example",
    "id": "example",
    "notes": {},
    "requested_at": "example",
    "requester_user": {
      "email": "example",
      "family_name": "example",
      "given_name": "example",
      "id": "example",
      "status": "staged"
    },
    "status": "pending",
    "supporter_user": {
      "email": "example",
      "family_name": "example",
      "given_name": "example",
      "id": "example",
      "status": "staged"
    },
    "target_user": {
      "email": "example",
      "family_name": "example",
      "given_name": "example",
      "id": "example",
      "status": "staged"
    },
    "tasks": [
      {
        "access_request_id": "example",
        "actions": [
          {}
        ],
        "app": {
          "id": {}
        },
        "assignees": [
          {}
        ],
        "category": "manager-approval",
        "comments": [
          {}
        ],
        "created_at": "example",
        "description": "example",
        "entitlement_id": "example",
        "id": "example",
        "instructions": "example",
        "product_area": "example",
        "resolved_by": {
          "email": {},
          "family_name": {},
          "given_name": {},
          "id": {},
          "status": {}
        },
        "status": "pending",
        "target_user": {
          "email": {},
          "family_name": {},
          "given_name": {},
          "id": {},
          "status": {}
        },
        "type": "access-request-approval",
        "updated_at": "example"
      }
    ]
  }
}
```

### Get app

Get app in Lumos.

**Inputs**

- App uuid (`app_uuid`, text, required): The app's ID, which `GET /v1/apps` returns as `id`.
- Expand (`expand`, list): Fields to expand. Supported fields: admins, approval_workflow, default_provisioning_workflow, default_deprovisioning_workflow, custom_attributes, appstore_settings.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "admins": [
      {
        "id": "example",
        "type": "user"
      }
    ],
    "app_class_id": "example",
    "approval_workflow": {
      "app_id": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "steps": [
        {
          "inputs": {},
          "name": {},
          "step": {}
        }
      ],
      "type": "approval"
    },
    "appstore_settings": {
      "in_app_store": true
    },
    "category": "example",
    "category_override": "example",
    "custom_attributes": {},
    "default_deprovisioning_workflow": {
      "app_id": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "steps": [
        {
          "inputs": {},
          "name": {},
          "step": {}
        }
      ],
      "type": "approval"
    },
    "default_provisioning_workflow": {
      "app_id": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "steps": [
        {
          "inputs": {},
          "name": {},
          "step": {}
        }
      ],
      "type": "approval"
    },
    "description": "example",
    "description_override": "example",
    "disconnected": true,
    "id": "example",
    "instance_id": "example",
    "label": "example",
    "label_override": "example",
    "logo_url": "example",
    "logo_url_override": "example",
    "post_approval_message": "example",
    "status": "discovered",
    "sync_status": "syncing",
    "website_url": "example",
    "website_url_override": "example"
  }
}
```

### Get app approval workflow

Get app approval workflow in Lumos.

**Inputs**

- App uuid (`app_uuid`, text, required): The app's ID, which `GET /v1/apps` returns as `id`.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "app_id": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "steps": [
      {
        "inputs": {},
        "name": "example",
        "step": "example"
      }
    ],
    "type": "approval"
  }
}
```

### Get app deprovisioning workflow

Get app deprovisioning workflow in Lumos.

**Inputs**

- App uuid (`app_uuid`, text, required): The app's ID, which `GET /v1/apps` returns as `id`.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "app_id": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "steps": [
      {
        "inputs": {},
        "name": "example",
        "step": "example"
      }
    ],
    "type": "approval"
  }
}
```

### Get app provisioning workflow

Get app provisioning workflow in Lumos.

**Inputs**

- App uuid (`app_uuid`, text, required): The app's ID, which `GET /v1/apps` returns as `id`.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "app_id": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "steps": [
      {
        "inputs": {},
        "name": "example",
        "step": "example"
      }
    ],
    "type": "approval"
  }
}
```

### Get AppStore settings

Get AppStore settings in Lumos.

**Inputs**

- App uuid (`app_uuid`, text, required): The app's ID, which `GET /v1/apps` returns as `id`.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "allow_multiple_permission_selection": true,
    "allow_permission_selection": true,
    "allowed_requester_group_uuids": [
      "example"
    ],
    "catalog_visibility": "visible",
    "custom_intake_fields": [
      {
        "description": "example",
        "dropdown_options": [
          {}
        ],
        "field_type": "text",
        "is_required": true,
        "prompt": "example",
        "reference_key": "example"
      }
    ],
    "default_entitlement": {
      "id": "example"
    },
    "in_app_store": true,
    "redirect_url": "example",
    "request_instructions": "example",
    "request_validation_webhook_uuid": "example",
    "time_based_access": {
      "default": "example",
      "options": [
        {
          "label": {},
          "value_seconds": {}
        }
      ]
    }
  }
}
```

### Get connected user

Get connected user in Lumos.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "email": "example",
    "family_name": "example",
    "given_name": "example",
    "id": "example",
    "status": "staged"
  }
}
```

### Get group

Get group in Lumos.

**Inputs**

- Group (`group_id`, text, required): The group's ID, which `GET /v1/groups` returns as `id`.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "app_id": "example",
    "description": "example",
    "group_lifecycle": "synced",
    "id": "example",
    "integration_specific_id": "example",
    "name": "example",
    "source_app_id": "example"
  }
}
```

### Get user

Get user in Lumos.

**Inputs**

- Record user (`record_user_id`, text, required): The user's ID, which `GET /v1/users` returns as `id`.
- Expand (`expand`, list): Fields to expand. Supported fields: custom_attributes.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "custom_attributes": {},
    "email": "example",
    "family_name": "example",
    "given_name": "example",
    "id": "example",
    "status": "staged"
  }
}
```

### List access requests

List access requests in Lumos.

**Inputs**

- Order by (`order_by`, text): Sort by when the request was made: `created_at` for oldest first (the default), `created_at desc` for newest first. One of: `created_at` (Created at), `created_at desc` (Created at desc).
- Expand (`expand`, list): Fields to expand. Supported values: tasks, custom_fields.
- Page token (`page_token`, text): Opaque cursor from a previous response's `next_page_token`. Omit to fetch the first page. Treat as opaque: do not decode, construct, or interpret it.
- Page size (`page_size`, number): Maximum number of items to return per page. Values above 1000 are clamped to 1000 rather than rejected. At least 1.
- Target user ID (`target_user_id`, text): Filters requests by the ID of the target user.
- Requester user ID (`requester_user_id`, text): Filters requests by the ID of the requesting user.
- Record user (`record_user_id`, text): Filters requests by the ID of the user.
- Statuses (`statuses`, list): Filters requests by their status. Possible values: 'pending', 'pending-manager-approval', 'manager-approved', 'manager-denied', 'pending-approval', 'approved', 'denied', 'expired', 'cancelled', 'pending-provisioning', 'pending-manual-provis. One or more of: `pending`, `pending-manager-approval`, `manager-approved`, `manager-denied`, `pending-approval`, `approved`, `denied`, `expired`, `cancelled`, `pending-provisioning`, and 11 more.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "access_requests": [
      {
        "app_id": "example",
        "app_name": "example",
        "custom_fields": [
          {}
        ],
        "entitlements": [
          {}
        ],
        "expiration_in_seconds": 1,
        "expires_at": "example",
        "id": "example",
        "notes": {},
        "requested_at": "example",
        "requester_user": {
          "email": {},
          "family_name": {},
          "given_name": {},
          "id": {},
          "status": {}
        },
        "status": "pending",
        "supporter_user": {
          "email": {},
          "family_name": {},
          "given_name": {},
          "id": {},
          "status": {}
        },
        "target_user": {
          "email": {},
          "family_name": {},
          "given_name": {},
          "id": {},
          "status": {}
        },
        "tasks": [
          {}
        ]
      }
    ],
    "next_page_token": "example"
  }
}
```

### List app administrators

List app administrators in Lumos.

**Inputs**

- App uuid (`app_uuid`, text, required): The app's ID, which `GET /v1/apps` returns as `id`.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "admins": [
      {
        "id": "example",
        "type": "user"
      }
    ]
  }
}
```

### List app entitlements

List app entitlements in Lumos.

**Inputs**

- App uuid (`app_uuid`, text, required): The app's ID, which `GET /v1/apps` returns as `id`.
- Expand (`expand`, list): Fields to expand. Supported fields: approval_workflow_override, provisioning_workflow, deprovisioning_workflow, appstore_settings.
- Visible in appstore (`visible_in_appstore`, true/false): Filter by AppStore catalog visibility. When present, only entitlements configured in the AppStore catalog are considered: `true` returns those visible in the catalog, `false` those hidden from it. While the app isn't in the AppStore, all of
- Search (`search`, text): Case-insensitive substring match against the entitlement's label. Resend it with each `page_token`.
- Page token (`page_token`, text): Opaque cursor from a previous response's `next_page_token`. Omit to fetch the first page. Treat as opaque: do not decode, construct, or interpret it.
- Page size (`page_size`, number): Maximum number of items to return per page. Values above 1000 are clamped to 1000 rather than rejected. At least 1.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "entitlements": [
      {
        "app_id": "example",
        "approval_workflow_override": {
          "app_id": {},
          "description": {},
          "id": {},
          "name": {},
          "steps": {},
          "type": {}
        },
        "appstore_settings": {
          "allowed_requester_group_uuids_override": {},
          "request_validation_webhook_uuid": {},
          "time_based_access_override": {},
          "visible_in_appstore": {}
        },
        "custom_approval_message_override": "example",
        "deprovisioning_workflow": {
          "app_id": {},
          "description": {},
          "id": {},
          "name": {},
          "steps": {},
          "type": {}
        },
        "description": "example",
        "description_override": "example",
        "entitlement_type_label": "example",
        "id": "example",
        "label": "example",
        "provisioning_workflow": {
          "app_id": {},
          "description": {},
          "id": {},
          "name": {},
          "steps": {},
          "type": {}
        },
        "source": "google-workspace-quick-inbox"
      }
    ],
    "next_page_token": "example"
  }
}
```

### List apps

List apps in Lumos.

**Inputs**

- Expand (`expand`, list): Fields to expand. Supported fields: admins, approval_workflow, default_provisioning_workflow, default_deprovisioning_workflow, custom_attributes, appstore_settings.
- Page token (`page_token`, text): Opaque cursor from a previous response's `next_page_token`. Omit to fetch the first page. Treat as opaque: do not decode, construct, or interpret it.
- Page size (`page_size`, number): Maximum number of items to return per page. Values above 250 are clamped to 250 rather than rejected. At least 1.
- Catalog visibility (`catalog_visibility`, text): Filter by the app's `appstore_settings.catalog_visibility` (`visible`, `search-only` or `hidden`). Pair it with `in_app_store=true` to list the AppStore by visibility; "Who Can Request" groups don't narrow this list. One of: `visible`, `search-only`, `hidden`.
- Connection source (`connection_source`, text): Filter to integrations connected via this source (`api` or `ui`). One of: `api`, `ui`.
- Disconnected (`disconnected`, true/false): Filter on whether the app has been disconnected. `false` excludes disconnected apps, `true` returns only disconnected apps whose record Lumos still holds, and omitting it lists every app. Pair `false` with `connection_source=api` to list on
- In app store (`in_app_store`, true/false): Filter by AppStore membership. `true` returns only apps in the AppStore; `false` returns only apps not in the AppStore; omit for all apps.
- Search (`search`, text): Case-insensitive substring match against the app's label, instance identifier, and app class ID. Resend it with each `page_token`.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "apps": [
      {
        "admins": [
          {}
        ],
        "app_class_id": "example",
        "approval_workflow": {
          "app_id": {},
          "description": {},
          "id": {},
          "name": {},
          "steps": {},
          "type": {}
        },
        "appstore_settings": {
          "in_app_store": {}
        },
        "category": "example",
        "category_override": "example",
        "custom_attributes": {},
        "default_deprovisioning_workflow": {
          "app_id": {},
          "description": {},
          "id": {},
          "name": {},
          "steps": {},
          "type": {}
        },
        "default_provisioning_workflow": {
          "app_id": {},
          "description": {},
          "id": {},
          "name": {},
          "steps": {},
          "type": {}
        },
        "description": "example",
        "description_override": "example",
        "disconnected": true,
        "id": "example",
        "instance_id": "example",
        "label": "example",
        "label_override": "example",
        "logo_url": "example",
        "logo_url_override": "example",
        "post_approval_message": "example",
        "status": "discovered",
        "sync_status": "syncing",
        "website_url": "example",
        "website_url_override": "example"
      }
    ],
    "next_page_token": "example"
  }
}
```

### List AppStore catalog

List AppStore catalog in Lumos.

**Inputs**

- Target user uuid (`target_user_uuid`, text): The user to return the catalog for. Defaults to the caller. Viewing anyone else's catalog requires permission to read AppStore items.
- Search (`search`, text): Case-insensitive substring match against the app's label and description. Resend it with each `page_token`.
- Page token (`page_token`, text): Opaque cursor from a previous response's `next_page_token`. Omit to fetch the first page. Treat as opaque: do not decode, construct, or interpret it.
- Page size (`page_size`, number): Maximum number of items to return per page. Values above 250 are clamped to 250 rather than rejected. At least 1.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "apps": [
      {
        "app_class_id": "example",
        "appstore_settings": {
          "allow_multiple_permission_selection": {},
          "allow_permission_selection": {},
          "allowed_requester_group_uuids": {},
          "custom_intake_fields": {},
          "default_entitlement": {},
          "redirect_url": {},
          "request_instructions": {},
          "request_validation_webhook_uuid": {},
          "time_based_access": {}
        },
        "category": "example",
        "description": "example",
        "disconnected": true,
        "id": "example",
        "instance_id": "example",
        "label": "example",
        "logo_url": "example",
        "status": "discovered",
        "website_url": "example"
      }
    ],
    "next_page_token": "example"
  }
}
```

### List group members

List group members in Lumos.

**Inputs**

- Group (`group_id`, text, required): The group's ID, which `GET /v1/groups` returns as `id`.
- Page token (`page_token`, text): Opaque cursor from a previous response's `next_page_token`. Omit to fetch the first page. Treat as opaque: do not decode, construct, or interpret it.
- Page size (`page_size`, number): Maximum number of items to return per page. Values above 1000 are clamped to 1000 rather than rejected. At least 1.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "next_page_token": "example",
    "users": [
      {
        "email": "example",
        "family_name": "example",
        "given_name": "example",
        "id": "example",
        "status": "staged"
      }
    ]
  }
}
```

### List groups

List groups in Lumos.

**Inputs**

- Integration specific ID (`integration_specific_id`, text): Filters groups by integration specific ID, e.g. the group's Okta ID.
- Name (`name`, text): Filters groups by name.
- Exact match (`exact_match`, true/false): Search filter should be an exact match.
- App ID (`app_id`, text): Filters groups by the ID of the app to which they belong.
- Page token (`page_token`, text): Opaque cursor from a previous response's `next_page_token`. Omit to fetch the first page. Treat as opaque: do not decode, construct, or interpret it.
- Page size (`page_size`, number): Maximum number of items to return per page. Values above 1000 are clamped to 1000 rather than rejected. At least 1.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "groups": [
      {
        "app_id": "example",
        "description": "example",
        "group_lifecycle": "synced",
        "id": "example",
        "integration_specific_id": "example",
        "name": "example",
        "source_app_id": "example"
      }
    ],
    "next_page_token": "example"
  }
}
```

### List requestable app entitlements

List requestable app entitlements in Lumos.

**Inputs**

- App uuid (`app_uuid`, text, required): The app's ID, which `GET /v1/apps` returns as `id`.
- Target user uuid (`target_user_uuid`, text): UUID of the user whose entitlement AppStore catalog to view. Defaults to the caller. Viewing another user's catalog requires READ_APP_STORE_ITEMS on this app.
- Search (`search`, text): Case-insensitive substring match against the entitlement's label. Resend it with each `page_token`.
- Page token (`page_token`, text): Opaque cursor from a previous response's `next_page_token`. Omit to fetch the first page. Treat as opaque: do not decode, construct, or interpret it.
- Page size (`page_size`, number): Maximum number of items to return per page. Values above 1000 are clamped to 1000 rather than rejected. At least 1.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "entitlements": [
      {
        "description": "example",
        "id": "example",
        "label": "example",
        "source": "google-workspace-quick-inbox",
        "time_based_access": [
          {}
        ]
      }
    ],
    "next_page_token": "example"
  }
}
```

### List user accounts

List user accounts in Lumos.

**Inputs**

- Record user (`record_user_id`, text, required): The user's ID, which `GET /v1/users` returns as `id`.
- Expand (`expand`, list): Fields to expand. Supported fields: app.
- Page token (`page_token`, text): Opaque cursor from a previous response's `next_page_token`. Omit to fetch the first page. Treat as opaque: do not decode, construct, or interpret it.
- Page size (`page_size`, number): Maximum number of items to return per page. Values above 100 are clamped to 100 rather than rejected. At least 1.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "accounts": [
      {
        "account_type": "user",
        "app": {
          "app_class_id": {},
          "category": {},
          "description": {},
          "disconnected": {},
          "id": {},
          "instance_id": {},
          "label": {},
          "logo_url": {},
          "status": {},
          "website_url": {}
        },
        "app_id": "example",
        "discovered_at": "example",
        "email": "example",
        "id": "example",
        "last_activity": "example",
        "last_login": "example",
        "sources": [
          {}
        ],
        "status": "discovered",
        "unique_identifier": "example",
        "user_id": "example"
      }
    ],
    "next_page_token": "example"
  }
}
```

### List user roles

List user roles in Lumos.

**Inputs**

- Record user (`record_user_id`, text, required): The user's ID, which `GET /v1/users` returns as `id`.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "roles": [
      {
        "id": "example",
        "is_custom": true,
        "label": "example",
        "resource_type": "app"
      }
    ],
    "user_id": "example"
  }
}
```

### List users

List users in Lumos.

**Inputs**

- Search (`search`, text): Search for users by name or email.
- Exact match (`exact_match`, true/false): Only return users whose name or email equals `search` exactly.
- Expand (`expand`, list): Fields to expand. Supported fields: custom_attributes.
- Page token (`page_token`, text): Opaque cursor from a previous response's `next_page_token`. Omit to fetch the first page. Treat as opaque: do not decode, construct, or interpret it.
- Page size (`page_size`, number): Maximum number of items to return per page. Values above 100 are clamped to 100 rather than rejected. At least 1.

**Outputs**

- `data` (object): The response from Lumos.

**Example output**

```json
{
  "data": {
    "next_page_token": "example",
    "users": [
      {
        "custom_attributes": {},
        "email": "example",
        "family_name": "example",
        "given_name": "example",
        "id": "example",
        "status": "staged"
      }
    ]
  }
}
```
