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

# Get admission decisions

> Read the immutable decisions for one prior admission operation.

`get_admission_decisions`

Read the immutable decisions for one prior admission operation. Historical admission is not authorization for new work.

<Note>Available in the deployed MCP and HTTP bundle. Confirm access and inputs with your connected catalog. Workspace scopes and enabled providers still apply.</Note>

| Access           | Behavior         |
| ---------------- | ---------------- |
| `discovery:read` | Reads saved data |

This read does not start a verification job.

## Example request

Connect through [MCP](/guides/connect-mcp), [CLI](/guides/connect-cli), or [HTTP](/guides/connect-http). Replace example identifiers with records from your workspace.

<CodeGroup>
  ```json MCP theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "get_admission_decisions",
      "arguments": {
        "projectId": "project_example",
        "operationId": "operation_example"
      }
    }
  }
  ```

  ```bash CLI theme={null}
  agentlinkops call get_admission_decisions --args '{"projectId":"project_example","operationId":"operation_example"}'
  ```

  ```bash HTTP theme={null}
  curl "$AGENTLINKOPS_API_URL/v1/commands/get_admission_decisions" \
    -H "Authorization: Bearer $AGENTLINKOPS_API_KEY" \
    -H 'Content-Type: application/json' \
    --data '{"projectId":"project_example","operationId":"operation_example"}'
  ```
</CodeGroup>

## Returned result

Illustrative data validated against the documented response schema. IDs and dates are examples, not a live account capture. MCP returns this data in `structuredContent` and in a text content block; generic HTTP and CLI return the JSON result directly.

```json theme={null}
{
  "operation_id": "aop_example",
  "project_id": "project_example",
  "context": "import",
  "decisions": [
    {
      "index": 0,
      "url": "https://publisher.example.org/page",
      "normalized_url": "https://publisher.example.org/page",
      "host": "publisher.example.org",
      "decision": "admitted",
      "reason": "admitted",
      "rule_kind": null,
      "rule_id": null,
      "rule_value": null,
      "cap": null,
      "subject_key": "row_0"
    }
  ],
  "summary": {
    "total": 1,
    "admitted": 1,
    "rejected": 0,
    "by_rule": {}
  },
  "policy_revision": 0,
  "disavow_revision": 0,
  "replayed": true
}
```

## Input fields

Omit optional fields when you do not want to supply them. Null is accepted only where listed. Unknown input properties are rejected.

| Field         | Type   | Presence | Meaning and constraints                                                                            |
| ------------- | ------ | -------- | -------------------------------------------------------------------------------------------------- |
| `projectId`   | string | Required | Identifier of the project returned by its create or list operation. minLength: 1; maxLength: 200   |
| `operationId` | string | Required | Identifier of the operation returned by its create or list operation. minLength: 1; maxLength: 200 |

### Validation and omitted values

Current policy applies before durable import or candidate work. Rejected rows retain their reason and original row identity.

Evaluation and retained-record reevaluation do not mutate records. Report pages do not apply whole-import domain caps; a changed policy requires restarting pagination. Historical receipts describe the original operation, not permission for new work.

## Output fields

Fields inside optional or nullable parents apply only when that parent exists. [Common schema conventions](/reference/schemas) explain evidence states, empty lists and extensions.

* **`operation_id`** (string, required): Identifier returned by the related operation. minLength: 1; maxLength: 200
* **`project_id`** (string, required): Project that owns this record. minLength: 1; maxLength: 200
* **`context`** (string, required): values: "import", "candidate", "candidate\_batch", "serve"
* **`decisions`** (array, required).
* **`summary`** (object, required): Grouped change counts included in this delivery, limited to accessible websites. additional fields rejected
* **`policy_revision`** (integer, required): minimum: 0; maximum: 9007199254740991
* **`disavow_revision`** (integer, required): minimum: 0; maximum: 9007199254740991
* **`replayed`** (boolean, required): True when the response reuses an earlier request with the same idempotency value.

<Accordion title="All fields and nested objects">
  | Field                        | Type          | Presence | Meaning and constraints                                                                                     |
  | ---------------------------- | ------------- | -------- | ----------------------------------------------------------------------------------------------------------- |
  | `operation_id`               | string        | Required | Identifier returned by the related operation. minLength: 1; maxLength: 200                                  |
  | `project_id`                 | string        | Required | Project that owns this record. minLength: 1; maxLength: 200                                                 |
  | `context`                    | string        | Required | values: "import", "candidate", "candidate\_batch", "serve"                                                  |
  | `decisions`                  | array         | Required |                                                                                                             |
  | `decisions[].index`          | integer       | Required | minimum: 0; maximum: 9007199254740991                                                                       |
  | `decisions[].url`            | string        | Required |                                                                                                             |
  | `decisions[].normalized_url` | string / null | Required |                                                                                                             |
  | `decisions[].host`           | string / null | Required |                                                                                                             |
  | `decisions[].decision`       | string        | Required | values: "admitted", "rejected"                                                                              |
  | `decisions[].reason`         | string        | Required | Recorded explanation; null when no explanation applies.                                                     |
  | `decisions[].rule_kind`      | string / null | Required |                                                                                                             |
  | `decisions[].rule_id`        | string / null | Required | Identifier returned by the related operation.                                                               |
  | `decisions[].rule_value`     | string / null | Required |                                                                                                             |
  | `decisions[].cap`            | object / null | Required |                                                                                                             |
  | `decisions[].cap.limit`      | integer       | Required | maximum: 9007199254740991; exclusiveMinimum: 0                                                              |
  | `decisions[].cap.used`       | integer       | Required | minimum: 0; maximum: 9007199254740991                                                                       |
  | `decisions[].subject_key`    | string        | Required | minLength: 1; maxLength: 200                                                                                |
  | `summary`                    | object        | Required | Grouped change counts included in this delivery, limited to accessible websites. additional fields rejected |
  | `summary.total`              | integer       | Required | minimum: -9007199254740991; maximum: 9007199254740991                                                       |
  | `summary.admitted`           | integer       | Required | minimum: -9007199254740991; maximum: 9007199254740991                                                       |
  | `summary.rejected`           | integer       | Required | minimum: -9007199254740991; maximum: 9007199254740991                                                       |
  | `summary.by_rule`            | object        | Required |                                                                                                             |
  | `policy_revision`            | integer       | Required | minimum: 0; maximum: 9007199254740991                                                                       |
  | `disavow_revision`           | integer       | Required | minimum: 0; maximum: 9007199254740991                                                                       |
  | `replayed`                   | boolean       | Required | True when the response reuses an earlier request with the same idempotency value.                           |
</Accordion>

[Download input schema](/schemas/get_admission_decisions.input.json) · [Download output schema](/schemas/get_admission_decisions.output.json)

## Errors and retries

The command is annotated idempotent. Reuse an accepted idempotency key when the input provides one; changing the payload under a reused key can conflict.

See [error recovery](/reference/errors) for status, scope, cooldown, cursor and retry handling. Unknown observations are result data and do not establish loss.

## HTTP resource routes

This operation has no separate resource alias. Use its generic command route in a matching environment.

## Continue

[evaluate\_admission](/reference/commands/evaluate_admission)

Follow the [related workflow](/guides/import-and-verify), inspect [capability status](/capability-status), or return to the [command index](/reference/index).
