Mistral Boréal
FR EN
Independent Mistral AI user initiative — not officially recognized or endorsed. We hope to earn that recognition in the future. Our status →

LEARNING PATH · DEVELOPERS

Your first API request, step by step.

An introduction to model requests using the official Mistral AI API quickstart.

Before you start

Read the official first API request guide. You will need a developer account and, depending on the service and access mode, an API key.

Activity

  1. Read the official instructions and choose Python or TypeScript.
  2. Create a development key according to the security guidance.
  3. Keep the key in an environment variable, never in Git.
  4. Run an example from the official source, then change the prompt to a real use case.
  5. Record your results and the limits of your test.

Precautions

Never include API keys, confidential data or personal information in a repository or public example. Check usage terms and pricing before running experiments.