---
title: "Create Classifier Binding"
method: POST
path: "/api/v1/classifier_bindings"
tags: ["Classifiers"]
---

# Create Classifier Binding

`POST /api/v1/classifier_bindings`

## Request

- Base URL: `https://example.conductor.one`
- URL: `https://example.conductor.one/api/v1/classifier_bindings`
- Auth: HTTP bearer and OAuth 2
  - Client credentials
  - Token URL: `/auth/v1/token`

Create attaches a classifier to an enforcement target.

## Request body

- C1ApiAiGovernanceV1CreateClassifierBindingRequest: The CreateClassifierBindingRequest message.
  - `binding` C1ApiAiGovernanceV1ClassifierBinding, required: ClassifierBinding attaches one Classifier to one enforcement target. surface must be AGENT or GATEWAY; UNSPECIFIED and BOTH are invalid here. Attach a shared classifier twice to use the same classifier_id on both surfaces. Each call resolves only its originating surface, never both cascades.
    - `classifierId` string, required: The classifierId field.
    - `createdAt` string, date-time, nullable
    - `deletedAt` string, date-time, nullable
    - `id` string: The id field.
    - `surface` 'CLASSIFIER_TYPE_UNSPECIFIED' | 'CLASSIFIER_TYPE_AGENT' | 'CLASSIFIER_TYPE_GATEWAY' | 'CLASSIFIER_TYPE_BOTH', required: The surface field.
    - `targetId` string: The targetId field.
    - `tenantId` string: The tenantId field.
    - `updatedAt` string, date-time, nullable

## Response `200`

Successful response

- C1ApiAiGovernanceV1CreateClassifierBindingResponse: The CreateClassifierBindingResponse message.
  - `binding` C1ApiAiGovernanceV1ClassifierBinding: ClassifierBinding attaches one Classifier to one enforcement target. surface must be AGENT or GATEWAY; UNSPECIFIED and BOTH are invalid here. Attach a shared classifier twice to use the same classifier_id on both surfaces. Each call resolves only its originating surface, never both cascades.
    - `classifierId` string, required: The classifierId field.
    - `createdAt` string, date-time, nullable
    - `deletedAt` string, date-time, nullable
    - `id` string: The id field.
    - `surface` 'CLASSIFIER_TYPE_UNSPECIFIED' | 'CLASSIFIER_TYPE_AGENT' | 'CLASSIFIER_TYPE_GATEWAY' | 'CLASSIFIER_TYPE_BOTH', required: The surface field.
    - `targetId` string: The targetId field.
    - `tenantId` string: The tenantId field.
    - `updatedAt` string, date-time, nullable

## Changes

- **2026-10-06** `918a4e749f56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/classifier_bindings/post.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) - [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conductorone/apis/c1-api/revisions/fe943bedf41b?raw)
