Skip to main content
GET
Count work orders

Authorizations

X-API-KEY
string
header
required
OW-KEY
string
header
required

OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.

Query Parameters

Full-text search. Matches words (with prefix and stem matching) across the title, description, location name, notes, service call check-in/check-out notes, problem type name, and reference numbers (work order number, PO number, asset serial number). Wrap the value in double quotes to require the exact phrase.

Response

Successful response

count_by response: data is the integer count of matching records.

type
string
required

e.g. "CountBy" (or "Count" on the purchase-request line-item count endpoint)

data
integer<int64>
required

The count

status
enum<string>
required
Available options:
ok