GGennnβ€’Training
T05T

Course: AI through APIs

Integrate models into your applications through network calls, reliably and securely.

πŸ”„ Content updated every week β€” always up to date with the latest tools.
Duration
14 hours (2 days)
Price
€990 excl. VAT per participant
Format
Remote / on-site
Level
Intermediate

Available formats

This course is offered in several formats, from an introductory webinar to an in-depth programme. The recommended format is highlighted.

Webinar
50 minutes
€90
Half-day
3.5 hours
€390
1 day
7 hours
€690
Recommended
2 days
14 hours
€1,190
3 days
21 hours
€1,590

Prices excl. VAT per participant, for guidance. Tailored quotes for in-company sessions and custom programmes.

Upcoming sessions

Book a place β†’
  • December 2026
    Monday December 14, 2026
    9:30 AM Β· 14 hours (2 days)
    Book β†’
  • January 2027
    Thursday January 14, 2027
    9:30 AM Β· 14 hours (2 days)
    Book β†’
  • February 2027
    Monday February 15, 2027
    9:30 AM Β· 14 hours (2 days)
    Book β†’
  • March 2027
    Monday March 15, 2027
    9:30 AM Β· 14 hours (2 days)
    Book β†’
  • April 2027
    Wednesday April 14, 2027
    9:30 AM Β· 14 hours (2 days)
    Book β†’
  • May 2027
    Friday May 14, 2027
    9:30 AM Β· 14 hours (2 days)
    Book β†’

Remote or in-company sessions. Other dates are available on request.

Interested in an in-company session?Contact us β†’

A question before you decide? Book a video call on the date of your choice.

Learning objectives

By the end of the course, participants will be able to:

  • βœ“Call a language model through its API
  • βœ“Manage keys, errors and rate limits securely
  • βœ“Control and monitor token-related costs

Target audience

Developers and technical people who want to integrate AI into an application.

Prerequisites

Being able to read and write a little code (JavaScript or Python) is recommended.

Detailed programme

1

Calling a model via API

Intermediate⏱ 14 min

Module 1 β€” How an API call to an LLM works

  • Understand the request / response model: sending a prompt, receiving a completion over HTTP.
  • Structure a request with the API key, the chosen model, a system prompt and a user prompt.
  • Distinguish synchronous and streaming modes (response delivered token by token).
  • Place the main providers (OpenAI, Anthropic) and the existence of multi-model gateways.
  • Understand the role of parameters such as temperature and maximum output length.

Module 2 β€” API keys and security

  • Generate and store an API key in environment variables, never hard-coded in the code.
  • Never expose the key on the client side or in a public Git repository.
  • Put key rotation and quotas in place per project or per environment.
  • Restrict access and monitor usage to detect any key leak.
  • Separate test and production environments with distinct keys.

Module 3 β€” Tokens and costs

  • Understand the token as the unit of text splitting that is billed per call.
  • Differentiate the billing of input tokens and output tokens, which have separate rates.
  • Anticipate variability: two similar requests can have very different costs.
  • Use prompt caching to reduce the cost of repeated contexts.
  • Note that a tokenizer change between model versions can alter the number of billed tokens.

Module 4 β€” Errors and rate limits

  • Understand rate limits, expressed in requests per minute (RPM) and tokens per minute (TPM).
  • Handle the 429 code (too many requests), which can consume a quota slot even when the request is rejected.
  • Implement exponential backoff and respect the Retry-After header provided by the API.
  • Handle server errors (500, 503) with retries and logging.
  • Plan delays and queues to smooth the load and stay under the limits.

Module 5 β€” Application integration

  • Wrap calls in a service layer that isolates the application from the provider.
  • Handle timeouts, retries and partial streaming responses on the application side.
  • Set up observability: logs, cost metrics, error rate.
  • Plan a fallback to another model or a degraded response in case of unavailability.
  • Validate and sanitize outputs before display or storage for robustness and security.

Teaching methods

  • βœ“Theory illustrated with concrete, up-to-date examples
  • βœ“Live demonstrations on the tools covered
  • βœ“Hands-on workshops and practice exercises
  • βœ“Digital course materials provided to each participant

Course flow and support

Before the course
  • βœ“A phone call with your trainer
  • βœ“A skills-assessment questionnaire for participants
  • βœ“Content tailored to your real needs
After the course
  • βœ“Course materials to keep
  • βœ“A recording (replay) of the session
  • βœ“Access to our e-learning platform for 6 months

πŸ”„ Content updated every week

Generative AI moves fast. Our materials and e-learning platform are updated every week: you always learn on the latest models, tools and best practices, during and after the course.

Assessment methods

  • βœ“Placement assessment before the training
  • βœ“Practical exercises and scenarios throughout the course
  • βœ“Knowledge-check quiz at the end of the training
  • βœ“Immediate satisfaction survey
  • βœ“Certificate of completion provided to each participant

Duration and format

Duration: 14 hours (2 days).

Remote training in a virtual classroom (video conference) or on-site in-company training. Small groups to encourage interaction.

Access terms and lead times

Registration is open until 11 business days before the start of the session, subject to availability. A placement interview takes place before the training begins.

Pricing

€990 excl. VAT per participant.

A tailored quote is provided for any in-company request.

Accessibility β€” disability

Our training courses are open to everyone. People with disabilities are invited to contact our disability officer so that we can work together on the necessary adaptations (teaching, equipment or organization).

Disability officer: contact@bricematter.com

Career outcomes and next steps

This training can be complemented by the other modules in the catalog to build a progressive generative AI learning path.

Contact and enrolment

To enrol or get a quote, email us at contact@bricematter.com.

Pre-registration

Book a place on the session of your choice. We then arrange a short call to prepare the course and help you with funding. No commitment.

No commitment β€” we will get back to you to finalise the session and funding.