Get an accessible guardrail evaluation target
GET
/v1/guardrails/{guardrailId}/evaluation-targetHow to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| guardrailId | path | string | Yes | — |
Query parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| versionId | query | string | No | — |
Body schema
This endpoint does not require a request body.
None.
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Guardrail and optional selected versionapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| guardrail | object | Yes | — |
| guardrail.id | string | Yes | Unique identifier. |
| guardrail.name | string | Yes | Human-readable name. |
| guardrail.description | string | Yes | Human-readable description. |
| guardrail.prompts | object[] | Yes | — |
| guardrail.prompts[].id | string | No | Unique identifier. |
| guardrail.prompts[].title | string | Yes | Display title. |
| guardrail.prompts[].prompt | string | Yes | — |
| guardrail.prompts[].createdAt | string | No | ISO 8601 timestamp. |
| guardrail.prompts[].created_at | string | No | — |
| guardrail.prompts[].updatedAt | string | No | ISO 8601 timestamp. |
| guardrail.prompts[].updated_at | string | No | — |
| guardrail.prompts[].metadata | object | No | Free-form metadata object. |
| guardrail.policy | object | Yes | — |
| guardrail.policy.schemaVersion | computer_agents_guardrail_policy_v1 | Yes | — |
| guardrail.policy.rules | object[] | Yes | — |
| guardrail.policy.rules[].id | string | Yes | Unique identifier. |
| guardrail.policy.rules[].match | object | Yes | — |
| guardrail.policy.rules[].match.actionClasses | string[] | No | — |
| guardrail.policy.rules[].match.operations | string[] | No | — |
| guardrail.policy.rules[].match.targetKinds | string[] | No | — |
| guardrail.policy.rules[].match.dataClassifications | public | internal | confidential | restricted | secret[] | No | — |
| guardrail.policy.rules[].outcome | ask | deny | Yes | Guardrails are restriction-only and cannot grant access. |
| guardrail.policy.rules[].minimumRing | 1 | 2 | 3 | No | — |
| guardrail.policy.rules[].severity | info | warning | high | critical | Yes | — |
| guardrail.policy.rules[].recommendedControl | deny_effect | park | pause | cancel | quarantine | Yes | — |
| guardrail.policy.rules[].obligations | human_approval | security_review | redact_output | verify_target | require_reversible_plan[] | Yes | — |
| guardrail.source | custom | default | Yes | — |
| guardrail.isDefault | boolean | Yes | — |
| guardrail.readOnly | boolean | Yes | — |
| guardrail.publishedVersionId | string | No | — |
| guardrail.metadata | object | No | Free-form metadata object. |
| guardrail.createdAt | string | No | ISO 8601 timestamp. |
| guardrail.updatedAt | string | No | ISO 8601 timestamp. |
| version | object | Yes | — |
| version.id | string | Yes | Unique identifier. |
| version.version | integer | Yes | — |
| version.label | string | Yes | — |
| version.name | string | Yes | Human-readable name. |
| version.description | string | Yes | Human-readable description. |
| version.status | saved | published | archived | Yes | Current lifecycle status. |
| version.snapshot | object | Yes | — |
| version.snapshot.schemaVersion | computer_agents_guardrail_v2 | Yes | — |
| version.snapshot.name | string | Yes | Human-readable name. |
| version.snapshot.description | string | Yes | Human-readable description. |
| version.snapshot.prompts | object[] | Yes | — |
| version.snapshot.prompts[].id | string | No | Unique identifier. |
| version.snapshot.prompts[].title | string | Yes | Display title. |
| version.snapshot.prompts[].prompt | string | Yes | — |
| version.snapshot.prompts[].createdAt | string | No | ISO 8601 timestamp. |
| version.snapshot.prompts[].created_at | string | No | — |
| version.snapshot.prompts[].updatedAt | string | No | ISO 8601 timestamp. |
| version.snapshot.prompts[].updated_at | string | No | — |
| version.snapshot.prompts[].metadata | object | No | Free-form metadata object. |
| version.snapshot.policy | object | Yes | — |
| version.snapshot.policy.schemaVersion | computer_agents_guardrail_policy_v1 | Yes | — |
| version.snapshot.policy.rules | object[] | Yes | — |
| version.snapshot.policy.rules[].id | string | Yes | Unique identifier. |
| version.snapshot.policy.rules[].match | object | Yes | — |
| version.snapshot.policy.rules[].match.actionClasses | string[] | No | — |
| version.snapshot.policy.rules[].match.operations | string[] | No | — |
| version.snapshot.policy.rules[].match.targetKinds | string[] | No | — |
| version.snapshot.policy.rules[].match.dataClassifications | public | internal | confidential | restricted | secret[] | No | — |
| version.snapshot.policy.rules[].outcome | ask | deny | Yes | Guardrails are restriction-only and cannot grant access. |
| version.snapshot.policy.rules[].minimumRing | 1 | 2 | 3 | No | — |
| version.snapshot.policy.rules[].severity | info | warning | high | critical | Yes | — |
| version.snapshot.policy.rules[].recommendedControl | deny_effect | park | pause | cancel | quarantine | Yes | — |
| version.snapshot.policy.rules[].obligations | human_approval | security_review | redact_output | verify_target | require_reversible_plan[] | Yes | — |
| version.snapshot.metadata | object | Yes | Free-form metadata object. |
| version.guardrailFingerprint | string | No | — |
| version.metadata | object | No | Free-form metadata object. |
| version.publishedAt | string | No | — |
| version.createdAt | string | No | ISO 8601 timestamp. |
| version.updatedAt | string | No | ISO 8601 timestamp. |
404Guardrail or selected version not found
None.
Get an accessible guardrail evaluation target
Loading...
Response 200
Loading...