Defects are linked to user stories, but we’re unable to see that relationship in the API.
We can see the defects parent if its a feature.
The following query should allow you to see Parent Story association for a defect.
https://rally1.rallydev.com/slm/webservice/v2.0/defect?query=(FormattedID = xxxx)&fetch=Requirement