> For the complete documentation index, see [llms.txt](https://docs.mymedtrics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mymedtrics.com/get-started/admin-workflows.md).

# Admin workflows

What an administrator does with the API, job by job, with the scopes each job needs.

What a program or platform administrator does to keep a program running, and how much of each job the Connect API carries today. Every operation is checked against the contract and every scope is read from the gateway's `routes.ts`.

| Item                                | Value         |
| ----------------------------------- | ------------- |
| Workflows                           | 23 in 9 areas |
| Supported end to end                | 16            |
| Partial — the rest stays in the app | 4             |
| Not exposed by the API              | 3             |
| With an Arazzo walkthrough          | 11 of 23      |

### How to read this page

* **Operations** link to the operation in the Connect reference, where a request sample can be copied.
* **Scopes** are the scopes an API app must hold to run the whole workflow; grant exactly these when creating the app.
* **Status**: *supported* means every step exists in the contract; *partial* means part of the job is done in the app; *not exposed* means the API cannot do it yet.

### Integration setup and lifecycle

Connect an SIS, scheduling tool or warehouse and keep the connection healthy.

| Workflow                                                                                                                                                                                                                                  | When                                              | Operations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | Scopes                           | Status    |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | --------- |
| <p><strong>Create an API app and hand off its credential</strong><br>App creation, scope selection, credential reveal, rotation and revocation happen in the portal, not through the API. The API starts at the token exchange.</p>       | Once per integration partner                      | in app: `/integrations/connect-api`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | —                                | partial   |
| **Validate in sandbox, then go live**                                                                                                                                                                                                     | Once per integration partner                      | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/oauth#createoauthtoken"><code>POST /oauth/token</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/programs#listprograms"><code>GET /programs</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#listlearners"><code>GET /learners</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/programs#getprogram"><code>GET /programs/{programId}</code></a></p>                                                       | `learners:read` `programs:read`  | supported |
| **Subscribe to change events and verify delivery**                                                                                                                                                                                        | Once per integration, then on each new event type | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/webhooks#createwebhooksubscription"><code>POST /webhooks</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/webhooks#sendwebhooktest"><code>POST /webhooks/{webhookId}/test</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/webhooks#listwebhooksubscriptions"><code>GET /webhooks</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/webhooks#getwebhooksubscription"><code>GET /webhooks/{webhookId}</code></a></p> | `webhooks:read` `webhooks:write` | supported |
| <p><strong>Poll a bulk import job to completion</strong><br>Jobs can be polled and the import\_job.completed event fires, but POST /import-jobs is deferred (returns 405). Bulk imports are started in the app's import wizard today.</p> | After every bulk import                           | [`GET /import-jobs/{jobId}`](https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/imports#getimportjob)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `imports:read`                   | partial   |

### Program structure and reference data

Know the programs, roles, sites, periods and catalogs the integration must map to.

| Workflow                                                                                                                                                                                                                                               | When                                | Operations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | Scopes                                                                                                                                             | Status      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **Read the program directory**                                                                                                                                                                                                                         | Daily or on program.updated         | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/programs#listprograms"><code>GET /programs</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/programs#getprogram"><code>GET /programs/{programId}</code></a></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `programs:read`                                                                                                                                    | supported   |
| **Pull reference data per program (roles, sites, periods, rotation definitions, score and exam types, case templates)**                                                                                                                                | Before any write; refresh termly    | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/roles#listroles"><code>GET /roles</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/roles#getrole"><code>GET /roles/{roleId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/sites#listsites"><code>GET /sites</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/sites#getsite"><code>GET /sites/{siteId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/academic-periods#listacademicperiods"><code>GET /academic-periods</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/academic-periods#getacademicperiod"><code>GET /academic-periods/{academicPeriodId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/rotation-definitions#listrotationdefinitions"><code>GET /rotation-definitions</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/rotation-definitions#getrotationdefinition"><code>GET /rotation-definitions/{rotationDefinitionId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/scores#listscoretypes"><code>GET /score-types</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/oauth#listexamtypes"><code>GET /exam-types</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/case-templates#listcasetemplates"><code>GET /case-templates</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/group-leader-roles#listgroupleaderroles"><code>GET /group-leader-roles</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/group-tags#listgrouptags"><code>GET /group-tags</code></a></p> | `academic-periods:read` `case-templates:read` `exam-scores:read` `groups:read` `roles:read` `rotation-definitions:read` `scores:read` `sites:read` | supported   |
| <p><strong>Maintain the rotation and course catalogs (rotation definitions, rotation sites, curriculum courses, graded course rotations)</strong><br>Create only; no update or delete for these four catalogs, so corrections are made in the app.</p> | Termly, when the curriculum changes | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/rotation-definitions#createrotationdefinition"><code>POST /rotation-definitions</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/rotation-definitions#createrotationsite"><code>POST /rotation-sites</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/curriculum#createcurriculumcourse"><code>POST /curriculum-courses</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/graded-course-rotations#creategradedcourserotation"><code>POST /graded-course-rotations</code></a></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `curriculum-courses:write` `graded-course-rotations:write` `rotation-definitions:write` `rotations:write`                                          | partial     |
| <p><strong>Create or rename a program, site or academic period</strong><br>Programs, sites and academic periods are read-only in the API.</p>                                                                                                          | Yearly, at setup                    | in app: `/programs` `/sites`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | —                                                                                                                                                  | not exposed |

### Academic calendar

Set up the year's blocks before schedules can be built.

| Workflow                                                                                                                                                         | When                                     | Operations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | Scopes                                                               | Status    |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | --------- |
| <p><strong>Create, adjust and remove the year's blocks</strong><br>Arazzo covers only the lookup; the create/adjust/remove path has no written workflow yet.</p> | Yearly rollover, then ad hoc corrections | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/academic-periods#listacademicperiods"><code>GET /academic-periods</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/blocks#listblocks"><code>GET /blocks</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/blocks#createblock"><code>POST /blocks</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/blocks#patchblock"><code>PATCH /blocks/{blockId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/blocks#deleteblock"><code>DELETE /blocks/{blockId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/blocks#getblock"><code>GET /blocks/{blockId}</code></a></p> | `academic-periods:read` `blocks:delete` `blocks:read` `blocks:write` | supported |

### People and enrollment

Keep the roster true to the SIS — intake, changes, promotion, offboarding.

| Workflow                                                                                                                                                                                                                                                    | When                             | Operations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Scopes                                               | Status    |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | --------- |
| <p><strong>Nightly roster sync from the SIS (upsert learners and enrollments)</strong><br>Arazzo covers the read side; the write side (match by external id, then create or patch) has no written workflow yet. putLearner exists for full replacement.</p> | Nightly                          | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#listlearners"><code>GET /learners</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#getlearner"><code>GET /learners/{learnerId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#createlearner"><code>POST /learners</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#patchlearner"><code>PATCH /learners/{learnerId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#listenrollmentsforlearner"><code>GET /learners/{learnerId}/enrollments</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#createenrollment"><code>POST /enrollments</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#patchenrollment"><code>PATCH /enrollments/{enrollmentId}</code></a></p> | `enrollments:write` `learners:read` `learners:write` | supported |
| **Look up one learner's enrollments and a program's roster**                                                                                                                                                                                                | On demand                        | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#listenrollmentsforlearner"><code>GET /learners/{learnerId}/enrollments</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#getenrollment"><code>GET /enrollments/{enrollmentId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#listprogramenrollments"><code>GET /programs/{programId}/enrollments</code></a></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `learners:read`                                      | supported |
| <p><strong>Offboard a learner or end an enrollment</strong><br>Deactivate, not delete. Transfers (end one enrollment, create another) are two calls; the app does it atomically.</p>                                                                        | Graduation, withdrawal, transfer | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#deactivateenrollment"><code>POST /enrollments/{enrollmentId}/deactivate</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#deactivatelearner"><code>POST /learners/{learnerId}/deactivate</code></a></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `enrollments:write` `learners:write`                 | supported |
| <p><strong>Schedule the July-1 PGY advancement</strong><br>Create and read only; no update or cancel of a scheduled advancement through the API.</p>                                                                                                        | Yearly                           | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/advancements#listadvancements"><code>GET /advancements</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/advancements#createadvancement"><code>POST /advancements</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/advancements#getadvancement"><code>GET /advancements/{advancementId}</code></a></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `advancements:read` `advancements:write`             | partial   |

### Rotation and clinical scheduling

Publish who is where and when, and keep it in step with the scheduling system.

| Workflow                                                                                                                                                                                                                   | When                                       | Operations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | Scopes                                                                           | Status    |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | --------- |
| **Sync rotation assignments (block schedules) with date filters**                                                                                                                                                          | Nightly or on rotation.assignment\_changed | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/rotations#listrotations"><code>GET /rotations</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/rotations#getrotation"><code>GET /rotations/{rotationId}</code></a></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `rotations:read`                                                                 | supported |
| <p><strong>Push rotation assignments from an external scheduler</strong><br>Write path exists; no written workflow and no bulk endpoint (import resource type "rotations" is defined but createImportJob is deferred).</p> | On publish in the scheduling system        | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/blocks#listblocks"><code>GET /blocks</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/rotation-definitions#listrotationdefinitions"><code>GET /rotation-definitions</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/rotations#createrotation"><code>POST /rotations</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/rotations#patchrotation"><code>PATCH /rotations/{rotationId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/rotations#deleterotation"><code>DELETE /rotations/{rotationId}</code></a></p>                                                                                                                                                                                                                                                                                                                                                                   | `blocks:read` `rotation-definitions:read` `rotations:delete` `rotations:write`   | supported |
| <p><strong>Create a clinical schedule and grant users and admins access</strong><br>Arazzo covers the sync read; the create-and-grant path has no written workflow.</p>                                                    | Termly                                     | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/clinical-schedules#listclinicalschedules"><code>GET /clinical-schedules</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/clinical-schedules#createclinicalschedule"><code>POST /clinical-schedules</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/clinical-schedules#patchclinicalschedule"><code>PATCH /clinical-schedules/{clinicalScheduleId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/clinical-schedules#addclinicalscheduleuser"><code>POST /clinical-schedules/{clinicalScheduleId}/users</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/clinical-schedules#addclinicalscheduleadmin"><code>POST /clinical-schedules/{clinicalScheduleId}/admins</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/clinical-schedules#deleteclinicalschedule"><code>DELETE /clinical-schedules/{clinicalScheduleId}</code></a></p> | `clinical-schedules:delete` `clinical-schedules:read` `clinical-schedules:write` | supported |

### Groups, tags and leader roles

Maintain cohorts, committees and their leaders.

| Workflow                                                                                                                                                                    | When              | Operations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | Scopes                                       | Status    |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | --------- |
| <p><strong>Create groups, add and remove members, tag them, assign leader roles</strong><br>Fullest write surface in the API (full CRUD) but no Arazzo workflow at all.</p> | Termly and ad hoc | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/groups#listgroups"><code>GET /groups</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/groups#creategroup"><code>POST /groups</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/groups#updategrouppatch"><code>PATCH /groups/{groupId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/groups#deletegroup"><code>DELETE /groups/{groupId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/groups#listgroupmembers"><code>GET /group-members</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/groups#creategroupmember"><code>POST /group-members</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/groups#deletegroupmember"><code>DELETE /group-members/{groupMemberId}</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/group-tags#creategrouptag"><code>POST /group-tags</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/group-leader-roles#creategroupleaderrole"><code>POST /group-leader-roles</code></a></p> | `groups:delete` `groups:read` `groups:write` | supported |

### Assessment and scores

Load exam results and gradebook scores from testing vendors and LMSs.

| Workflow                                                                                                                                                | When           | Operations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Scopes                                                      | Status    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- | --------- |
| <p><strong>Post exam results (USMLE, COMLEX, in-training) from a vendor feed</strong><br>Upsert semantics; PHI/FERPA — the client view must say so.</p> | Per exam cycle | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/oauth#listexamtypes"><code>GET /exam-types</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/learners#listlearners"><code>GET /learners</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/oauth#upsertexamscore"><code>POST /exam-scores</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/oauth#listexamscores"><code>GET /exam-scores</code></a></p>                               | `exam-scores:read` `exam-scores:write` `learners:read`      | supported |
| <p><strong>Post gradebook scores for graded course rotations</strong><br>Create only; no correction path (no patch or delete on scores).</p>            | Per course     | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/scores#listscoretypes"><code>GET /score-types</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/graded-course-rotations#listgradedcourserotations"><code>GET /graded-course-rotations</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/scores#createscore"><code>POST /scores</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/scores#listscores"><code>GET /scores</code></a></p> | `graded-course-rotations:read` `scores:read` `scores:write` | supported |

### Evaluations

Reconcile evaluation completion with an external system or LMS.

| Workflow                                                                                                                                                                        | When                              | Operations                                                                                                                                                                                                                                                                                                                 | Scopes             | Status      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----------- |
| **Pull the evaluations backlog, including virtual "missing" assignments**                                                                                                       | Weekly or on evaluation.completed | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/evaluations#listevaluations"><code>GET /evaluations</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/evaluations#getevaluation"><code>GET /evaluations/{evaluationId}</code></a></p> | `evaluations:read` | supported   |
| <p><strong>Assign evaluations from an external system</strong><br>Evaluations are read-only; the import resource type "evaluations" exists but createImportJob is deferred.</p> | Per rotation                      | in app: `/forms`                                                                                                                                                                                                                                                                                                           | —                  | not exposed |

### Case and procedure logs

Report procedure volumes to accreditation or a data warehouse.

| Workflow                                                                                                        | When    | Operations                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Scopes                                 | Status      |
| --------------------------------------------------------------------------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- | ----------- |
| **Export case logs against the case template catalog**                                                          | Monthly | <p><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/case-templates#listcasetemplates"><code>GET /case-templates</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/case-logs#listcaselogs"><code>GET /case-logs</code></a><br><a href="https://medtricslab.gitbook.io/medtricslab-docs/api-reference/connect-api/case-logs#getcaselog"><code>GET /case-logs/{caseLogId}</code></a></p> | `case-logs:read` `case-templates:read` | supported   |
| <p><strong>Import case logs from a procedure-logging device</strong><br>Case logs are read-only in the API.</p> | Daily   | in app: `/import`                                                                                                                                                                                                                                                                                                                                                                                                                                                      | —                                      | not exposed |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mymedtrics.com/get-started/admin-workflows.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
