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

# Attention: List Scim Groups

> List SCIM Groups. Attention List Scim Groups reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

List SCIM Groups.

<Info>
  Tool ID: `attention_list_scim_groups`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'attention_list_scim_groups',
  {
    "startIndex": 1,
    "count": 100
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute attention_list_scim_groups --input '{
  "startIndex": 1,
  "count": 100
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "schemas": [
      "example"
    ],
    "totalResults": 123,
    "startIndex": 123,
    "itemsPerPage": 123,
    "Resources": [
      {
        "id": "id_123"
      }
    ]
  }
}
```

Use `deepline tools get attention_list_scim_groups --json` for the latest machine-readable contract.

## Input reference

Retrieves a list of groups, supports filtering and pagination. Used by SCIM clients like Okta.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.startIndex` | `integer` | No | `1` | The 1-based index of the first result |
| `payload.count` | `integer` | No | `100` | Desired maximum number of query results per page |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Retrieves a list of groups, supports filtering and pagination. Used by SCIM clients like Okta.",
    "properties": {
      "startIndex": {
        "type": "integer",
        "description": "The 1-based index of the first result",
        "default": 1
      },
      "count": {
        "type": "integer",
        "description": "Desired maximum number of query results per page",
        "default": 100
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.schemas` | `array` | Yes | — | — |
| `result.data.totalResults` | `integer` | Yes | — | — |
| `result.data.startIndex` | `integer` | Yes | — | — |
| `result.data.itemsPerPage` | `integer` | Yes | — | — |
| `result.data.Resources` | `array` | Yes | — | — |
| `result.data.Resources[].schemas` | `array` | No | — | — |
| `result.data.Resources[].displayName` | `string` | No | — | — |
| `result.data.Resources[].id` | `string` | Yes | — | — |
| `result.data.Resources[].members` | `array` | No | — | — |
| `result.data.Resources[].members[].value` | `string` | Yes | — | — |
| `result.data.Resources[].members[].display` | `string` | Yes | — | — |
| `result.data.Resources[].urn:okta:custom:group:1.0` | `object` | No | — | — |
| `result.data.Resources[].urn:okta:custom:group:1.0.description` | `string` | No | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "schemas": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "totalResults": {
            "type": "integer"
          },
          "startIndex": {
            "type": "integer"
          },
          "itemsPerPage": {
            "type": "integer"
          },
          "Resources": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "schemas": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "displayName": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "members": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "string"
                      },
                      "display": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "display",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "urn:okta:custom:group:1.0": {
                  "type": "object",
                  "properties": {
                    "description": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "Resources",
          "itemsPerPage",
          "schemas",
          "startIndex",
          "totalResults"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Attention provider guide](/docs/providers/attention/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)


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