Skip to content

AI & LLM

Mistral AI mock API

Mistral AI API: files, batch jobs, agents with versions and aliases, conversations, libraries with documents, models and fine-tuned model lifecycle; inference endpoints answer deterministic samples.

At a glance

Operations
347
Stateful operations
47
Stateful resources
6
Webhook events
0
Vendor API version
v1 (spec info.version 1.0.0)
Verification
Spec-verified

How it works

Use Mistral AI without calling Mistral AI SAS

Authorization: Bearer MockMistralApiKey0123456789

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
Files4
Batch jobs5
Agents11
Conversations7
Libraries and documents14
Models7

Webhooks

Events your handlers can receive

This API sends no webhooks.

Coverage

347 operations

47 of them are stateful. The largest groups:

GroupOperations
Other operations299
Libraries and documents14
Agents11
Conversations7
Models7
Batch jobs5

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

15 operations cannot be checked against the specification.

Source and limits

License, source and limits

Each collection holds up to 1 MiB of objects per API key; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Stateful: files (metadata only; the uploaded bytes are not stored and uploads above 1 MiB are rejected by the runtime with 413, VS_MAX_BODY_BYTES), batch jobs (status derived by age: QUEUED under 500 ms, RUNNING under 1.5 s, then SUCCESS with a stable output_file id that downloads a sample; cancelling answers CANCELLATION_REQUESTED then CANCELLED after 500 ms; the seeded job 00000000-0000-4000-8000-000000000013 stays QUEUED until cancelled; a finished or cancelled job answers 400 on cancel; the status filter applies within the requested page and total counts every job; an unknown file id in input_files is accepted), agents (PATCH bumps version and snapshots it; versions, aliases and active-version switching; the agent_version query parameter is ignored), conversations (non-streaming only, stream:true is answered as plain JSON; inputs are echoed as 'Mock reply to: <inputs>' when they are a string; history and messages list every entry), libraries with documents (processing_status Running for 1.5 s then Completed; reprocess restarts it) and models (seeded base models and one fine-tuned model; the models list shows base models only, the fine-tuned update, archive and delete operations apply to any stored model id, and DELETE /v1/models removes it without a base-model check). Inference endpoints (chat, FIM, embeddings, moderations, classifications, audio) and every other operation answer deterministic schema-valid samples, with no real model behaviour. The 7 #stream/#id fragment paths cannot be routed over HTTP, so they answer like their non-stream siblings; fine-tuning jobs are not part of the pinned spec. A fresh key already owns 2 files, 2 batch jobs, 1 agent, 1 conversation, 1 library with 1 document and 5 models. Mistral AI sends no outbound webhooks.

MaxoPerf is not affiliated with, endorsed by, or sponsored by Mistral AI SAS. Mistral AI is a trademark of its owner.