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

# Query Conclusions

> Query Conclusions using semantic search. Use `top_k` to control the number of results returned.



## OpenAPI

````yaml post /v3/workspaces/{workspace_id}/conclusions/query
openapi: 3.1.0
info:
  title: Honcho API
  summary: The Identity Layer for the Agentic World
  description: >-
    Honcho is a platform for giving agents user-centric memory and social
    cognition.
  contact:
    name: Plastic Labs
    url: https://honcho.dev/
    email: hello@plasticlabs.ai
  version: 3.0.7
servers:
  - url: https://api.honcho.dev
    description: Production SaaS Platform
  - url: http://localhost:8000
    description: Local Development Server
security: []
paths:
  /v3/workspaces/{workspace_id}/conclusions/query:
    post:
      tags:
        - conclusions
      summary: Query Conclusions
      description: >-
        Query Conclusions using semantic search. Use `top_k` to control the
        number of results returned.
      operationId: query_conclusions_v3_workspaces__workspace_id__conclusions_query_post
      parameters:
        - name: workspace_id
          in: path
          required: true
          schema:
            type: string
            title: Workspace Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConclusionQuery'
              description: Semantic search parameters for Conclusions
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Conclusion'
                title: >-
                  Response Query Conclusions V3 Workspaces  Workspace Id 
                  Conclusions Query Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ConclusionQuery:
      properties:
        query:
          type: string
          title: Query
          description: Semantic search query
        top_k:
          type: integer
          maximum: 100
          minimum: 1
          title: Top K
          description: Number of results to return
          default: 10
        distance:
          anyOf:
            - type: number
              maximum: 1
              minimum: 0
            - type: 'null'
          title: Distance
          description: Maximum cosine distance threshold for results
        filters:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Filters
          description: Additional filters to apply
      type: object
      required:
        - query
      title: ConclusionQuery
      description: Query parameters for semantic search of conclusions.
    Conclusion:
      properties:
        id:
          type: string
          title: Id
        content:
          type: string
          title: Content
        observer_id:
          type: string
          title: Observer Id
          description: The peer who made the conclusion
        observed_id:
          type: string
          title: Observed Id
          description: The peer the conclusion is about
        session_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Session Id
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - content
        - observer_id
        - observed_id
        - created_at
      title: Conclusion
      description: Conclusion response - external view of a document.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````