Skip to main content
GET
View a project's direct staffing
Returns the project’s direct staffing assignments that overlap the window startsAt to endsAt (epoch milliseconds, endsAt after startsAt), with the project, each assignment, its worker (or why the worker cannot be resolved) and whether a project access grant covers the assignment’s dates. Needs workforce:read at the platform scope (a grant that covers only some org units receives 403) and projects:read at the project’s home: a project that is missing, has no home, or that you cannot read answers 404 Project not found. The credential’s scopes must include projects:read as well (otherwise 403 naming projects:read). Rows never name who created, confirmed, amended, approved or released an assignment; the reasons the caller supplied are kept.

Authorizations

Authorization
string
header
required

An External App: the JWT it obtains from POST /oauth/token with OAuth2 client_credentials. Pass as Authorization: Bearer <jwt>. An app's static companion key also authenticates as the app, but is deprecated and is not protected by Idempotency-Key.

Path Parameters

projectId
string
required

The project's ID.

Minimum string length: 1

Query Parameters

startsAt
integer
required

The window's start, epoch milliseconds.

Required range: 0 <= x <= 9007199254740991
endsAt
integer
required

The window's end (after startsAt), epoch milliseconds.

Required range: 0 <= x <= 9007199254740991

Response

Success

data
object
required
meta
object
required