Sift · Capability

Sift Decisions API — Decisions

Apply and retrieve analyst or workflow decisions on Sift users, orders, sessions, and content.

Sift Decisions API — Decisions is a Naftiko capability published by Sift, one of 6 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/decisions/user.

The capability includes 2 state-changing operations. Lead operation: Sift Apply Decision To User. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Sift, Decisions, and Fraud.

Run with Naftiko SiftDecisionsFraud

What You Can Do

POST
Applyuserdecision — Sift Apply Decision To User
/v1/decisions/user

MCP Tools

sift-apply-user-decision

Sift Apply Decision To User

sift-apply-order-decision

Sift Apply Decision To Order

Capability Spec

decisions-decisions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sift Decisions API — Decisions
  description: Apply and retrieve analyst or workflow decisions on Sift users, orders, sessions, and content.
  tags:
    - Sift
    - Decisions
    - Fraud
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
  - namespace: env
    keys:
      SIFT_API_KEY: SIFT_API_KEY
      SIFT_ACCOUNT_ID: SIFT_ACCOUNT_ID
capability:
  consumes:
    - type: http
      namespace: decisions-decisions
      baseUri: https://api.sift.com
      description: Sift Decisions API surface for applying and reading decisions across entity types.
      resources:
        - name: user-decisions
          path: /v205/accounts/{account_id}/users/{user_id}/decisions
          operations:
            - name: applyuserdecision
              method: POST
              description: Sift Apply Decision To User
              outputRawFormat: json
              inputParameters:
                - name: account_id
                  in: path
                  type: string
                  required: true
                - name: user_id
                  in: path
                  type: string
                  required: true
                - name: body
                  in: body
                  type: object
                  required: true
              outputParameters:
                - name: result
                  type: object
                  value: $.
            - name: getuserdecision
              method: GET
              description: Sift Get User Decision
              outputRawFormat: json
              inputParameters:
                - name: account_id
                  in: path
                  type: string
                  required: true
                - name: user_id
                  in: path
                  type: string
                  required: true
              outputParameters:
                - name: result
                  type: object
                  value: $.
        - name: order-decisions
          path: /v205/accounts/{account_id}/users/{user_id}/orders/{order_id}/decisions
          operations:
            - name: applyorderdecision
              method: POST
              description: Sift Apply Decision To Order
              outputRawFormat: json
              inputParameters:
                - name: account_id
                  in: path
                  type: string
                  required: true
                - name: user_id
                  in: path
                  type: string
                  required: true
                - name: order_id
                  in: path
                  type: string
                  required: true
                - name: body
                  in: body
                  type: object
                  required: true
              outputParameters:
                - name: result
                  type: object
                  value: $.
      authentication:
        type: basic
        value: '{{env.SIFT_API_KEY}}:'
        placement: header
  exposes:
    - type: rest
      namespace: decisions-decisions-rest
      port: 8080
      description: REST adapter for Sift Decisions API.
      resources:
        - path: /v1/decisions/user
          name: user-decisions
          description: REST surface for user decisions.
          operations:
            - method: POST
              name: applyuserdecision
              description: Sift Apply Decision To User
              call: decisions-decisions.applyuserdecision
              with:
                account_id: rest.account_id
                user_id: rest.user_id
                body: rest.body
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: decisions-decisions-mcp
      port: 9090
      transport: http
      description: MCP adapter exposing one tool per Decisions operation.
      tools:
        - name: sift-apply-user-decision
          description: Sift Apply Decision To User
          hints:
            readOnly: false
            destructive: true
            idempotent: false
          call: decisions-decisions.applyuserdecision
          with:
            account_id: tools.account_id
            user_id: tools.user_id
            body: tools.body
          outputParameters:
            - type: object
              mapping: $.
        - name: sift-apply-order-decision
          description: Sift Apply Decision To Order
          hints:
            readOnly: false
            destructive: true
            idempotent: false
          call: decisions-decisions.applyorderdecision
          with:
            account_id: tools.account_id
            user_id: tools.user_id
            order_id: tools.order_id
            body: tools.body
          outputParameters:
            - type: object
              mapping: $.