Print Hive Recommendation Receipts API

The Recommendation Receipts API from Print Hive — 10 operation(s) for recommendation receipts.

GitHub OpenAPI

Operations 10

GET /v1/organizations/{organizationId}/recommendation-receipts List assistant recommendation receipts for the organization #
GET /v1/organizations/{organizationId}/recommendation-receipts/analytics Recommendation follow-through analytics by action kind #
POST /v1/organizations/{organizationId}/recommendation-receipts/batch Batch-create assistant recommendation receipts with dedupe #
POST /v1/organizations/{organizationId}/recommendation-receipts/promote-playbook Promote selected farm-playbook recommendations into receipts #
POST /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/accept Accept (acknowledge) a recommendation receipt #
POST /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/assign Assign a recommendation receipt to a user #
POST /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/done Mark a recommendation receipt done #
POST /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/dismiss Dismiss a recommendation receipt with a reason #
POST /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/snooze Snooze a recommendation receipt until a later time #
GET /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/events List a recommendation receipt's lifecycle audit events #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/printhiv3d-com:printhiv3d-com-recommendation-receipts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

printhiv3d-com-recommendation-receipts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Print Hive API Documentation Recommendation Receipts API
  description: 'REST API for the Print Hive print farm management platform: printers, print jobs, models, materials, inventory, smart queue, and integrations.'
  version: 1.0.0
servers:
- url: https://api.printhiv3d.com
  description: Production
tags:
- name: Recommendation Receipts
paths:
  /v1/organizations/{organizationId}/recommendation-receipts:
    get:
      summary: List assistant recommendation receipts for the organization
      tags:
      - Recommendation Receipts
      parameters:
      - schema:
          type: string
          enum:
          - pending
          - accepted
          - assigned
          - done
          - dismissed
          - snoozed
          - stale
        in: query
        name: status
        required: false
      - schema:
          type: string
          enum:
          - assistant_chat
          - farm_playbook
          - farm_briefing
          - scheduled_alert
        in: query
        name: source
        required: false
      - schema:
          type: string
          enum:
          - clear_bed
          - start_job
          - resolve_at_risk
          - resolve_offline
          - preload_filament
          - material_runway
        in: query
        name: kind
        required: false
      - schema:
          type: string
          format: uuid
        in: query
        name: printerId
        required: false
      - schema:
          type: string
        in: query
        name: printJobId
        required: false
      - schema:
          type: string
        in: query
        name: since
        required: false
        description: ISO timestamp lower bound on created_at
      - schema:
          type: string
        in: query
        name: until
        required: false
        description: ISO timestamp upper bound on created_at
      - schema:
          type: string
        in: query
        name: limit
        required: false
        description: Max items (default 50, max 200)
      - schema:
          type: string
          format: uuid
        in: path
        name: organizationId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1OrganizationsByOrganizationIdRecommendationReceipts
      x-operation-id-source: derived
  /v1/organizations/{organizationId}/recommendation-receipts/analytics:
    get:
      summary: Recommendation follow-through analytics by action kind
      tags:
      - Recommendation Receipts
      parameters:
      - schema:
          type: string
        in: query
        name: since
        required: false
        description: ISO timestamp lower bound on created_at
      - schema:
          type: string
        in: query
        name: until
        required: false
        description: ISO timestamp upper bound on created_at
      - schema:
          type: string
          format: uuid
        in: path
        name: organizationId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1OrganizationsByOrganizationIdRecommendationReceiptsAnalytics
      x-operation-id-source: derived
  /v1/organizations/{organizationId}/recommendation-receipts/batch:
    post:
      summary: Batch-create assistant recommendation receipts with dedupe
      tags:
      - Recommendation Receipts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - receipts
              properties:
                organizationId:
                  type: string
                  format: uuid
                receipts:
                  type: array
                  minItems: 1
                  maxItems: 100
                  items:
                    type: object
                    required:
                    - kind
                    - source
                    - title
                    additionalProperties: false
                    properties:
                      kind:
                        type: string
                        enum:
                        - clear_bed
                        - start_job
                        - resolve_at_risk
                        - resolve_offline
                        - preload_filament
                        - material_runway
                      source:
                        type: string
                        enum:
                        - assistant_chat
                        - farm_playbook
                        - farm_briefing
                        - scheduled_alert
                      title:
                        type: string
                        minLength: 1
                      description:
                        type:
                        - string
                        - 'null'
                      suggestedAction:
                        type:
                        - string
                        - 'null'
                      printerId:
                        type:
                        - string
                        - 'null'
                        format: uuid
                      printJobId:
                        type:
                        - integer
                        - 'null'
                      modelFileId:
                        type:
                        - string
                        - 'null'
                        format: uuid
                      materialId:
                        type:
                        - string
                        - 'null'
                        format: uuid
                      slot:
                        type:
                        - string
                        - 'null'
                      deepLink:
                        type:
                        - string
                        - 'null'
                      priority:
                        type:
                        - integer
                        - 'null'
                      impactScore:
                        type:
                        - number
                        - 'null'
                      sourceSessionId:
                        type:
                        - string
                        - 'null'
                      sourceMessageId:
                        type:
                        - string
                        - 'null'
                      sourceTool:
                        type:
                        - string
                        - 'null'
                      sourceSnapshotHash:
                        type:
                        - string
                        - 'null'
                      metadata:
                        type: object
                        additionalProperties: true
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: organizationId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1OrganizationsByOrganizationIdRecommendationReceiptsBatch
      x-operation-id-source: derived
  /v1/organizations/{organizationId}/recommendation-receipts/promote-playbook:
    post:
      summary: Promote selected farm-playbook recommendations into receipts
      tags:
      - Recommendation Receipts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - recommendationKeys
              properties:
                organizationId:
                  type: string
                  format: uuid
                recommendationKeys:
                  type: array
                  minItems: 1
                  maxItems: 100
                  items:
                    type: string
                    minLength: 1
                windowDays:
                  type: number
                  minimum: 0.04
                  maximum: 90
                maxQueueScan:
                  type: integer
                  minimum: 1
                  maximum: 50
                sourceSessionId:
                  type:
                  - string
                  - 'null'
                sourceMessageId:
                  type:
                  - string
                  - 'null'
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: organizationId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1OrganizationsByOrganizationIdRecommendationReceiptsPromotePlaybook
      x-operation-id-source: derived
  /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/accept:
    post:
      summary: Accept (acknowledge) a recommendation receipt
      tags:
      - Recommendation Receipts
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: organizationId
        required: true
      - schema:
          type: string
          format: uuid
        in: path
        name: receiptId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1OrganizationsByOrganizationIdRecommendationReceiptsByReceiptIdAccept
      x-operation-id-source: derived
  /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/assign:
    post:
      summary: Assign a recommendation receipt to a user
      tags:
      - Recommendation Receipts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - assignedTo
              properties:
                organizationId:
                  type: string
                  format: uuid
                assignedTo:
                  type: string
                  format: uuid
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: organizationId
        required: true
      - schema:
          type: string
          format: uuid
        in: path
        name: receiptId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1OrganizationsByOrganizationIdRecommendationReceiptsByReceiptIdAssign
      x-operation-id-source: derived
  /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/done:
    post:
      summary: Mark a recommendation receipt done
      tags:
      - Recommendation Receipts
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: organizationId
        required: true
      - schema:
          type: string
          format: uuid
        in: path
        name: receiptId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1OrganizationsByOrganizationIdRecommendationReceiptsByReceiptIdDone
      x-operation-id-source: derived
  /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/dismiss:
    post:
      summary: Dismiss a recommendation receipt with a reason
      tags:
      - Recommendation Receipts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - dismissReason
              properties:
                organizationId:
                  type: string
                  format: uuid
                dismissReason:
                  type: string
                  enum:
                  - stale
                  - incorrect
                  - already_handled
                  - unsafe
                  - not_worth_it
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: organizationId
        required: true
      - schema:
          type: string
          format: uuid
        in: path
        name: receiptId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1OrganizationsByOrganizationIdRecommendationReceiptsByReceiptIdDismiss
      x-operation-id-source: derived
  /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/snooze:
    post:
      summary: Snooze a recommendation receipt until a later time
      tags:
      - Recommendation Receipts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - snoozedUntil
              properties:
                organizationId:
                  type: string
                  format: uuid
                snoozedUntil:
                  type: string
                  description: ISO timestamp to snooze until
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: organizationId
        required: true
      - schema:
          type: string
          format: uuid
        in: path
        name: receiptId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1OrganizationsByOrganizationIdRecommendationReceiptsByReceiptIdSnooze
      x-operation-id-source: derived
  /v1/organizations/{organizationId}/recommendation-receipts/{receiptId}/events:
    get:
      summary: List a recommendation receipt's lifecycle audit events
      tags:
      - Recommendation Receipts
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: organizationId
        required: true
      - schema:
          type: string
          format: uuid
        in: path
        name: receiptId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1OrganizationsByOrganizationIdRecommendationReceiptsByReceiptIdEvents
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      description: 'Consistent Print Hive API error body: a machine-readable error code and a human-readable message.'
      properties:
        error:
          type: string
          description: Machine-readable error code.
        message:
          type: string
          description: Human-readable explanation of the failure.
      required:
      - error
      - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    apiKey:
      type: apiKey
      in: header
      name: x-api-key