curl --request POST \
--url 'https://api.unify.ai/v0/logs/join' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: application/json' \
--data '{
"pair_of_args": [
{
"context": "context_a",
"filter_expr": "user_id == 1"
},
{
"context": "context_b",
"filter_expr": "user_id == 2"
}
],
"join_expr": "A.user_id == B.user_id",
"mode": "inner",
"new_context": "Derived/A_B",
"columns": {
"A.user_id": "user_identifier",
"B.score": "user_score"
}
}'