Retrieve a Forward template by ID.
HTTP 200 OK
Request headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT> |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
template_id | string | Yes | Forward Template ID. |
Example request
Example response
HTTP 200 OK
Response fields
| Field | Type | Description |
|---|---|---|
type | string | Always template. |
id | string | Template ID. |
name | string | Template name. |
status | string | active or archived. |
model | string | Model identifier. |
system | string | System prompt. |
environment_id | string | Default Environment ID. |
metadata | object | Custom metadata. |
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | authentication_error | PAT invalid or expired. |
| 403 | permission_error | Not authorized for this resource. |
| 404 | not_found_error | Template does not exist or is not visible to the caller. |
Notes
- Archived templates can still be retrieved by ID.
- Runtime-only Qoder Cloud Agents fields are not added to this response.