Skip to main content
GET
/
v1
/
companies
/
{company-id}
/
company_day_job_stats
/
{date}
Retrieve CompanyDayJobStat
curl --request GET \
  --url https://api.tread-horizon.com/v1/companies/{company-id}/company_day_job_stats/{date} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "accepted_count": 1,
    "assigned_count": 1,
    "canceled_count": 1,
    "capacity_available_count": 1,
    "capacity_total_count": 1,
    "completed_count": 1,
    "enroute_count": 1,
    "has_been_accepted_count": 1,
    "loaded_count": 1,
    "rejected_count": 1,
    "sent_count": 1,
    "total_count": 1,
    "unassigned_count": 1,
    "unloaded_count": 1,
    "day": "2023-12-25",
    "orders_total_count": 123,
    "orders_pending_request_count": 123,
    "pending_count": 1
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tread.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string
default:en

The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.

Example:

"en"

Path Parameters

company-id
string<uuid>
required

Company ID

date
string<date>
required

Date to query on

Response

OK

data
CompanyDayJobStat-Read · object
required

CompanyDayJobStat for a given company