GET /api/public/v1/drivers
Scope: directory.read. MCP tool: list_drivers. Rules and edge cases: Drivers guide.
Parameters
Section titled “Parameters”| Name | In | Type | Required | Notes |
|---|---|---|---|---|
search |
query | string | no | |
page |
query | integer | no | Default 1 |
pageSize |
query | integer | no | Default 50 |
Responses
Section titled “Responses”| Status | Meaning | Body |
|---|---|---|
200 |
OK | PagedResultOfPublicDriver |
422 |
Unprocessable Entity | ProblemDetails |
200 body
Section titled “200 body”| Field | Type | Notes |
|---|---|---|
items |
PublicDriver[] | |
items[].id |
string (uuid) | |
items[].name |
string | |
items[].status |
enum DriverStatus | One of Active, Inactive, OnLeave, Terminated |
items[].phone |
string | |
items[].currentTruck |
string | |
items[].currentLoadNumber |
string | |
page |
integer | |
pageSize |
integer | |
total |
integer | |
hasMore |
boolean | |
sort |
SortSpec[] | |
sort[].field |
string | |
sort[].dir |
string |
Errors are RFC 7807 problem details; see Errors.