# How to Get Crawls https://api-docs.lumar.io/docs/graphql/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](/docs/graphql/authentication.md). ## 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`) ```graphql query GetProject($id: ObjectID!) { getProject(id: $id) { name sitePrimary crawls(first: 10) { nodes { finishedAt id project { name } status } } } } ``` **Variables:** ```json { "id": 62023 } ``` **Response:** ```json { "data": { "getProject": { "name": "Deep Crawl", "sitePrimary": "https://www.lumar.io/", "crawls": { "nodes": [ { "finishedAt": "2020-07-09T16:25:35.000Z", "id": "TjAwNUNyYXdsMTU4MzI0NQ", "project": { "name": "Deep Crawl" }, "status": "finished" }, { "finishedAt": "2020-07-09T17:03:44.000Z", "id": "TjAwNUNyYXdsMTU4MzI0Ng", "project": { "name": "Deep Crawl" }, "status": "finished" } ] } } } } ``` 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](/docs/graphql/authentication.md). ## Using the getCrawl query If you already know the crawl ID, you can use the `getCrawl` query to get the crawl details. ```graphql query { getCrawl(id: 1583246) { finishedAt id project { name } status } } ``` **Response:** ```json { "data": { "getCrawl": { "finishedAt": "2020-07-09T17:03:44.000Z", "id": "TjAwNUNyYXdsMTU4MzI0Ng", "project": { "name": "Deep Crawl" }, "status": "finished" } } } ```