In short.
This Mistral quickstart teaches Python developers to view an AI request in Studio, but it requires an Enterprise organization, and the SDK does not automatically trace tool calls. The example combines one chat request and one simulated tool step inside a parent span. The page describes client-side redaction, access controls and 30-day retention. Prices and exact SDK and model versions are unspecified, and runtime behavior remains unverified.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected documentation page at [https://docs.mistral.ai/studio/observability/traces/quickstart.md], including its code, access conditions, redaction notice, retention statement and related links. Linked pages are excluded. No commands, installation, model request, tool call or trace export were executed; access, timing, redaction effectiveness and runtime results remain unverified.
The overview
Identity
Quickstart: send your first trace is a Mistral documentation guide for instrumenting a Python script and finding its trace in the Studio Trace Explorer. The source is [https://docs.mistral.ai/studio/observability/traces/quickstart.md].
The resource is the tutorial itself. Its example uses the Mistral Python SDK, the mistral-small-latest model identifier and Studio’s hosted trace interface.
Assessment
The guide offers a concrete first task for developers who already have the required Enterprise access: configure telemetry, send one request and inspect the resulting steps. Its useful detail is the distinction between automatically traced chat requests and tool spans that developers must create themselves.
Its scope is a first trace. It does not establish production reliability, application-wide coverage or the operational effort of maintaining instrumentation. Nothing was executed, so successful installation, export and display remain unverified.
Users
The guide suits Python developers adding visibility to applications that call Mistral. Beginners receive a short explanation of traces and spans, complete setup commands and a small script. Experienced developers can inspect the client configuration, nesting pattern and tool attributes.
Readers need an Enterprise organization with observability enabled and an eligible workspace role. Someone with only an API key may still lack access to the trace interface.
Capabilities
The documented trace presents a tree of request steps. The chat span includes the prompt, answer, model, latency and input and output token counts. A manually created tool span can carry a tool name and arguments.
The guide also identifies client-side redaction, 30-day trace retention and troubleshooting checks for missing traces. It supplies no benchmarks, quality scores or evidence of automatic tracing for actual tool execution.
Using it
Requirements
The stated prerequisites are Python 3.10 or later, uv and a Mistral API key. Installation uses the mistralai package with its telemetry extra, and the script reads the key from the MISTRAL_API_KEY environment variable.
The organization must be on the Enterprise tier, an Org Admin must not have disabled observability, and the reader’s role must be Org Admin, Workspace Admin or Observability Viewer. No minimum SDK version or exact dependency versions are specified.
Mechanism
A trace groups related work into spans, each representing a step. The script creates a Mistral client, calls configure_telemetry(client) before making a request, and obtains a tracer with get_telemetry_tracer(client, "first-trace"). The invoke_agent span encloses the automatically traced chat request and a manually created tool span.
The tool span sets gen_ai.operation.name to execute_tool, gen_ai.tool.name to web_search and gen_ai.tool.call.arguments to distributed tracing. These attributes describe the simulated step.
According to the page, the SDK redacts spans on the client before export, masking recognized secrets and personal data such as API keys and email addresses while retaining other content. The page does not establish complete detection coverage.
Setup
Create the project with uv init first-trace, enter the first-trace directory and install the dependency with uv add "mistralai[telemetry]". Make the API key available through MISTRAL_API_KEY.
Replace main.py with the supplied script and launch it with uv run main.py. Open the Trace Explorer at [https://console.mistral.ai/observability/traces]. The page says the trace should appear within a few seconds; that timing was not verified.
If it does not appear, the page directs readers to check telemetry configuration order, Enterprise access, the organization’s observability setting and their workspace role.
Example
The example asks mistral-small-latest to explain distributed tracing in one sentence and prints the returned answer. It then creates the execute_tool web_search span and records distributed tracing as its arguments.
That block only records attributes; it performs no web search. The documented result is an invoke_agent parent containing a chat span and the simulated tool span. No actual model answer or observed trace is supplied.
Assessment & evidence
Limitations
Tool calls require manual spans, and the example’s simulated tool step does not demonstrate tracing a real tool’s execution, result or failure. Asynchronous requests, retries, error handling and tracing across multiple services are not covered.
Traces are retained for 30 days. Longer-term storage and export options are unknown. Redaction preserves content it does not recognize for masking, so the page provides no guarantee that all sensitive information will be removed.
Exact SDK and model revisions, throughput limits and behavior under production load are unspecified.
Fit considerations
For an existing Enterprise user, the small example makes the guide a practical introduction to connecting a request with its diagnostic details. Seeing prompts, answers, latency and token counts together could help investigate unexpected responses or slow requests; the page provides no measured debugging benefit.
Applications with substantial tool use will need additional instrumentation because the SDK does not trace tool calls automatically. Teams needing longer investigation history must also assess the stated 30-day retention period. These fit judgments follow from the documented behavior and remain untested.
Alternatives and related reading
The page links to guidance for sending traces from other sources, exploring traces, configuring redaction and working with evaluations. These are follow-up topics; their instructions and capabilities are outside the supplied page.
No competing observability products are described or compared. Relative pricing, compatibility and feature coverage are unknown.
Evidence
The evidence is the complete documentation page at [https://docs.mistral.ai/studio/observability/traces/quickstart.md]. It contains prerequisites, installation commands, a Python example, expected trace details, troubleshooting conditions and a retention statement.
The supplied source snapshot has SHA-256 970bd08d1dd0e6d53030e2636751106c399d46b9cfbbab049a01aa2a7ae8d348. Linked pages, SDK source code, service terms and pricing documents are excluded. The documented results have no accompanying execution evidence.
Access & freshness
Costs
Enterprise membership is an access requirement, but the page states no subscription price, model token price, telemetry charge, storage fee or free allowance.
The example makes one model request. Its cost and the ongoing cost of tracing are unknown from this page. Displayed token counts do not provide enough information to calculate a bill.
Rights
The page states no licence or redistribution permission for its text or sample code. SDK licensing, service terms and rights concerning stored trace content are also not established by this evidence.
Reuse and redistribution permissions therefore remain unknown. Public availability of the documentation does not establish those permissions.
Freshness
The documentation snapshot was captured on 2026-11-14 at 22:58:14.664 UTC. The page supplies no publication date, update date or author testing date.
The installation command leaves the SDK version unspecified, and the example uses mistral-small-latest without identifying a fixed model revision. Exact versions, subsequent documentation changes and current service behavior are unknown from this snapshot.
Next steps
Confirm Enterprise access, enabled observability and an eligible role before following the setup. Use the supplied example prompt, then inspect the Trace Explorer for the parent, chat and simulated tool spans, including the chat’s latency and token counts.
For an application with real tools, add spans around actual tool execution. Before sending application content, consult the linked redaction guidance at [https://docs.mistral.ai/studio/observability/traces/data-redaction]. Confirm current pricing and whether 30-day retention meets the intended investigation needs.
