> For the complete documentation index, see [llms.txt](https://samuel-8.gitbook.io/samuel-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://samuel-8.gitbook.io/samuel-docs/report.md).

# Report

## This gets the counts of deliveries by status

> This gets the counts of deliveries by status

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETreportsdeliveriesstatusResponse200":{"type":"object","properties":{"pending":{"type":"number"},"in_transit":{"type":"number"},"delivered":{"type":"number"}},"required":["pending","in_transit","delivered"]}}},"paths":{"/reports/deliveries/status":{"get":{"summary":"This gets the counts of deliveries by status","description":"This gets the counts of deliveries by status","tags":["Report"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETreportsdeliveriesstatusResponse200"}}}}}}}}}
```

## This gets the count drivers by vehicle

> This gets the count drivers by vehicle

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETreportsdriversvehicleResponse200":{"type":"object","properties":{"Bike":{"type":"number"},"Car":{"type":"number"},"Van":{"type":"number"}},"required":["Bike","Car","Van"]}}},"paths":{"/reports/drivers/vehicle":{"get":{"summary":"This gets the count drivers by vehicle","description":"This gets the count drivers by vehicle","tags":["Report"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETreportsdriversvehicleResponse200"}}}}}}}}}
```

## GET /reports/parcels/type

> GET /reports/parcels/type

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETreportsparcelstypeResponse200":{"type":"object","properties":{"Electronics":{"type":"number"},"Books":{"type":"number"},"Clothes":{"type":"number"}},"required":["Electronics","Books","Clothes"]}}},"paths":{"/reports/parcels/type":{"get":{"summary":"GET /reports/parcels/type","tags":["Report"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETreportsparcelstypeResponse200"}}}}}}}}}
```

## GET /reports/hubs/capacity

> GET /reports/hubs/capacity

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETreportshubscapacityResponse200":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"capacity":{"type":"number"}},"required":["id","capacity"]}}}},"paths":{"/reports/hubs/capacity":{"get":{"summary":"GET /reports/hubs/capacity","tags":["Report"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETreportshubscapacityResponse200"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://samuel-8.gitbook.io/samuel-docs/report.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
