Skip to main content
GET
Read the pilot against his cohort

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

grant_id
string<uuid>
required

Response

The pilot's position.

One pilot's six metrics against his cohort. It names him nowhere.

schema_version
integer
required
generated_at
string<date-time>
required
cohort
object
required
as_of
string<date> | null
privacy
object

The floors the answer was measured against.

metrics
object

total_hours, pic_hours, score, type_rating_count, years_experience and international_hours. percentile and cohort_median appear only with status ok.