I can't find an example of executing SOQL using the Composite Graph API. My request body
{ "graphs": [ { "graphId": "graph1", "compositeRequest": [ { "url": "/services/data/v51.0/query/?q=SELECT+Id+FROM+RecordType+WHERE+SobjectType+=+'Account'+AND+DeveloperName+=+'PersonAccount'+LIMIT+1", "method": "GET", "referenceId": "personAccountRecordType" } ] } ] } Response
{ "graphs": [ { "graphId": "graph1", "graphResponse": { "compositeResponse": [ { "body": [ { "errorCode": "OPERATION_NOT_ALLOWED", "message": "Endpoint not supported in Composite Graph API: /v53.0/query/?q=SELECT+Id+FROM+RecordType+WHERE+SobjectType+='Account'+AND+DeveloperName+=+'PersonAccount'+LIMIT+1" } ], "httpHeaders": {}, "httpStatusCode": 404, "referenceId": "personAccountRecordType" } ] }, "isSuccessful": false } ] } 