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

# アイデンティティ構成を取得する

> 1 つの Identity と Template に対する Identity Config を取得します。

`GET /api/v1/forward/identities/{identity_id}/templates/{template_id}/config`

保存された Forward Identity Config DSL を返します。これはオーバーライドレイヤーであり、コンパイルされたランタイム構成ではありません。

## Headers

| Header          | Required | Description    |
| --------------- | -------- | -------------- |
| `Authorization` | Yes      | `Bearer <PAT>` |

## Path parameters

| Parameter     | Type   | Required | Description          |
| ------------- | ------ | -------- | -------------------- |
| `identity_id` | string | Yes      | Forward Identity ID。 |
| `template_id` | string | Yes      | Forward Template ID。 |

## Example request

```bash theme={null}
curl -s -X GET 'https://api.qoder.com/api/v1/forward/identities/idn_019eabc123/templates/tmpl_support/config' \
  -H "Authorization: Bearer $QODER_PAT"
```

## Example response

**HTTP 200 OK**

```json theme={null}
{
  "type": "config",
  "identity_id": "idn_019eabc123",
  "template_id": "tmpl_support",
  "name": "CRM profile",
  "status": "active",
  "identity_config": {
    "system": {
      "mode": "append",
      "content": "Prefer CRM data when answering."
    },
    "skills": {
      "skill_customer_reply": {
        "enabled": true
      }
    }
  },
  "metadata": {},
  "created_at": "2026-06-18T10:00:00Z",
  "updated_at": "2026-06-18T10:00:00Z"
}
```

## Response fields

| Field             | Type   | Description               |
| ----------------- | ------ | ------------------------- |
| `type`            | string | 常に `config`。              |
| `identity_id`     | string | Forward Identity ID。      |
| `template_id`     | string | Forward Template ID。      |
| `identity_config` | object | 保存されたユーザーレベルのオーバーライド DSL。 |
| `metadata`        | object | カスタムメタデータ。                |
| `created_at`      | string | 作成タイムスタンプ。                |
| `updated_at`      | string | 更新タイムスタンプ。                |

## Errors

| HTTP | Type                   | Trigger                               |
| ---- | ---------------------- | ------------------------------------- |
| 401  | `authentication_error` | PAT が無効または期限切れです。                     |
| 404  | `not_found_error`      | Identity、Template、または Config が存在しません。 |

## Notes

* コンパイルされたランタイム構成を確認するには Get Effective Config を使用してください。
* リソースマップ内の `enabled: false` は、継承された Template リソースを無効化します。

## Related

<CardGroup cols={2}>
  <Card title="アイデンティティ構成を作成または更新する" icon="gear" href="/cloud-agents/api/forward/identities/upsert-config" />

  <Card title="有効な構成を取得する" icon="layer-group" href="/cloud-agents/api/forward/identities/effective" />
</CardGroup>
