Training course · RAG & LLM Applications · API Development

RAG & LLM Applications for API Developers

Develop RAG and LLM applications: embeddings, vector databases, chunking, retrieval, evaluation, cost control and data protection.

Duration
2 days (14 hrs)
Format
Online or on-site
Language
German or English
Participants
open dates or exclusive for your team
Certificate
Certificate of attendance

Overview

“RAG & LLM Applications for API Developers” is designed for roles such as Backend developers building REST, GraphQL or gRPC interfaces, API architects and owners of API governance and Integration developers connecting partners and platforms and shows step by step how to use RAG & LLM Applications productively, safely and transparently in API Development – from the fundamentals to advanced workflows.

Retrieval-augmented generation connects language models to your own knowledge: manuals, contracts, tickets, wikis or product data are made searchable and handed to the model as context at runtime. The result is assistants that give grounded answers with citations instead of hallucinating. In this two-day course you build a complete RAG pipeline, from document preparation through embeddings and a vector database to answer generation, and you learn which levers actually determine quality.

Day two takes you from prototype to robust application. You compare chunking strategies, combine semantic and lexical search, apply reranking, metadata filters and query rewriting, and measure the effect with systematic evaluations. You also cover prompt caching, cost control, latency optimisation, document-level access control and privacy-compliant operation with an eye on GDPR and the EU AI Act. By the end you know when classic RAG is enough, when a large context window or agentic retrieval is the better option, and how to justify your architecture choices.

APIs form the backbone of modern software landscapes and are increasingly the interface through which AI agents interact with systems. AI coding assistants speed up the entire API lifecycle, from drafting an OpenAPI or AsyncAPI specification to generating server stubs, clients and contract tests, through to documentation and versioning. At the same time, demands for consistency, security and backward compatibility keep rising, because APIs are consumed by many teams, partners and automated agents. In this course you learn to practise API-first development with AI support, enforce design guidelines automatically, catch breaking changes early and expose existing interfaces to AI agents through the Model Context Protocol or tool definitions.

The course is delivered live – either online in a virtual classroom or on-site in our training rooms in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart and Kaiserslautern. We can also run it exclusively for your team.

Who is this course for?

  • Backend developers building REST, GraphQL or gRPC interfaces
  • API architects and owners of API governance
  • Integration developers connecting partners and platforms
  • Platform engineering teams running API gateways and developer portals
  • Developers making company data available to AI agents

Typical challenges we address

  • Inconsistent API design across teams with differing conventions for errors, pagination and versioning
  • Specification, implementation and documentation drift apart
  • Breaking changes are only discovered by consumers
  • Securing authentication, authorisation and rate limiting as users and agent traffic grow

What you will be able to do

  • You build a complete RAG pipeline from document preparation to answers with citations.
  • You choose embedding model, chunking strategy and vector database on solid grounds.
  • You improve retrieval quality with hybrid search, reranking and metadata filters.
  • You measure application quality with systematic evaluations and detect regressions.
  • Practise API-first development with AI support, from specification to clients, tests and documentation.
  • Automate design governance, contract testing and breaking-change detection in your pipeline.
  • Make existing APIs available to AI agents securely and in a controlled way, for example via the Model Context Protocol.

Course outline

Day 1

Module 1 Foundations of RAG and LLM applications
  • Anatomy of a RAG pipeline: ingestion, indexing, retrieval, generation
  • Understanding embeddings: semantic similarity, dimensions, model selection
  • Weighing RAG against fine-tuning and long context windows
  • Structured outputs, citations and dealing with hallucinations
Module 2 Document preparation and chunking
  • Reliably extracting PDFs, Office documents, HTML and tables
  • Chunking strategies: fixed size, structure-aware, semantic, with overlap
  • Enriching metadata and generating contextual summaries per chunk
  • Incremental updates and deletion of documents in the index
Module 3 Vector databases and retrieval strategies
  • Comparing vector databases and extensions such as pgvector, Qdrant, Weaviate or OpenSearch
  • Hybrid search combining vector and full-text search with BM25
  • Reranking, metadata filtering and query rewriting
  • Agentic retrieval: letting the model decide on search steps and tools
Module 4 Evaluation and quality assurance
  • Building and maintaining test sets from real user questions
  • Retrieval metrics such as recall and precision, and answer metrics such as faithfulness
  • Using and calibrating LLM-as-a-judge sensibly
  • Regression testing when chunking, model or prompt changes

Day 2

Module 5 Operations, cost and data protection
  • Prompt caching, batch processing and model choice to cut costs
  • Optimising latency and streaming responses
  • Document-level permissions, tenant isolation and protection against prompt injection
  • Data protection: data residency, processing agreements, deletion policies, GDPR and the EU AI Act
Module 6 Practice lab: API Development
  • Generating OpenAPI specs
  • Generating servers and clients
  • Building contract tests
  • Detecting breaking changes
  • Reviewing API security
  • Opening APIs to AI agents
Module 7 Data protection, quality & transfer to daily work
  • APIs frequently carry personal and confidential data: you learn to create specifications and sample data without real customer records, keep API keys and tokens out of the AI context and apply data protection by design under the GDPR as well as NIS2 requirements.
  • Ground rules for safe AI use in your team
  • Checking results: facts, sources, tests and the four-eyes principle
  • Personal action plan for the next 30 days
  • Open questions, outlook and resources for further learning

Practical scenarios from your field

Generating OpenAPI specs

Draft complete OpenAPI specifications with schemas, examples, error objects and security schemes from requirements, domain models or existing code, and check them against your style guide rules.

Generating servers and clients

Derive controller scaffolding, validation logic and type-safe client SDKs for several languages from a specification, keeping generated parts cleanly separated from hand-written business logic. Regenerating after spec changes is simple.

Building contract tests

Define consumer-driven contracts, generate test cases for edge values, error paths and authentication, and run them automatically in CI against both the specification and the live implementation.

Detecting breaking changes

Compare two versions of a specification, identify incompatible changes, write migration notes for consumers and plan deprecation strategies using versioning and sunset headers. The check runs on every pull request.

Reviewing API security

Analyse endpoints for typical weaknesses from the OWASP API Security Top 10, such as broken object-level authorisation, mass assignment or missing rate limits, and propose fixes.

Opening APIs to AI agents

Expose existing interfaces as MCP servers or tool definitions, phrase descriptions and parameters so agents use them correctly and scope permissions so agents can only perform approved actions.

Possible hands-on projects

API linter with house rules

A command-line tool that checks OpenAPI files against your design guidelines and posts clear improvement suggestions directly on the pull request.

Mock server from spec

A small service that generates realistic sample responses from a specification so frontend teams can work in parallel with backend development.

MCP server for an internal API

An MCP server that exposes selected endpoints of an internal REST API as tools for AI assistants, with authentication and logging.

Prerequisites

Solid programming skills in Python (or TypeScript as an alternative), basic knowledge of databases and REST APIs, and some experience with LLM APIs. You build backend applications in a mainstream language such as Java, C#, TypeScript, Python or Go and understand HTTP, JSON and REST fundamentals.

Technical requirements

A laptop with Python, Git, Docker and a code editor, plus API access to at least one LLM and embedding provider. Credentials for the exercises can be provided if needed.

Data protection & compliance

APIs frequently carry personal and confidential data: you learn to create specifications and sample data without real customer records, keep API keys and tokens out of the AI context and apply data protection by design under the GDPR as well as NIS2 requirements.

Suggested dates

All dates are suggestions – your preferred date is always possible.

  • Tue, 24 November 2026 – Wed, 25 November 2026 Online Request
  • Wed, 2 December 2026 – Thu, 3 December 2026 Hanover Request
  • Wed, 16 December 2026 – Thu, 17 December 2026 Online Request
  • Tue, 19 January 2027 – Wed, 20 January 2027 Munich Request
  • Tue, 26 January 2027 – Wed, 27 January 2027 Online Request
  • Tue, 2 February 2027 – Wed, 3 February 2027 Stuttgart Request

Frequently asked questions

When is RAG better than fine-tuning?

RAG is the right choice when a model needs access to current, extensive or frequently changing knowledge and should cite its sources. Fine-tuning mainly changes style, format or specialised behaviour. In many projects RAG is the faster, cheaper and more controllable route, sometimes complemented by fine-tuning for niche tasks.

Which vector database should we use?

That depends on data volume, existing infrastructure, filtering needs and operating model. If you already run PostgreSQL, pgvector often takes you a long way, while specialised systems shine with large datasets and hybrid search. In the course you compare several options hands-on and derive criteria for your own decision.

How can RAG be run in a GDPR-compliant way?

Key factors are choosing providers with suitable data residency and a data processing agreement, enforcing document-level permissions, having a deletion policy for the index and logs, and minimising personal data. For highly sensitive data, self-hosted models are also an option. We work through these choices using realistic architectures.

Is spec-first still worth it when AI writes code so quickly?

More than ever. A precise specification is the best context you can give an AI assistant: it pins down data structures, error cases and security requirements, serves as a contract for consumers and underpins your tests. Without one, AI quickly produces inconsistent endpoints. In the course you use the spec as the single source for generation and validation.

What is the difference between a REST API and an MCP server?

A REST API is aimed at developers and applications, whereas an MCP server exposes capabilities in a standardised format for AI assistants and agents, including descriptions the model can interpret. An MCP server is often a thin layer on top of existing APIs. You learn when that step pays off and how to implement it securely.

How much does “RAG & LLM Applications for API Developers” cost?

The course costs a flat €949 plus VAT per participant – whether online or on-site. This includes 2 training day(s) with a live trainer, course materials, a lab environment and a certificate of attendance.

Can I suggest my own date?

Yes. Our suggested dates are just a guide. In the request form you can always describe your preferred date or period in free text – we check availability and confirm within one working day.

Is the course online or on-site?

Both are possible: live online in a virtual classroom or on-site in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart or Kaiserslautern. We can also run the course exclusively for your team.

More courses for API Developers

More RAG & LLM Applications courses

All 29 RAG & LLM Applications courses