> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Track Workflow • Rust AI Agent SDK

> track_workflow: Track workflow execution

# track\_workflow

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**extras**](../modules/extras) module.

Track workflow execution

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def track_workflow(name: &str, _context: Option<&TraceContextData>) -> TraceContextData
```

## Parameters

<ParamField query="name" type="&str" required={true}>
  No description available.
</ParamField>

<ParamField query="_context" type="Option<&TraceContextData>" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="TraceContextData">
  The result of the operation.
</ResponseField>

## Uses

* `insert`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/parity/extras.rs#L690">
  `praisonai/src/parity/extras.rs` at line 690
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Workflows" icon="diagram-project" href="/docs/rust/workflows" />

  <Card title="Rust Agent Flow" icon="route" href="/docs/rust/agent-flow" />

  <Card title="Rust Agent Team" icon="users" href="/docs/rust/agent-team" />

  <Card title="Rust Process" icon="gears" href="/docs/rust/process" />

  <Card title="Rust Flow" icon="route" href="/docs/rust/flow" />
</CardGroup>
