Skip to Content
Heuristic documentation

read_product

Read only

Read products: the list, one product, who can open it, and its feedback endpoints.

Set action to one of these:

  • list (optional organizationId, includeDeleted, limit, cursor): The products the person can open, oldest first: id, organization, name, description, knowledge base address and the person's access (owner or viewer). organizationId narrows to one organization. Deleted products are left out unless includeDeleted is true, which adds those of organizations the person is an Admin of, with deletedAt and restorableUntil.
  • get (needs productId): One product the person can open, as list shows it, with deletedAt and restorableUntil (null unless deleted) and reporting: its Report by and the unit in effect, with Auto's reason. An deleted product is found only by its organization's Admins, until restorableUntil.
  • access (needs productId; optional limit, cursor): Who can open a product: Admins as Owners, then Users with access, in the order they joined. Everyone with access can read it; Admins change it with manage_product with action grant_access and manage_product with action revoke_access.
  • feedback_endpoints (needs productId; optional limit, cursor): The product's active feedback endpoints, oldest first: id, name, who added it, its key's last four characters, how many requests it took and when it was last used. Keys are never listed: manage_product with action add_feedback_endpoint shows a key once.

Actions (set action)

list

Who can use it
Anyone signed in
Hints
Read only
Runs
list_products
Inputs
  • organizationId string

    From get_me.

  • includeDeleted string

    true adds the deleted products of organizations the person is an Admin of, while they can still be restored; others get none.

    Allowed values: true, false
  • limit integer

    How many items to return, 1 to 100 (50 when left out).

  • cursor string

    The previous page's meta.nextCursor; left out: the first page.

get

Who can use it
Admins, and the product's Owners and Viewers
Hints
Read only
Runs
get_product
Inputs
  • productId string, required

    From read_product with action list or get_me.

access

Who can use it
Admins, and the product's Owners and Viewers
Hints
Read only
Runs
list_product_access
Inputs
  • productId string, required

    From read_product with action list or get_me.

  • limit integer

    How many items to return, 1 to 100 (50 when left out).

  • cursor string

    The previous page's meta.nextCursor; left out: the first page.

feedback_endpoints

Who can use it
Admins, and the product's Owners and Viewers
Hints
Read only
Runs
list_feedback_endpoints
Inputs
  • productId string, required

    From read_product with action list or get_me.

  • limit integer

    How many items to return, 1 to 100 (50 when left out).

  • cursor string

    The previous page's meta.nextCursor; left out: the first page.