Extract Report
All pages with at least one successful custom extraction.
Priority: None
Impact: Neutral
How to fetch the data for this report template
You will need to run a crawl for report template to generate report. When report has been generated and you have crawl id you can fetch data for the report using the following query:
- Query
- Variables
- cURL
query GetReportForCrawl($crawlId: ObjectID!, $reportTemplateCode: String!) {
getCrawl(id: $crawlId) {
reportsByCode(
input: {
reportTypeCodes: Basic
reportTemplateCodes: [$reportTemplateCode]
}
) {
rows {
nodes {
... on CrawlUrls {
pageTitle
url
description
foundAtUrl
deeprank
level
customExtractionMatch
customExtraction1
customExtraction2
customExtraction3
customExtraction4
customExtraction5
customExtraction6
customExtraction7
customExtraction8
customExtraction9
customExtraction10
customExtraction11
customExtraction12
customExtraction13
customExtraction14
customExtraction15
customExtraction16
customExtraction17
customExtraction18
customExtraction19
customExtraction20
customExtraction21
customExtraction22
customExtraction23
customExtraction24
customExtraction25
customExtraction26
customExtraction27
customExtraction28
customExtraction29
customExtraction30
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
}
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"extract_report"}
curl -X POST -H "Content-Type: application/json" -H "apollographql-client-name: docs-example-client" -H "apollographql-client-version: 1.0.0" -H "x-auth-token: YOUR_API_SESSION_TOKEN" --data '{"query":"query GetReportForCrawl($crawlId: ObjectID!, $reportTemplateCode: String!) { getCrawl(id: $crawlId) { reportsByCode( input: { reportTypeCodes: Basic reportTemplateCodes: [$reportTemplateCode] } ) { rows { nodes { ... on CrawlUrls { pageTitle url description foundAtUrl deeprank level customExtractionMatch customExtraction1 customExtraction2 customExtraction3 customExtraction4 customExtraction5 customExtraction6 customExtraction7 customExtraction8 customExtraction9 customExtraction10 customExtraction11 customExtraction12 customExtraction13 customExtraction14 customExtraction15 customExtraction16 customExtraction17 customExtraction18 customExtraction19 customExtraction20 customExtraction21 customExtraction22 customExtraction23 customExtraction24 customExtraction25 customExtraction26 customExtraction27 customExtraction28 customExtraction29 customExtraction30 foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } } } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"extract_report"}}' https://api.lumar.io/graphql