# myTraining

query · in the family [Your own session](/reference/your-own-session/)

## What it does

Your own training standing — the requirements that apply to you with their due dates, the lessons you have read, your sittings and your certificates.

YOUR OWN training standing: the active requirements binding one of your roles' templates in this organization, each with dueAt and certified · your progress per play · your courses · your open sittings · your valid certificates. Requires authentication on a USER session.

## What happens

Read-only.

## Who may call it

Capability area: **Your own session** — What every signed-in person may do for themselves — their session, their profile and their own work.

- Owner
- System Administrator
- Manager
- Associate Manager
- Warehouse Associate
- Sales Associate
- Cashier
- An API key whose scope allows `api:myTraining`

## Returns

[MyTraining](/types/MyTraining/) `MyTraining!` — YOUR training standing — the ONE self read the face needs: the requirements that apply to you · your progress per play · your courses · your open sittings · your valid certificates.

## Example request

```graphql
query ExampleMyTraining {
  myTraining {
    requirements {
      requirementId
      roleTemplateKey
      courseKey
      passMark
      graceDays
      dueAt
      certified
      certificateId
      refreshDue
      refreshDueAt
    }
  }
}
```

## Example response

```json
{
  "data": {
    "myTraining": {
      "requirements": [
        {
          "requirementId": "01900000-0000-7000-8000-cc15f8750000",
          "roleTemplateKey": "<role template key>",
          "courseKey": "<course key>",
          "passMark": 1,
          "graceDays": 1,
          "dueAt": "2027-01-31T00:00:00.000Z",
          "certified": true,
          "certificateId": "01900000-0000-7000-8000-b335ac0d0000",
          "refreshDue": true,
          "refreshDueAt": "2027-01-31T00:00:00.000Z"
        }
      ]
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": null,
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```

## Errors this call can answer

- `VALIDATION/INVALID` — Something in the request is not valid. ([VALIDATION](/errors/VALIDATION/))
- `AUTHN/REQUIRED` — Sign in to do this. ([AUTHN](/errors/AUTHN/))
- `AUTHZ/FORBIDDEN` — Your role does not allow this action. ([AUTHZ](/errors/AUTHZ/))
- `RATE_LIMIT/THROTTLED` — Too many requests in a short time. ([RATE_LIMIT](/errors/RATE_LIMIT/))
