Get the compiled runtime config for an Identity and Template.
GET /api/v1/forward/identities/{identity_id}/templates/{template_id}/effective
Returns the effective configuration after applying Identity Config overrides to the Template baseline. The response is designed for runtime execution and does not include Forward DSL fields such as enabled or op.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT or SAT> |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
identity_id | string | Yes | Forward Identity ID. |
template_id | string | Yes | Forward Template ID. |
Example request
Example response
HTTP 200 OK
Response fields
| Field | Type | Description |
|---|---|---|
type | string | Always effective_spec. |
agent_effective_hash | string | Hash of the compiled agent section. |
session_effective_hash | string | Hash of the compiled session section. |
effective_hash | string | Hash of the full effective config. |
agent | object | Compiled Agent configuration. See Agent object and the field descriptions below. |
session | object | Compiled session defaults. |
session.environment_variables | object | string | Final environment variables after merging the Template and Identity Config. |
Agent configuration structure
| Field | Type | Description |
|---|---|---|
| name / description | string | Name and description when present; may be omitted. |
model | string | object | Model ID string, or an object containing id and optional effort, speed, and context_window. See Model. |
| max_tool_rounds | integer | Maximum tool-call rounds per Turn inherited from the Template. |
| system | string | Final prompt compiled using replace / append; no mode or content object remains. |
| tools | array | Agent tool, including Tool config and Permission policy. Identity tools and toolsets overrides are merged into this array. |
| mcp_servers | array | Items contain name, type, and url. See Template MCP servers. |
| skills | array | Skill binding: type, skill_id, and optional version. |
| metadata | object | Template Agent metadata merged with identity_config.agent_metadata. |
multiagent | object | null | Multiagent configuration. May include {"type":"advisor","model":"ultimate"}; the Advisor model is a string. See Multiagent. |
system, tools, mcp_servers, and skills have different shapes from this compiled response.
Errors
| HTTP | Type | Code | Trigger |
|---|---|---|---|
| 400 | invalid_request_error | - | The Effective Config cannot be compiled. |
| 401 | authentication_error | authentication_required | The PAT or SAT is invalid or expired. |
| 404 | not_found_error | - | The Identity or Template does not exist. |
| 422 | invalid_request_error | - | Runtime configuration validation failed. |
Notes
- Identity Config overrides Template fields by field-specific merge rules.
- Missing Identity Config is treated as an empty override layer.
- The response does not include Forward override DSL fields such as
managed_tool_config; do not use it directly as the request body for Upsert Identity Config. - Default memory store injection is handled by the Session creation flow.

