# prov.trace.inferences

prov.trace.inferences in the Python SDK: 2 methods. A run's activation profile, masked through the one chokepoint.

## Methods

### [profile](https://provenanceauth.com/docs/sdks/python/trace-inferences/profile.md)

```python
prov.trace.inferences.profile(trace_id: str, pattern: Optional[str] = …) -> Any
```

Calls `GET /v1/trace/inferences/{id}/profile`.

### [compute_profile](https://provenanceauth.com/docs/sdks/python/trace-inferences/compute-profile.md)

```python
prov.trace.inferences.compute_profile(trace_id: str, top_k: Optional[int] = …, messages: Optional[list] = …) -> Any
```

Compute one now (metered `trace_profile`).

Calls `POST /v1/trace/inferences/{id}/profile`.
