$recordId can be used to implicitly use the current recordId
Using Inline SOQL
An inline SOQL query can be used to filter records within the current record. Inline SOQL can be used with “in” operator only:
{"Id": {"operator":"in","value":"SELECT Project__c FROM Assignment__c WHERE Manager__c=$$recordId$" }}
$$recordId$ can be used to implicitly use the current recordId in the SOQL query
Using Parent Field
Any field from the current object can be used to filter the related records. Parent fields can be referenced in the filter property as a merge field $record.fieldApiName
Any field from the logged user can be used to filter the related records. User fields can be referenced in the filter property as a merge field $USER.fieldApiName
Any field from any custom settings can be used to filter the related records. Custom settings fields can be referenced in the filter property as a merge field $CUSTOMSETTING.objectApiName.fieldApiName