List facilities
GET /api/public/v1/facilities
Scope: directory.read. MCP tool: search_facilities. Rules and edge cases: Facilities 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 | PagedResultOfPublicFacility |
422 |
Unprocessable Entity | ProblemDetails |
200 body
Section titled “200 body”| Field | Type | Notes |
|---|---|---|
items |
PublicFacility[] | |
items[].id |
string (uuid) | |
items[].name |
string | |
items[].code |
string | |
items[].street |
string | |
items[].city |
string | |
items[].state |
string | |
items[].zip |
string | |
items[].timeZoneId |
string | |
items[].status |
enum FacilityStatus | One of Active, Inactive |
items[].rowVersion |
integer | |
page |
integer | |
pageSize |
integer | |
total |
integer | |
hasMore |
boolean | |
sort |
SortSpec[] | |
sort[].field |
string | |
sort[].dir |
string |
Errors are RFC 7807 problem details; see Errors.