# \CrawlsApi
All URIs are relative to *https://graph.azisaba.net*
[**create_crawl**](CrawlsApi.md#create_crawl) | **POST** /crawls | Create crawl
[**delete_crawl_by_id**](CrawlsApi.md#delete_crawl_by_id) | **DELETE** /crawls/{crawlId} | Delete crawl
[**get_crawl_by_id**](CrawlsApi.md#get_crawl_by_id) | **GET** /crawls/{crawlId} | Get crawl
[**list_crawls**](CrawlsApi.md#list_crawls) | **GET** /crawls | List crawls
## create_crawl
> models::Crawl create_crawl(create_crawl_request)
Create crawl
Creates a new crawl.
### Parameters
**create_crawl_request** | [**CreateCrawlRequest**](CreateCrawlRequest.md) | | [required] |
### Return type
[**models::Crawl**](Crawl.md)
### Authorization
[apiKeyAuth](../README.md#apiKeyAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## delete_crawl_by_id
> delete_crawl_by_id(crawl_id)
Delete crawl
Deletes the crawl with the specified ID.
### Parameters
**crawl_id** | **uuid::Uuid** | The unique identifier of the crawl. | [required] |
### Return type
(empty response body)
### Authorization
[apiKeyAuth](../README.md#apiKeyAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_crawl_by_id
> models::Crawl get_crawl_by_id(crawl_id)
Get crawl
Returns the crawl with the specified ID.
### Parameters
**crawl_id** | **uuid::Uuid** | The unique identifier of the crawl. | [required] |
### Return type
[**models::Crawl**](Crawl.md)
### Authorization
[apiKeyAuth](../README.md#apiKeyAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_crawls
> models::ListCrawls200Response list_crawls(limit, cursor, address, port, version, protocol_version, crawled_from, crawled_to)
List crawls
Returns a list of crawls.
### Parameters
**limit** | Option<**u8**> | The maximum number of crawls to return. | |[default to 20]
**cursor** | Option<**String**> | The cursor returned by the previous request. | |
**address** | Option<**String**> | The address used to filter crawls. | |
**port** | Option<**u16**> | The port used to filter crawls. | |
**version** | Option<**String**> | The version used to filter crawls. | |
**protocol_version** | Option<**i32**> | The protocol version used to filter crawls. | |
**crawled_from** | Option<**chrono::DateTime<chrono::FixedOffset>**> | The inclusive lower bound of the crawl date and time. | |
**crawled_to** | Option<**chrono::DateTime<chrono::FixedOffset>**> | The exclusive upper bound of the crawl date and time. | |
### Return type
[**models::ListCrawls200Response**](listCrawls_200_response.md)
### Authorization
[apiKeyAuth](../README.md#apiKeyAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)