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

# Inferences about a customer

> Every inference about the customer, with its origin, evidence, confidence, use and date. What the customer said is not an inference and is not listed here.



## OpenAPI

````yaml openapi/en/cell.json GET /v1/profiles/{profile_id}/inferences
openapi: 3.1.0
info:
  title: Niadra data API
  version: '1'
  description: >-
    Writing, context, history, objects, identity, privacy and governance of one
    space. Every space has a stable address, with the space and the region in
    its name.
servers:
  - url: https://{space}.{region}.api.niadra.com
    variables:
      space:
        default: acme-prod
        description: The space, which comes in the source key.
      region:
        default: us-east-2
        description: The region of the space, which also comes in the key.
security: []
paths:
  /v1/profiles/{profile_id}/inferences:
    get:
      tags:
        - signals
      summary: Inferences about a customer
      description: >-
        Every inference about the subject, with its origin, evidence,
        confidence, use and date.


        **Authentication.** Console person token with the `security` role (or
        admin), or a source key with the `admin` scope. It answers only in a
        space with the `signals` feature on (the `features` document); in a
        space without it, 404.
      operationId: list_inferences_v1_profiles__profile_id__inferences_get
      parameters:
        - in: path
          name: profile_id
          required: true
          schema:
            format: uuid
            title: Profile Id
            type: string
        - in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - maxLength: 200
                type: string
              - type: 'null'
            title: Cursor
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InferencePage'
          description: Successful Response
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    InferencePage:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/Inference'
          title: Items
          type: array
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      required:
        - items
      title: InferencePage
      type: object
    Problem:
      additionalProperties: false
      description: RFC 9457 problem details; `code` comes from the versioned error catalog.
      properties:
        code:
          title: Code
          type: string
        detail:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Detail
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        status:
          title: Status
          type: integer
        title:
          title: Title
          type: string
        type:
          default: about:blank
          title: Type
          type: string
      required:
        - title
        - status
        - code
      title: Problem
      type: object
    Inference:
      additionalProperties: false
      description: >-
        One thing the signals infer about the subject, with what it rests on:
        the subject can see it, correct

        it and delete it. What the subject said is not an inference, and is not
        listed.
      properties:
        at:
          description: When its latest evidence happened.
          format: date-time
          title: At
          type: string
        attr:
          anyOf:
            - pattern: ^[a-z][a-z0-9_]{0,39}\.[a-z][a-z0-9_]{0,63}$
              type: string
            - type: 'null'
          description: The field whose value is inferred.
          title: Attr
        confidence:
          anyOf:
            - type: number
            - type: 'null'
          title: Confidence
        evidence:
          additionalProperties: true
          description: >-
            What it rests on, as counts: effective exposure, weighted signal,
            events, sessions and lift for a value; times for an interest.
          title: Evidence
          type: object
        for:
          default: self
          pattern: ^(?:self|gift|beneficiary:[A-Za-z0-9_-]{1,64})$
          title: For
          type: string
        key:
          description: A keyed hash that names the inference; it never carries its value.
          maxLength: 512
          minLength: 1
          title: Key
          type: string
        kind:
          description: >-
            `soft_constraint` when the constraints block carries it as a soft
            entry, `attribute` for the inferred size, `affinity` for a value
            with evidence and no entry yet, `interest` for an object.
          enum:
            - affinity
            - soft_constraint
            - attribute
            - interest
          title: Kind
          type: string
        origin:
          description: >-
            `interactions`, `implicit_negative` (shown often and never engaged
            with), or why an interest was kept: `engaged`, `feedback`, `watch`.
          maxLength: 256
          minLength: 1
          title: Origin
          type: string
        polarity:
          anyOf:
            - enum:
                - prefer
                - avoid
              type: string
            - type: 'null'
          title: Polarity
        ref:
          anyOf:
            - pattern: ^[a-z][a-z0-9_]{0,39}:[^:\s]{1,256}:\S{1,512}$
              type: string
            - type: 'null'
          description: The object of an interest.
          title: Ref
        used_for:
          description: The purposes it is used for.
          items:
            maxLength: 256
            minLength: 1
            type: string
          title: Used For
          type: array
        value:
          anyOf:
            - type: boolean
            - type: integer
            - type: number
            - maxLength: 256
              type: string
            - type: 'null'
          title: Value
      required:
        - key
        - kind
        - origin
        - at
      title: Inference
      type: object
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````