Skip to main content

How to Get Crawls

The following guide will provide you with the essentials needed to query the Lumar API for your previously completed crawls.

Note: in order to execute getProject queries, make sure you're authenticated.

Using the getProject query​

Make sure you have the Project ID. This can be obtained by clicking on a project and copying it from the URL.

For example: https://analyze.lumar.io/accounts/1479/projects/[COPY_PROJECT_ID]/crawls/1583246)

query GetProject($id: ObjectID!) {
getProject(id: $id) {
name
sitePrimary
crawls(first: 10) {
nodes {
finishedAt
id
project {
name
}
status
}
}
}
}

Try in explorer

The following guide will provide you with the essentials needed to query the Lumar API for your previously completed crawls.

Note: in order to execute getCrawl queries, make sure you're authenticated.

Using the getCrawl query​

If you already know the crawl ID, you can use the getCrawl query to get the crawl details.

query {
getCrawl(id: 1583246) {
finishedAt
id
project {
name
}
status
}
}

Try in explorer