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

# Cluster Issues

> Assign issues to loops using the workspace's promoted model.

Read-only: scores and returns, writes nothing. Abstains honestly (per issue, with a
reason) when there is no promoted model, no embedding, or the assignment is too
uncertain to be trustworthy.



## OpenAPI

````yaml /openapi.json post /v1/inference/cluster
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/inference/cluster:
    post:
      tags:
        - inference
      summary: Cluster Issues
      description: >-
        Assign issues to loops using the workspace's promoted model.


        Read-only: scores and returns, writes nothing. Abstains honestly (per
        issue, with a

        reason) when there is no promoted model, no embedding, or the assignment
        is too

        uncertain to be trustworthy.
      operationId: cluster_issues_v1_inference_cluster_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InferenceRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Cluster Issues V1 Inference Cluster Post
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    InferenceRequest:
      properties:
        issues:
          items:
            $ref: '#/components/schemas/InferenceIssueIn'
          maxItems: 500
          minItems: 1
          title: Issues
          type: array
      required:
        - issues
      title: InferenceRequest
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    InferenceIssueIn:
      properties:
        id:
          description: Issue id. If it already has a stored embedding, that vector is used.
          title: Id
          type: string
        text:
          default: ''
          description: >-
            Issue text. Only used to embed on the fly when no stored vector
            exists.
          title: Text
          type: string
      required:
        - id
      title: InferenceIssueIn
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````