Record API Call • AI Agents Framework
record_api_call: Record an API/HTTP call timing.
record_api_call
Method
</div>
This is a method of the ProfilerCompat class in the profiler module.
Record an API/HTTP call timing.
Signature
def record_api_call(endpoint: str, method: str, duration_ms: float, status_code: int, request_size: int, response_size: int) -> NoneParameters
ParamField
strNo description available.
ParamField
strNo description available.
ParamField
floatNo description available.
ParamField
intNo description available.
ParamField
intNo description available.
ParamField
intNo description available.
Uses
record_api_callget_profiler
Used By
Source
View on GitHubpraisonai/profiler.py at line 861