Get all AIRecommendations

Overview

Retrieve a list of AIRecommendations with optional filtering by status, category, target, context, context type, producer, and action UID. All filters combine with AND logic.

Available for Staff tokens

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
number
1 to 10000
Defaults to 1

Page number of results.

number
1 to 100
Defaults to 25

How many items to return per page. Max: 100

string
Defaults to updated_at:desc

Sort by fields. Example: sort=created_at:asc,updated_at:desc

string
enum

Filter by recommendation lifecycle state: 'active', 'completed', 'dismissed', 'approved', or 'snoozed'. Defaults to 'active' when omitted.

Allowed:
string

Filter by target actor UID.

string

Filter by context UID.

string
enum

Filter by context type: 'matter', 'client', 'business' or 'ai_rec_conversation'.

Allowed:
string

Filter by action UID. Returns only the recommendation that owns this action (e.g., "44b026bb-242c-46e1-a9fa-47f7231e4444").

string
enum

Filter by who set the current status: 'user' or 'system'.

Allowed:
string
enum

Filter by category bucket. Each record belongs to exactly one bucket:
upcoming – due_at is in the future, whatever the stored category.
needs_attention – due_at is in the past or unset, stored category is needs_attention.
opportunity – due_at is in the past or unset, stored category is opportunity.
fyi – due_at is in the past or unset, stored category is fyi.

Allowed:
string

Filter by the record's 'producer' (creation source). When omitted, only legacy records with an empty 'producer' are returned (default). Pass 'any' to return only records that have a non-empty 'producer', or pass a specific producer value (for example: 'client_agent') to return only records from that producer.

string
enum
Defaults to my_view

Which staff members' recommendations to return. 'my_view' (default) returns only the caller's own recommendations; 'team' returns recommendations across every staff member in the business. 'team' requires organization access — the staff member must hold both 'clients.all_activities.manage' and 'clients.all_clients.manage'. A caller without both receives 403; 'my_view' is always permitted.

Allowed:
date-time

Return only recommendations with no 'due_at' or a 'due_at' later than this time, in ISO 8601 format. Applies to the list and to 'meta.counts', and to every producer unless 'due_at_producers' is set (e.g., "2026-06-08T09:00:00Z").

string

Comma-separated list of producers that 'due_after' applies to. Recommendations from any other producer are returned regardless of it. Ignored when 'due_after' is not set (e.g., "client_agent", "client_agent,lead_agent").

include
array of strings

Optional data sets to include in the response, beyond the recommendations list. Supported values: 'counts' (adds per-category totals under 'meta.counts'). Repeat the parameter to request multiple. When omitted, no extra data is returned and 'meta' is absent.

include
Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json