Skip to content
Academy
Agentforce and AIAdvanced

Course 3.4 · Curriculum 2026.1

Calling a model from Apex safely

The tier most teams reach for, built properly. Callout budget, structured output, per-user identity, retries, and the writes that must be validated first.

Estimated effort
8 hr
Lessons
66
Modules
10
Material
8 hr

Estimated effort is the sum of the lesson and lab times in this version of the course. It is not video runtime, which is lower.

$399

Canadian dollars. One learner, lifetime access to this course version. Tax extra.

1 lesson free to preview

This course does not issue a certificate on its own. It counts toward the paths listed below, and those do.

01What you will learn

8 capabilities, stated as things you can do

Each one is what you should be able to do at the end, not what the course covers. If an outcome is not testable, it is not an outcome.

  1. Call a model from Apex inside the callout budget, with a timeout chosen rather than defaulted.
  2. Request structured output and parse it without trusting the shape.
  3. Carry the calling user’s identity through the call, with no shared service account.
  4. Fail closed when identity cannot be established, rather than guessing.
  5. Handle rate limits, retries and partial responses without duplicating writes.
  6. Keep the model call out of the synchronous transaction when the user is waiting.
  7. Test a model call deterministically with a mock.
  8. Log a call so a bad answer three weeks ago can still be explained.

02Curriculum

10 modules, 66 lessons

Every lesson shows its length and its type. A SCORM lesson looks like any other lesson, which is the point of ingesting packages rather than linking out to them.

10 modules · 66 lessons · 8 hr of material

The 120-second cumulative callout budget per transaction is not a footnote. It is the reason the timeouts in this course are 25, 45, 60 and never 120.

  1. VideoWhere the model lives: platform models and external endpointsPreview6 min
  2. VideoThe 120-second cumulative callout budget per transaction6 min
  3. VideoTimeouts of 25, 45 and 60 seconds, and why never 1206 min
  4. VideoThe 90-second wall-clock stop, on top of the callout budget6 min
  5. ReadingStreaming, and why you usually cannot use it here5 min
  6. VideoCost per call, and instrumenting it from day one6 min
  7. LabLab: make your first governed model call14 min

03Before you start

What you need first

Assumed knowledge and setup

  • Courses 2.1 and 3.1. The callout budget from 2.1 is used from lesson two.
  • A Developer Edition org and access to any model endpoint. A stub endpoint is provided.
  • Course 2.5 is strongly recommended, because every rule about secrets applies here.

Part of these paths

04Who teaches it

Elliot Saha

Co-founder, Chief Technology Officer

Platform architecture, custom Apex and Lightning Web Components, AI systems, and the Academy platform itself.

Full background

05Reviews

No learner reviews yet

This course has not been taken by enough people to publish an honest rating, and we will not print invented quotes on a page that sells verification discipline. Here is what we can evidence instead.

Assessment
Lesson checks onlyThis course carries lesson checks. The certificate is issued by the path assessment, not by this course.
Curriculum version
2026.1You enrol into a version. Content changes do not move you mid-course, and your required-lesson count is snapshotted at enrollment.
Refunds
14 daysFull refund within 14 days if you have completed under a quarter of the required lessons. Stated here rather than in a footer.
Enrol

Start 3.4

Enrol as an individual, or buy seats and assign this course to your team. Progress is reported per lesson, per module and per path.

  • 8 hr estimated effort, labs included
  • Lifetime access to the version you enrol in
  • A ShareCo certificate is not a Salesforce certification