Saved Filters
Share a saved filter with a workspace member
postapi.modelmatch.com/v1/saved-filters/{id}/shares
Owner or workspace admin only. Re-sharing updates the member's role. Sharing a private filter makes it shared. Sharing with the owner is a no-op (granted: false).
Authorization
Path parameters
idstringrequiredSaved-filter id (nanoid).
Body application/json
permissionenumThe whole workspace's role on an organization filter; null for private / shared filters.
Options:
editorviewernulluserIdstringrequiredResponses
200objectWhether a new share was created (false when an existing one was updated).Show attributesHide attributes
dataobjectrequiredShow child attributesHide child attributes
grantedbooleanrequired400objectValidation error, or (`code: NOT_ORG_MEMBER`) the user is not a member of your workspace.401objectUnauthorized403objectNo active organization, or (`code: FORBIDDEN`) the filter is shared with you at a level that does not allow this.404objectNo saved filter with that id is visible to the caller (their own, or shared with them).413objectResponse payload too large — detail endpoint capped to fit Lambda response limits502objectWorkspace members could not be read (auth service unavailable).503objectSearch timed out or the cluster is overloaded — retry after `Retry-After` seconds.