Skip to main content
GET
Read one Workforce screen

Authorizations

Authorization
string
header
required

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

screen
enum<string>
required
Available options:
overview,
geography,
qualifications,
aircraft,
score,
intent

Query Parameters

country
string

An ISO 3166 alpha-2 country on record.

state
string

A state on record in the country, which the read must also name.

sector
string

The sector of the pilot's current position, such as major_airline, cargo or corporate.

role
string

The pilot's role, such as captain, first_officer or instructor.

hours_band
string

A band of total hours, such as 0_500 or 3001_5000.

license
string

The pilot's highest license, such as atp or cpl.

authority
string

A licensing authority on record.

aircraft_category
string

An aircraft category on record.

type_rating
string

A type rating on record.

score_band
string

A band of the MPI Score.

career_target
string

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.

schema_version
integer
required
screen
enum<string>
required
Available options:
overview,
geography,
qualifications,
aircraft,
score,
intent
generated_at
string<date-time>
required
cohort
object
required
as_of
string<date> | null

The newest recorded fact of the cohort.

access
enum<string>

The audience the answer was read for.

Available options:
industry
filters
object
privacy
object

The floors the answer was measured against.

sections
object