I wonder if the Jerusalem church prayed for James to the degree that they prayed for Peter. Perhaps they did or perhaps James’ death galvanized them to more earnest prayer for Peter. Whatever the case with James, God did choose to inform us that “prayer was made without ceasing of the church unto God” for Peter. Though we know they were astonished at Peter’s literal physical deliverance from prison, we don’t know the specifics of their petitions to God for him. And that is OK. From other Scriptures we can get very specific ideas to “fuel” our own praying for one another.
Source: Panting, Prayer Brings Deliverance, “Applying God’s Word to Me”