Read one Workforce screen
One Workforce screen, read as the industry audience, with the filters a member’s screen takes: at most three, a state only with its country, each a recorded value; an unknown filter, a repeated one or a value outside the vocabulary is 400 invalid_request. See the Insights tag for the floors. A publication that has never run answers only schema_version, screen, generated_at and cohort, with status not_ready. A screen MyPilotIndex has switched off is 400 invalid_request, as it is for a member. The token must carry insights.read, otherwise 403 scope_missing. A name outside the six screens is 404 not_found.
Authorizations
OAuth 2.0 client credentials. Request a token from the token endpoint of the identity provider's domain (https://{cognito-domain}/oauth2/token, with HTTP Basic client authentication) and send it as a Bearer token. Production uses auth.mypilotindex.com. The sandbox uses the dev environment's Cognito domain, which is given to the partner with its sandbox credential. A token carries only the scopes the partner was approved for.
Path Parameters
overview, geography, qualifications, aircraft, score, intent Query Parameters
An ISO 3166 alpha-2 country on record.
A state on record in the country, which the read must also name.
The sector of the pilot's current position, such as major_airline, cargo or corporate.
The pilot's role, such as captain, first_officer or instructor.
A band of total hours, such as 0_500 or 3001_5000.
The pilot's highest license, such as atp or cpl.
A licensing authority on record.
An aircraft category on record.
A type rating on record.
A band of the MPI Score.
The career the pilot is aiming at.
Response
The screen.
One screen. The members past cohort are absent when the publication has never run. sections differs per screen: its blocks carry shares and bands, never a count of pilots, and a block that cannot clear its floor says so.
overview, geography, qualifications, aircraft, score, intent The newest recorded fact of the cohort.
The audience the answer was read for.
industry The floors the answer was measured against.

