---
title: "List Recommendation Translation Rules of the given active directory"
method: GET
path: "/api/v2/activedirectories/{provider_name}/translation-rules/recommendation"
tags: ["Translation Rules", "Active Directory"]
---

# List Recommendation Translation Rules of the given active directory

`GET /api/v2/activedirectories/{provider_name}/translation-rules/recommendation`

## Request

- Base URL: `https://console.jumpcloud.com`
- URL: `https://console.jumpcloud.com/api/v2/activedirectories/{provider_name}/translation-rules/recommendation`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/v2/activedirectories/:provider_name/translation-rules/recommendation/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows you to list all translation rules for a given Active Directory domain instance.

#### Sample Request
```
curl -X GET '[https://console.jumpcloud.com/api/v2/activedirectories/](https://console.jumpcloud.com/api/v2/activedirectories/){provider_name}/translationrules/recommendations?limit=100&skip=0' \
  -H 'accept: application/json' \
  -H 'content-type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -H 'x-org-id: {ORG_ID}'
```

## Query parameters

- `filter` string[]
- `limit` integer
- `skip` integer

## Headers

- `x-org-id` string

## Response `200`

A list of translation rules.

- ActiveDirectoriesTranslationRulesListResponse
  - `rules` JumpcloudIdmTranslationRule[]
    - `appliedOn` JumpcloudIdmAppliedOn[]: Operations when this translation rule is applied (CREATE, UPDATE)
    - `default` boolean: Indicates if this is a default translation rule created by jumpcloud
    - `destination` string: Destination field path where translated value will be stored
    - `direction` 'UNSPECIFIED' | 'EXPORT' | 'IMPORT': Direction defines the direction of the attribute mapping.
    - `editable` boolean: Indicates if this translation rule can be modified
    - `id` string, byte: Unique identifier for the translation rule
    - `required` boolean: Indicates if this translation is required
    - `source` string: Source field path or expression to be translated
    - `sourceType` 'PATH' | 'GOLANG_TEMPLATE' | 'CONSTANT' | 'EXPR' | 'ENUMERATION': SourceType defines the type of the source field in attribute mapping.
  - `totalCount` integer: Total number of translation rules matching the criteria.

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
