List training records
GET
/api/v1/pilots/{pilot_id}/training-records
const url = 'https://app.ayna.com/api/v1/pilots/example/training-records?limit=100&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://app.ayna.com/api/v1/pilots/example/training-records?limit=100&offset=0' \ --header 'Authorization: Bearer <token>'List all training records for a pilot.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”pilot_id
required
Pilot Id
string
Query Parameters
Section titled “Query Parameters”limit
Limit
integer
offset
Offset
integer
Responses
Section titled “Responses”OK
Media typeapplication/json
Response
object
key
additional properties
any
Example generated
{}