> ## 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.

# Classify placement

> Start the explicitly selected classification quote once.

`classify_placement`

Start the explicitly selected classification quote once. The durable receipt binds evidence, scope, token ceiling and supplier budget. Replay returns the same job. Unclear paid outcomes require reconciliation and never trigger another model call.

<Note>Development preview. This command is absent from the verified deployed bundle. Use a matching development environment.</Note>

| Access | Behavior |
| - | - |
| `watches:read`, `classification:write` | Writes or admits work |

This operation changes saved state. Review its inputs and retry behavior before calling.

## 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": "classify_placement",
      "arguments": {
        "watchId": "watch_example",
        "quoteId": "classification_quote_example",
        "idempotencyKey": "classification-example-1"
      }
    }
  }
  ```

  ```bash CLI theme={null}
  agentlinkops call classify_placement --args '{"watchId":"watch_example","quoteId":"classification_quote_example","idempotencyKey":"classification-example-1"}'
  ```

  ```bash HTTP theme={null}
  curl "$AGENTLINKOPS_API_URL/v1/commands/classify_placement" \
    -H "Authorization: Bearer $AGENTLINKOPS_API_KEY" \
    -H 'Content-Type: application/json' \
    --data '{"watchId":"watch_example","quoteId":"classification_quote_example","idempotencyKey":"classification-example-1"}'
  ```
</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}
{
  "id": "classification_job_example",
  "state": "queued",
  "reason": null,
  "canReconcile": false
}
```

## 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 |
| - | - | - | - |
| `watchId` | string | Required | Identifier of the watch returned by its create or list operation. minLength: 1; maxLength: 200 |
| `quoteId` | string | Required | Identifier of the quote returned by its create or list operation. minLength: 1; maxLength: 200 |
| `idempotencyKey` | string | Required | Caller-generated key reused only for retries of the same operation and arguments in this workspace. minLength: 8; maxLength: 200 |

### Validation and omitted values

Queues at most one bounded supplier invocation under the selected quote and idempotency key. Reuse the same key after an unclear start; never create a fresh paid attempt to recover a timeout. Model outputs remain suggestions.

Link presence, Google index evidence, source authority and customer acquisition records remain independent of classification.

Current retained evidence, project access and the classification revision govern writes. An expired or changed source cannot authorize a current label. Existing keys and grants do not silently gain classification:write.

## 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.

| Field | Type | Presence | Meaning and constraints |
| - | - | - | - |
| `id` | string | Required | Resource identifier returned by the operation. minLength: 1; maxLength: 200 |
| `state` | string | Required | Saved lifecycle or evidence state, as enumerated for this record. values: "queued", "dispatched", "succeeded", "failed", "reconciliation\_required", "cancelled" |
| `reason` | string / null | Optional | Recorded explanation; null when no explanation applies. |

[Download input schema](/schemas/classify_placement.input.json) · [Download output schema](/schemas/classify_placement.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. Operation-specific errors include `CLASSIFICATION_PRECONDITION_CHANGED`, `CLASSIFICATION_EVIDENCE_EXPIRED`, `CLASSIFICATION_ACCESS_DENIED`.

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

These existing resource routes share the operation’s domain behavior. Their parameter placement, status and response envelope can differ from generic invocation. See [HTTP route details](/reference/http/routes).

| Method and route | Success | Details |
| - | - | - |
| `POST /v1/watches/{watchId}/classification/classify` | 202 | Queues at most one bounded supplier invocation under the selected quote and idempotency key. Reuse the same key after an unclear start; never create a fresh paid attempt to recover a timeout. Model outputs remain suggestions. |

## Continue

[get\_placement\_context](/reference/commands/get_placement_context)

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.