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 the course outline, for this version of the course.

In development

This course is planned and not on sale. The curriculum below is the plan, and it may change before the course opens.

See the courses on sale

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, from the course outline.

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

04Before 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.

05Who 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

06Reviews

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 and issues no certificate.
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 daysAn individual purchase can be refunded within 14 days if you have completed less than 20% of the lessons. Team seats are refundable before they are assigned. From the Academy terms.
Enrol

Start 3.4

This course is in development and not yet open for enrolment. The courses open now are listed in the catalogue.

  • 8 hr estimated effort, labs included
  • A ShareCo certificate is not a Salesforce certification