Find all files with the name ending in ".json" in the directory one level above the current directory, excluding files with "failed" in the name.
find $(dirname $(pwd)) -iname "*.json" | grep -v "failed"