# Fiddler Documentation: SDK & API > Unified observability for trustworthy AI across traditional ML, LLM applications, autonomous agents, and self-hosted deployments. ## SDK & API - [Overview](https://docs.fiddler.ai/sdk-api/index.md) ### Fiddler Python Client SDK - [Introduction](https://docs.fiddler.ai/sdk-api/python-client/index.md): Complete API reference for fiddler #### Connection - [Connection](https://docs.fiddler.ai/sdk-api/python-client/connection.md): Manages authenticated connections to the Fiddler platform. - [ConnectionMixin](https://docs.fiddler.ai/sdk-api/python-client/connection-mixin.md): Mixin class providing connection-related functionality to other classes. #### Constants - [AlertCondition](https://docs.fiddler.ai/sdk-api/python-client/alert-condition.md): Alert trigger conditions for metric comparisons. - [AlertThresholdAlgo](https://docs.fiddler.ai/sdk-api/python-client/alert-threshold-algo.md): Threshold determination algorithms for alert rules. - [ArtifactStatus](https://docs.fiddler.ai/sdk-api/python-client/artifact-status.md): Model artifact upload and deployment status. - [ArtifactType](https://docs.fiddler.ai/sdk-api/python-client/artifact-type.md): Model artifact types for deployment. - [BaselineType](https://docs.fiddler.ai/sdk-api/python-client/baseline-type.md): Baseline computation strategies for data drift detection in Fiddler. - [BinSize](https://docs.fiddler.ai/sdk-api/python-client/bin-size.md): Time bin sizes for alert rule aggregation. - [CompareTo](https://docs.fiddler.ai/sdk-api/python-client/compare-to.md): Comparison baseline types for alert rule thresholds. - [CustomFeatureType](https://docs.fiddler.ai/sdk-api/python-client/custom-feature-type.md): Types of custom features for advanced model monitoring. - [DataType](https://docs.fiddler.ai/sdk-api/python-client/data-type.md): Data types supported for model columns in Fiddler. - [DeploymentType](https://docs.fiddler.ai/sdk-api/python-client/deployment-type.md): Model deployment types for explainability services. - [DownloadFormat](https://docs.fiddler.ai/sdk-api/python-client/download-format.md): File formats for downloading and exporting explanation data. - [EnvType](https://docs.fiddler.ai/sdk-api/python-client/env-type.md): Environment types for data publishing in Fiddler. - [ExplainMethod](https://docs.fiddler.ai/sdk-api/python-client/explain-method.md): Explanation methods for model interpretability and feature importance analysis. - [JobStatus](https://docs.fiddler.ai/sdk-api/python-client/job-status.md): Status values for asynchronous job operations in Fiddler. - [ModelInputType](https://docs.fiddler.ai/sdk-api/python-client/model-input-type.md): Input data types supported by Fiddler models. - [ModelTask](https://docs.fiddler.ai/sdk-api/python-client/model-task.md): Machine learning task types supported by Fiddler. - [Priority](https://docs.fiddler.ai/sdk-api/python-client/priority.md): Alert priority levels for notification routing and escalation. - [WindowBinSize](https://docs.fiddler.ai/sdk-api/python-client/window-bin-size.md): Time granularities for rolling baseline window aggregation. #### Entities - [AlertRecord](https://docs.fiddler.ai/sdk-api/python-client/alert-record.md): Alert record representing a triggered alert instance. - [AlertRule](https://docs.fiddler.ai/sdk-api/python-client/alert-rule.md): Alert rule for automated monitoring and alerting in ML systems. - [Baseline](https://docs.fiddler.ai/sdk-api/python-client/baseline.md): Baseline for drift detection and model performance monitoring. - [BaselineCompact](https://docs.fiddler.ai/sdk-api/python-client/baseline-compact.md): Fetch baseline instance - [CustomMetric](https://docs.fiddler.ai/sdk-api/python-client/custom-metric.md): Custom metric for monitoring business-specific and domain-specific KPIs. - [Dataset](https://docs.fiddler.ai/sdk-api/python-client/dataset.md): Represents a dataset containing data published to a Fiddler model. - [DatasetCompact](https://docs.fiddler.ai/sdk-api/python-client/dataset-compact.md): Lightweight dataset representation for listing and basic operations. - [File](https://docs.fiddler.ai/sdk-api/python-client/file.md): Construct a files instance. - [Job](https://docs.fiddler.ai/sdk-api/python-client/job.md): Represents an asynchronous operation in the Fiddler platform. - [Model](https://docs.fiddler.ai/sdk-api/python-client/model.md): Represents a machine learning model in the Fiddler platform. - [ModelCompact](https://docs.fiddler.ai/sdk-api/python-client/model-compact.md): Lightweight model representation for listing and basic operations. - [ModelDeployment](https://docs.fiddler.ai/sdk-api/python-client/model-deployment.md): Model deployment management for serving infrastructure. - [Project](https://docs.fiddler.ai/sdk-api/python-client/project.md): Represents a project container for organizing ML models and resources. - [ProjectCompact](https://docs.fiddler.ai/sdk-api/python-client/project-compact.md): Lightweight project representation for listing and basic operations. - [Segment](https://docs.fiddler.ai/sdk-api/python-client/segment.md): Data segment for targeted monitoring and cohort analysis. - [Webhook](https://docs.fiddler.ai/sdk-api/python-client/webhook.md): Webhook for integrating external notification systems with Fiddler alerts. #### Exceptions - [ApiError](https://docs.fiddler.ai/sdk-api/python-client/api-error.md): Raised when the Fiddler API returns an HTTP error response. - [AsyncJobFailed](https://docs.fiddler.ai/sdk-api/python-client/async-job-failed.md): Raised when an asynchronous job fails to execute successfully. - [Conflict](https://docs.fiddler.ai/sdk-api/python-client/conflict.md): Raised when a request conflicts with the current state of a resource (HTTP 409). - [ConnError](https://docs.fiddler.ai/sdk-api/python-client/conn-error.md): Raised when a connection error occurs during HTTP requests. - [ConnTimeout](https://docs.fiddler.ai/sdk-api/python-client/conn-timeout.md): Raised when a connection timeout occurs during HTTP requests. - [HttpError](https://docs.fiddler.ai/sdk-api/python-client/http-error.md): Base class for all HTTP-related errors. - [IncompatibleClient](https://docs.fiddler.ai/sdk-api/python-client/incompatible-client.md): Raised when the Python client version is incompatible with the Fiddler platform version. - [NotFound](https://docs.fiddler.ai/sdk-api/python-client/not-found.md): Raised when a requested resource is not found (HTTP 404). - [Unsupported](https://docs.fiddler.ai/sdk-api/python-client/unsupported.md): Raised when an unsupported operation is attempted. #### Schemas - [Column](https://docs.fiddler.ai/sdk-api/python-client/column.md): Represents a single column in a model schema with its metadata and constraints. - [CustomFeature](https://docs.fiddler.ai/sdk-api/python-client/custom-feature.md): Base class for all custom feature types in Fiddler models. - [DatasetDataSource](https://docs.fiddler.ai/sdk-api/python-client/dataset-data-source.md): Data source for explainability analysis using a sample from a dataset. - [DeploymentParams](https://docs.fiddler.ai/sdk-api/python-client/deployment-params.md): Configuration parameters for deploying a model in the Fiddler platform. - [Enrichment](https://docs.fiddler.ai/sdk-api/python-client/enrichment.md): Represents custom features derived from enrichment operations. - [EventIdDataSource](https://docs.fiddler.ai/sdk-api/python-client/event-id-data-source.md): Data source for explainability analysis using a specific event ID. - [ImageEmbedding](https://docs.fiddler.ai/sdk-api/python-client/image-embedding.md): Represents custom features derived from image embeddings for visual content analysis. - [ModelSchema](https://docs.fiddler.ai/sdk-api/python-client/model-schema.md): Defines the complete schema structure for a model's input data. - [ModelSpec](https://docs.fiddler.ai/sdk-api/python-client/model-spec.md): Defines how model columns are categorized and used along with model task configuration. - [ModelTaskParams](https://docs.fiddler.ai/sdk-api/python-client/model-task-params.md): Configuration parameters for different model task types and evaluation metrics. - [Multivariate](https://docs.fiddler.ai/sdk-api/python-client/multivariate.md): Represents custom features derived from multiple columns using clustering analysis. - [RowDataSource](https://docs.fiddler.ai/sdk-api/python-client/row-data-source.md): Data source for explainability analysis using a single row of data. - [TextEmbedding](https://docs.fiddler.ai/sdk-api/python-client/text-embedding.md): Represents custom features derived from text embeddings with TF-IDF analysis. - [VectorFeature](https://docs.fiddler.ai/sdk-api/python-client/vector-feature.md): Represents custom features derived from a single vector column using clustering analysis. - [XaiParams](https://docs.fiddler.ai/sdk-api/python-client/xai-params.md): Configuration parameters for explainability (XAI) analysis in Fiddler models. #### Utils - [create_columns_from_df](https://docs.fiddler.ai/sdk-api/python-client/create-columns-from-df.md): Helper function to create Columns from a pandas DataFrame column dtypes. - [group_by](https://docs.fiddler.ai/sdk-api/python-client/group-by.md): Group the events by a column. Use this method to form the grouped data for ranking models. ### Fiddler Evals SDK - [Introduction](https://docs.fiddler.ai/sdk-api/evals/index.md): Complete API reference for fiddler-evals #### Connection - [Connection](https://docs.fiddler.ai/sdk-api/evals/connection.md): Manages authenticated connections to the Fiddler platform. - [init](https://docs.fiddler.ai/sdk-api/evals/init.md): Initialize the Fiddler client with connection parameters and global configuration. #### Dataset Items - [items_from_csv](https://docs.fiddler.ai/sdk-api/evals/items-from-csv.md): Build one dataset item per CSV row, with `items_from_pandas()`'s column mapping. - [items_from_jsonl](https://docs.fiddler.ai/sdk-api/evals/items-from-jsonl.md): Build one dataset item per line of a JSON Lines file (empty lines are skipped). - [items_from_pandas](https://docs.fiddler.ai/sdk-api/evals/items-from-pandas.md): Build one dataset item per DataFrame row. #### Entities - [Application](https://docs.fiddler.ai/sdk-api/evals/application.md): Represents a GenAI Application container for organizing GenAI application resources. - [Dataset](https://docs.fiddler.ai/sdk-api/evals/dataset.md): Represents a Dataset container for organizing evaluation test cases. - [Experiment](https://docs.fiddler.ai/sdk-api/evals/experiment.md): Represents an Experiment for tracking evaluation runs and results. - [ExperimentItemStatus](https://docs.fiddler.ai/sdk-api/evals/experiment-item-status.md): Outcome of a single dataset item within an experiment run. - [ExperimentStatus](https://docs.fiddler.ai/sdk-api/evals/experiment-status.md): Lifecycle status of an experiment run. - [Project](https://docs.fiddler.ai/sdk-api/evals/project.md): Represents a project container for organizing GenAI Apps and resources. - [UpdateItemsResult](https://docs.fiddler.ai/sdk-api/evals/update-items-result.md): What `Dataset.update_items()` wrote, and the dataset at the version it made. #### Evaluators - [AnswerRelevance](https://docs.fiddler.ai/sdk-api/evals/answer-relevance.md): Evaluator to assess how well an answer addresses a given question with optional context. - [Coherence](https://docs.fiddler.ai/sdk-api/evals/coherence.md): Evaluator to assess the coherence and logical flow of a response. - [Conciseness](https://docs.fiddler.ai/sdk-api/evals/conciseness.md): Evaluator to assess how concise and to-the-point an answer is. - [ContextRelevance](https://docs.fiddler.ai/sdk-api/evals/context-relevance.md): Evaluator to assess how relevant retrieved documents are to a user query. - [CustomJudge](https://docs.fiddler.ai/sdk-api/evals/custom-judge.md): Create a fully customizable LLM-as-a-Judge evaluator with your own prompt and output schema. - [CustomJudgeSpec](https://docs.fiddler.ai/sdk-api/evals/custom-judge-spec.md): Reusable prompt specification for CustomJudge evaluators. - [EvalFn](https://docs.fiddler.ai/sdk-api/evals/eval-fn.md): Evaluator that wraps a user-provided function for dynamic evaluation. - [Evaluator](https://docs.fiddler.ai/sdk-api/evals/evaluator.md): Abstract base class for creating custom evaluators in Fiddler Evals. - [FTLPromptSafety](https://docs.fiddler.ai/sdk-api/evals/ftl-prompt-safety.md): Evaluator to assess prompt safety using Fiddler Centor Models. - [FTLResponseFaithfulness](https://docs.fiddler.ai/sdk-api/evals/ftl-response-faithfulness.md): Evaluator to assess response faithfulness using Fiddler Centor Models. - [FTLSecretDetection](https://docs.fiddler.ai/sdk-api/evals/ftl-secret-detection.md): Evaluator to detect credentials, API keys, and tokens in text using Fiddler Centor Models. - [InputFieldSpec](https://docs.fiddler.ai/sdk-api/evals/input-field-spec.md): Metadata for a template variable (input field). - [Message](https://docs.fiddler.ai/sdk-api/evals/message.md): A single message in a prompt template. - [OutputField](https://docs.fiddler.ai/sdk-api/evals/output-field.md): Schema for a single output field in the evaluation response. - [OutputFieldTransform](https://docs.fiddler.ai/sdk-api/evals/output-field-transform.md): Defines how to transform an LLM output field into a final output field. - [RAGFaithfulness](https://docs.fiddler.ai/sdk-api/evals/rag-faithfulness.md): Evaluator to assess if an LLM response is faithful to the provided context. - [RegexMatch](https://docs.fiddler.ai/sdk-api/evals/regex-match.md): Regex match attempts to match the regex pattern only at the beginning of the string. - [RegexSearch](https://docs.fiddler.ai/sdk-api/evals/regex-search.md): Regex search scans the entire string from beginning to end for the first occurrence where the regex pattern matches. - [Sentiment](https://docs.fiddler.ai/sdk-api/evals/sentiment.md): Evaluator to assess text sentiment using Fiddler's sentiment analysis model. - [TopicClassification](https://docs.fiddler.ai/sdk-api/evals/topic-classification.md): Evaluator to classify text topics using Fiddler's zero-shot topic classification model. #### Exceptions - [ApiError](https://docs.fiddler.ai/sdk-api/evals/api-error.md): Raised when an API request fails with a structured error response. - [Conflict](https://docs.fiddler.ai/sdk-api/evals/conflict.md): Raised when a request conflicts with the current state of the resource. - [DatasetBusy](https://docs.fiddler.ai/sdk-api/evals/dataset-busy.md): Raised when another save held the dataset (`DatasetVersionSaveInProgress`) or this write lost its reserved version (`DatasetVersionCommitRace`). - [DatasetWriteUnavailable](https://docs.fiddler.ai/sdk-api/evals/dataset-write-unavailable.md): Raised when the item store was unavailable or too slow (HTTP 503 `DatasetItemsWriteUnavailable`). Nothing was written; retry later, or send fewer items. `Dataset.update_items()` retries before raising it. - [IncompatibleClient](https://docs.fiddler.ai/sdk-api/evals/incompatible-client.md): Raised when the SDK version is incompatible with the Fiddler platform version. - [ItemIdCollision](https://docs.fiddler.ai/sdk-api/evals/item-id-collision.md): Raised when `insert()` names an item id that already exists with different content, or that changed while the call was in flight. - [NotFound](https://docs.fiddler.ai/sdk-api/evals/not-found.md): Raised when a requested resource is not found. - [SkipEval](https://docs.fiddler.ai/sdk-api/evals/skip-eval.md): Exception raised when an evaluation should be skipped. - [StaleDatasetVersion](https://docs.fiddler.ai/sdk-api/evals/stale-dataset-version.md): Raised when a write names items that changed after the dataset version it was based on. Nothing was written. Reload the dataset, reconcile, and write again. `item_ids` holds the items the server names, and `server_message` the server's own wording. - [TransientError](https://docs.fiddler.ai/sdk-api/evals/transient-error.md): Marker for errors after which nothing was written and the same request may succeed later. Catch it to retry a write unchanged. - [Unsupported](https://docs.fiddler.ai/sdk-api/evals/unsupported.md): Raised when a request method is not supported. #### Pydantic Models - [AddItemsFromSpansResponse](https://docs.fiddler.ai/sdk-api/evals/add-items-from-spans-response.md): Response from adding spans to a dataset. - [DatasetItem](https://docs.fiddler.ai/sdk-api/evals/dataset-item.md): Dataset item from Fiddler API - [DatasetSchemaField](https://docs.fiddler.ai/sdk-api/evals/dataset-schema-field.md): A single field in a dataset schema bucket. - [DatasetSchemaResponse](https://docs.fiddler.ai/sdk-api/evals/dataset-schema-response.md): Response from dataset schema introspection. - [DatasetVersionCompact](https://docs.fiddler.ai/sdk-api/evals/dataset-version-compact.md): A committed version of a dataset. - [EvaluatorOutputCoverage](https://docs.fiddler.ai/sdk-api/evals/evaluator-output-coverage.md): Coverage info for a single evaluator output. - [FieldMapping](https://docs.fiddler.ai/sdk-api/evals/field-mapping.md): Maps dataset columns to span attribute keys per bucket. - [NewDatasetItem](https://docs.fiddler.ai/sdk-api/evals/new-dataset-item.md): Model to create a new dataset - [OperatorType](https://docs.fiddler.ai/sdk-api/evals/operator-type.md): Comparison operators for filter rules. - [QueryCondition](https://docs.fiddler.ai/sdk-api/evals/query-condition.md): A group of filter rules combined with AND logic or with OR logic. - [QueryConditionType](https://docs.fiddler.ai/sdk-api/evals/query-condition-type.md): How a filter condition combines its rules. - [QueryRule](https://docs.fiddler.ai/sdk-api/evals/query-rule.md): A single filter comparison: `field`, `operator`, `value`. - [Score](https://docs.fiddler.ai/sdk-api/evals/score.md): A single output of an evaluator. - [ScoreStatus](https://docs.fiddler.ai/sdk-api/evals/score-status.md): Outcome of a single evaluator score within an experiment run. - [SearchFilter](https://docs.fiddler.ai/sdk-api/evals/search-filter.md): Full-text search over span content. - [SearchScope](https://docs.fiddler.ai/sdk-api/evals/search-scope.md): Which span content fields a full-text search applies to. - [SpanAttributeCoverage](https://docs.fiddler.ai/sdk-api/evals/span-attribute-coverage.md): Coverage info for a single span attribute key. - [SpanFieldsResponse](https://docs.fiddler.ai/sdk-api/evals/span-fields-response.md): Response from span fields introspection. - [SpanReference](https://docs.fiddler.ai/sdk-api/evals/span-reference.md): A span identified by trace and span ID. #### Runner - [evaluate](https://docs.fiddler.ai/sdk-api/evals/evaluate.md): Evaluate a dataset using a task function and a list of evaluators. - [Session](https://docs.fiddler.ai/sdk-api/evals/session.md): A captured session: the group of traces produced for one eval item. ### Fiddler OTel SDK - [Introduction](https://docs.fiddler.ai/sdk-api/otel/index.md): Complete API reference for fiddler-otel - [JSONLSpanExporter](https://docs.fiddler.ai/sdk-api/otel/jsonl-span-exporter.md): SpanExporter that captures spans using JSONLSpanCapture. - [FiddlerSpanProcessor](https://docs.fiddler.ai/sdk-api/otel/fiddler-span-processor.md): Span processor that automatically propagates attributes from parent to child spans. #### Attributes - [add_session_attributes](https://docs.fiddler.ai/sdk-api/otel/add-session-attributes.md): Add a session-level attribute that appears on all spans in the current context. - [FiddlerResourceAttributes](https://docs.fiddler.ai/sdk-api/otel/fiddler-resource-attributes.md): Constants for Fiddler OpenTelemetry resource attributes. - [FiddlerSpanAttributes](https://docs.fiddler.ai/sdk-api/otel/fiddler-span-attributes.md): Constants for Fiddler OpenTelemetry span attributes. - [set_conversation_id](https://docs.fiddler.ai/sdk-api/otel/set-conversation-id.md): Set the conversation ID for the current execution context. - [SpanType](https://docs.fiddler.ai/sdk-api/otel/span-type.md): Constants for Fiddler OpenTelemetry span types. #### Client - [FiddlerClient](https://docs.fiddler.ai/sdk-api/otel/fiddler-client.md): The main client for instrumenting Generative AI applications with Fiddler observability. - [get_client](https://docs.fiddler.ai/sdk-api/otel/get-client.md): Return the global FiddlerClient singleton (first created in this process). #### Decorators - [get_current_span](https://docs.fiddler.ai/sdk-api/otel/get-current-span.md): Get the currently active span as a Fiddler wrapper (inside a traced function). - [trace](https://docs.fiddler.ai/sdk-api/otel/trace.md): Decorator for automatic function tracing with input/output capture. #### Span Wrapper - [FiddlerChain](https://docs.fiddler.ai/sdk-api/otel/fiddler-chain.md): Wrapper for chain/workflow spans with semantic convention helpers. - [FiddlerGeneration](https://docs.fiddler.ai/sdk-api/otel/fiddler-generation.md): Wrapper for LLM generation spans with semantic convention helpers. - [FiddlerSpan](https://docs.fiddler.ai/sdk-api/otel/fiddler-span.md): Wrapper around OpenTelemetry span with simplified helper methods. - [FiddlerTool](https://docs.fiddler.ai/sdk-api/otel/fiddler-tool.md): Wrapper for tool/function call spans with semantic convention helpers. ### Fiddler LangGraph SDK - [Introduction](https://docs.fiddler.ai/sdk-api/langgraph/index.md): Complete API reference for fiddler-langgraph #### Instrumentation - [add_session_attributes](https://docs.fiddler.ai/sdk-api/langgraph/add-session-attributes.md): Add a session-level attribute that appears on all spans in the current context. - [add_span_attributes](https://docs.fiddler.ai/sdk-api/langgraph/add-span-attributes.md): Add custom span-level attributes to a specific LangChain component's metadata. - [clear_llm_context](https://docs.fiddler.ai/sdk-api/langgraph/clear-llm-context.md): Remove LLM context from a language model instance. - [LangGraphInstrumentor](https://docs.fiddler.ai/sdk-api/langgraph/lang-graph-instrumentor.md): An OpenTelemetry instrumentor for LangGraph applications. - [set_conversation_id](https://docs.fiddler.ai/sdk-api/langgraph/set-conversation-id.md): Set the conversation ID for the current execution context. - [set_llm_context](https://docs.fiddler.ai/sdk-api/langgraph/set-llm-context.md): Set or clear additional context information on a language model instance. #### Re Exported From Otel - [FiddlerChain](https://docs.fiddler.ai/sdk-api/langgraph/fiddler-chain.md): Wrapper for chain/workflow spans with semantic convention helpers. - [FiddlerClient](https://docs.fiddler.ai/sdk-api/langgraph/fiddler-client.md): The main client for instrumenting Generative AI applications with Fiddler observability. - [FiddlerGeneration](https://docs.fiddler.ai/sdk-api/langgraph/fiddler-generation.md): Wrapper for LLM generation spans with semantic convention helpers. - [FiddlerSpan](https://docs.fiddler.ai/sdk-api/langgraph/fiddler-span.md): Wrapper around OpenTelemetry span with simplified helper methods. - [FiddlerTool](https://docs.fiddler.ai/sdk-api/langgraph/fiddler-tool.md): Wrapper for tool/function call spans with semantic convention helpers. - [get_client](https://docs.fiddler.ai/sdk-api/langgraph/get-client.md): Return the global FiddlerClient singleton (first created in this process). - [get_current_span](https://docs.fiddler.ai/sdk-api/langgraph/get-current-span.md): Get the currently active span as a Fiddler wrapper (inside a traced function). - [trace](https://docs.fiddler.ai/sdk-api/langgraph/trace.md): Decorator for automatic function tracing with input/output capture. ### Fiddler LangChain SDK - [Introduction](https://docs.fiddler.ai/sdk-api/langchain/index.md): Complete API reference for fiddler-langchain #### Attributes - [add_session_attributes](https://docs.fiddler.ai/sdk-api/langchain/add-session-attributes.md): Add a session-level attribute that appears on all spans in the current context. - [add_span_attributes](https://docs.fiddler.ai/sdk-api/langchain/add-span-attributes.md): Add custom span-level attributes to a specific LangChain component's metadata. - [set_conversation_id](https://docs.fiddler.ai/sdk-api/langchain/set-conversation-id.md): Set the conversation ID for the current execution context. #### Tracing - [clear_llm_context](https://docs.fiddler.ai/sdk-api/langchain/clear-llm-context.md): Remove LLM context from a language model instance. - [FiddlerAgentMiddleware](https://docs.fiddler.ai/sdk-api/langchain/fiddler-agent-middleware.md): LangChain V1 middleware that instruments `create_agent` calls with Fiddler tracing. - [FiddlerLangChainInstrumentor](https://docs.fiddler.ai/sdk-api/langchain/fiddler-lang-chain-instrumentor.md): Auto-instrumentor for LangChain V1 agents. - [set_llm_context](https://docs.fiddler.ai/sdk-api/langchain/set-llm-context.md): Set or clear additional context on a language model for inclusion in LLM spans. ### Fiddler Google ADK SDK - [Introduction](https://docs.fiddler.ai/sdk-api/adk/index.md): Complete API reference for fiddler-adk - [GoogleADKInstrumentor](https://docs.fiddler.ai/sdk-api/adk/google-adk-instrumentor.md): OpenTelemetry instrumentor for Google ADK agents. - [ADKSpanProcessor](https://docs.fiddler.ai/sdk-api/adk/adk-span-processor.md): Span processor that backfills session identity onto ADK root spans. ### Fiddler Strands Agent SDK - [Introduction](https://docs.fiddler.ai/sdk-api/strands/index.md): Complete API reference for fiddler-strandsagents #### Conversation And Session - [get_conversation_id](https://docs.fiddler.ai/sdk-api/strands/get-conversation-id.md): Get the conversation ID for the current agent invocation. - [get_session_attributes](https://docs.fiddler.ai/sdk-api/strands/get-session-attributes.md): Get the session attributes for the current agent invocation. - [set_conversation_id](https://docs.fiddler.ai/sdk-api/strands/set-conversation-id.md): Set the conversation ID for the current agent invocation. - [set_session_attributes](https://docs.fiddler.ai/sdk-api/strands/set-session-attributes.md): Add Fiddler-specific session attributes to an agent's metadata. #### Instrumentation - [FiddlerInstrumentationHook](https://docs.fiddler.ai/sdk-api/strands/fiddler-instrumentation-hook.md): Centralized instrumentation hook for Strands agents with Fiddler integration. - [StrandsAgentInstrumentor](https://docs.fiddler.ai/sdk-api/strands/strands-agent-instrumentor.md): OpenTelemetry instrumentor for Strands AI agents. #### Llm Context - [clear_llm_context](https://docs.fiddler.ai/sdk-api/strands/clear-llm-context.md): Remove any previously set LLM context from a Model instance. - [get_llm_context](https://docs.fiddler.ai/sdk-api/strands/get-llm-context.md): Get the LLM context for the current model. - [set_llm_context](https://docs.fiddler.ai/sdk-api/strands/set-llm-context.md): Set or clear additional context information for LLM interactions. #### Span Attributes - [get_span_attributes](https://docs.fiddler.ai/sdk-api/strands/get-span-attributes.md): Get span attributes from a Model or AgentTool object. - [set_span_attributes](https://docs.fiddler.ai/sdk-api/strands/set-span-attributes.md): Set custom attributes on a Model or AgentTool that can be accessed by logging hooks. #### Span Processor - [FiddlerSpanProcessor](https://docs.fiddler.ai/sdk-api/strands/fiddler-span-processor.md): Backwards-compatible alias for StrandsSpanProcessor. - [StrandsSpanProcessor](https://docs.fiddler.ai/sdk-api/strands/strands-span-processor.md): Propagates parent attributes via `CoreFiddlerSpanProcessor` plus Strands-specific behavior. ### Fiddler OTel JS SDK - [Introduction](https://docs.fiddler.ai/sdk-api/otel-js/index.md): Complete API reference for fiddler-otel-js - [FiddlerClient](https://docs.fiddler.ai/sdk-api/otel-js/fiddler-client.md): Primary entry point for Fiddler AI observability in JavaScript/TypeScript. #### Internal - [FiddlerClientConfig](https://docs.fiddler.ai/sdk-api/otel-js/fiddler-client-config.md): Configuration for FiddlerClient. - [SpanAttributes](https://docs.fiddler.ai/sdk-api/otel-js/span-attributes.md): Fiddler span attribute keys. - [SpanType](https://docs.fiddler.ai/sdk-api/otel-js/span-type.md): Allowed values for the `fiddler.span.type` attribute. #### Spans - [FiddlerAgentSpan](https://docs.fiddler.ai/sdk-api/otel-js/fiddler-agent-span.md): Span wrapper for agent/chain operations with agent identity helpers. - [FiddlerGenerationSpan](https://docs.fiddler.ai/sdk-api/otel-js/fiddler-generation-span.md): Span wrapper for LLM generation calls with model, prompt, completion, and token-usage helpers. - [FiddlerSpan](https://docs.fiddler.ai/sdk-api/otel-js/fiddler-span.md): Base wrapper around an OpenTelemetry Span with Fiddler-specific attribute helpers. - [FiddlerToolSpan](https://docs.fiddler.ai/sdk-api/otel-js/fiddler-tool-span.md): Span wrapper for tool/function invocations with tool-specific attribute helpers. - [StartSpanOptions](https://docs.fiddler.ai/sdk-api/otel-js/start-span-options.md): Options for creating a new span via FiddlerClient.startSpan. - [TokenUsage](https://docs.fiddler.ai/sdk-api/otel-js/token-usage.md): Token usage statistics for an LLM call. ### Fiddler LangGraph JS SDK - [Introduction](https://docs.fiddler.ai/sdk-api/langgraph-js/index.md): Complete API reference for fiddler-langgraph-js - [FiddlerCallbackHandler](https://docs.fiddler.ai/sdk-api/langgraph-js/fiddler-callback-handler.md): LangChain callback handler that creates Fiddler OTel spans for every chain, LLM, tool, agent, and retriever lifecycle event. #### Context - [addSessionAttributes](https://docs.fiddler.ai/sdk-api/langgraph-js/add-session-attributes.md): addSessionAttributes - [getConversationId](https://docs.fiddler.ai/sdk-api/langgraph-js/get-conversation-id.md): getConversationId - [getLlmContext](https://docs.fiddler.ai/sdk-api/langgraph-js/get-llm-context.md): getLlmContext - [getSessionAttributes](https://docs.fiddler.ai/sdk-api/langgraph-js/get-session-attributes.md): getSessionAttributes - [runWithContext](https://docs.fiddler.ai/sdk-api/langgraph-js/run-with-context.md): runWithContext - [setConversationId](https://docs.fiddler.ai/sdk-api/langgraph-js/set-conversation-id.md): setConversationId - [setLlmContext](https://docs.fiddler.ai/sdk-api/langgraph-js/set-llm-context.md): setLlmContext #### Instrumentor - [CallbackManagerModule](https://docs.fiddler.ai/sdk-api/langgraph-js/callback-manager-module.md): Shape of the `@langchain/core/callbacks/manager` module export. - [LangGraphInstrumentor](https://docs.fiddler.ai/sdk-api/langgraph-js/lang-graph-instrumentor.md): Auto-instruments LangChain/LangGraph by monkey-patching `CallbackManager._configureSync` (or `.configure`) to inject a FiddlerCallbackHandler into every invocation. #### Utils - [extractTextContent](https://docs.fiddler.ai/sdk-api/langgraph-js/extract-text-content.md): extractTextContent - [formatMessages](https://docs.fiddler.ai/sdk-api/langgraph-js/format-messages.md): formatMessages - [getProviderFromModel](https://docs.fiddler.ai/sdk-api/langgraph-js/get-provider-from-model.md): getProviderFromModel - [safeStringify](https://docs.fiddler.ai/sdk-api/langgraph-js/safe-stringify.md): safeStringify - [truncate](https://docs.fiddler.ai/sdk-api/langgraph-js/truncate.md): truncate ### Fiddler LangChain JS SDK - [Introduction](https://docs.fiddler.ai/sdk-api/langchain-js/index.md): Complete API reference for fiddler-langchain-js #### Core - [addSessionAttributes](https://docs.fiddler.ai/sdk-api/langchain-js/add-session-attributes.md): addSessionAttributes - [CallbackManagerModule](https://docs.fiddler.ai/sdk-api/langchain-js/callback-manager-module.md): Shape of the `@langchain/core/callbacks/manager` module export. - [extractTextContent](https://docs.fiddler.ai/sdk-api/langchain-js/extract-text-content.md): extractTextContent - [FiddlerCallbackHandler](https://docs.fiddler.ai/sdk-api/langchain-js/fiddler-callback-handler.md): LangChain callback handler that creates Fiddler OTel spans for every chain, LLM, tool, agent, and retriever lifecycle event. - [formatMessages](https://docs.fiddler.ai/sdk-api/langchain-js/format-messages.md): formatMessages - [getConversationId](https://docs.fiddler.ai/sdk-api/langchain-js/get-conversation-id.md): getConversationId - [getLlmContext](https://docs.fiddler.ai/sdk-api/langchain-js/get-llm-context.md): getLlmContext - [getProviderFromModel](https://docs.fiddler.ai/sdk-api/langchain-js/get-provider-from-model.md): getProviderFromModel - [getSessionAttributes](https://docs.fiddler.ai/sdk-api/langchain-js/get-session-attributes.md): getSessionAttributes - [LangChainInstrumentor](https://docs.fiddler.ai/sdk-api/langchain-js/lang-chain-instrumentor.md): Auto-instruments LangChain/LangGraph by monkey-patching `CallbackManager._configureSync` (or `.configure`) to inject a FiddlerCallbackHandler into every invocation. - [runWithContext](https://docs.fiddler.ai/sdk-api/langchain-js/run-with-context.md): runWithContext - [safeStringify](https://docs.fiddler.ai/sdk-api/langchain-js/safe-stringify.md): safeStringify - [setConversationId](https://docs.fiddler.ai/sdk-api/langchain-js/set-conversation-id.md): setConversationId - [setLlmContext](https://docs.fiddler.ai/sdk-api/langchain-js/set-llm-context.md): setLlmContext - [truncate](https://docs.fiddler.ai/sdk-api/langchain-js/truncate.md): truncate ### REST API - [REST API](https://docs.fiddler.ai/sdk-api/rest-api/index.md): Reference for the Fiddler REST API. Every operation in the public OpenAPI specification is documented here, grouped by resource. #### Alert Rules - [Alert Rules REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/index.md): Discover Fiddler’s Alert Rules REST API guide. Learn to list alerts by time, create alert rules, send notifications for alerts, and more. - [createNotificationForAlertRule](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/create-notification-for-alert-rule.md): Create Notification for an Alert Rule - [Creates Alert Rules](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/create-alert.md): Creates Alert Rules - [Deletes an Alert Rule](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/delete-alert-rule.md): Deletes an Alert Rule - [Get thresholds that were used to evaluate the given time bin using the given alert rule.](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/get-alert-thresholds-for-time-bin.md): Get thresholds that were used to evaluate the given time bin using the given alert rule. - [List latest alert record for each time bucket during specified time_bucket_start and time_bucket_end for the given alert rule](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/get-alert-record-history.md): List latest alert record for each time bucket during specified time_bucket_start and time_bucket_end for the given alert rule - [List of all alert records during specified time_bucket_start and time_bucket_end for the given alert rule](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/get-alert-rule-records.md): List of all alert records during specified time_bucket_start and time_bucket_end for the given alert rule - [List of all alert rule summary in the given time_bucket_start and time_bucket_end](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/get-alert-rules-summary.md): List of all alert rule summary in the given time_bucket_start and time_bucket_end - [Lists all alert rules configured for a model.](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/get-alert-rules.md): Lists all alert rules configured for a model. - [Returns Alert Rule for the given id](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/get-alert-rule.md): Returns Alert Rule for the given id - [Returns notification for the given Alert Rule id](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/get-notification-for-alert-rule.md): Returns notification for the given Alert Rule id - [Send a test notification for the given Alert Rule](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/test-notification-for-alert-rule.md): Send a test notification for the given Alert Rule to verify notification configuration - [Update by id](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/update-notification-for-alert-rule.md): Update Notification by Alert Rule id - [Update by id](https://docs.fiddler.ai/sdk-api/rest-api/alert-rules/update-alert-rule.md): Update Alert Rule by id #### Applications - [Applications](https://docs.fiddler.ai/sdk-api/rest-api/applications/index.md): REST API endpoints for managing applications in Fiddler Platform. - [Create New Application](https://docs.fiddler.ai/sdk-api/rest-api/applications/create-application.md): Create New Application - [Delete Application](https://docs.fiddler.ai/sdk-api/rest-api/applications/delete-application.md): Delete application and all associated resources asynchronously - [Get Application](https://docs.fiddler.ai/sdk-api/rest-api/applications/get-application.md): Get application by ID - [Get Application Metrics Metadata](https://docs.fiddler.ai/sdk-api/rest-api/applications/get-application-metrics.md): Retrieves available metrics and aggregations for a GenAI application - [List applications](https://docs.fiddler.ai/sdk-api/rest-api/applications/get-applications.md): Get list of applications in a project for provided query and filters - [List catalog entries](https://docs.fiddler.ai/sdk-api/rest-api/applications/list-catalog.md): Paginated, searchable list of entity names for an application. Returns entity names with semantic concept mappings, data types, first/last seen timestamps, and observation counts. - [List distinct values for a catalog entity](https://docs.fiddler.ai/sdk-api/rest-api/applications/list-catalog-values.md): Paginated, searchable list of distinct values for a specific entity (or semantic concept) within an application. Useful for populating filter dropdowns in the Trace Explorer UI. - [Update Application](https://docs.fiddler.ai/sdk-api/rest-api/applications/update-application.md): Partially update an application. Only `description` and `risk` are editable; any other field in the request body is rejected with `400`. #### Baselines - [Baselines REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/baseline/index.md): Discover Fiddler’s Baseline feature. Learn how to add, retrieve, delete, and list baselines for a model based on user permissions and filters. - [add baseline to a model](https://docs.fiddler.ai/sdk-api/rest-api/baseline/add-baseline.md): Adds a baseline to a model - [Delete baseline from a model](https://docs.fiddler.ai/sdk-api/rest-api/baseline/delete-baseline.md): Delete baseline from a model - [Get baseline details](https://docs.fiddler.ai/sdk-api/rest-api/baseline/get-baseline.md): Get baseline details - [List of baselines based on user permissions and filters](https://docs.fiddler.ai/sdk-api/rest-api/baseline/get-baselines.md): List of baselines based on user permissions and filters - [List of baselines of a model](https://docs.fiddler.ai/sdk-api/rest-api/baseline/get-model-baselines.md): List of baselines of a model #### Configurations - [Configurations](https://docs.fiddler.ai/sdk-api/rest-api/configurations/index.md): REST API endpoints for reading and changing runtime configurations, such as data retention periods, in Fiddler Platform. - [Create a new configuration](https://docs.fiddler.ai/sdk-api/rest-api/configurations/add-configuration.md): Create a configuration for an organization, project, or model. Each setting can be created only once per scope; if it already exists, this endpoint returns `409 Conflict`. A setting can exist before you first create it: on deployments where stored values take effect, Fiddler copies any retention val… - [Delete configuration](https://docs.fiddler.ai/sdk-api/rest-api/configurations/delete-configuration.md): Delete a configuration by its `id`. Organization-level configurations cannot be deleted and return `403 Forbidden`; update their value instead. - [Get configuration details](https://docs.fiddler.ai/sdk-api/rest-api/configurations/get-configuration.md): Fetch a single configuration by its `id`. - [List configurations](https://docs.fiddler.ai/sdk-api/rest-api/configurations/get-configurations.md): List the configurations set in your organization, with pagination, filtering, search, and ordering. Requires permission to read organization settings, which Org Admins have by default; other roles receive `403 Forbidden`. - [Update configuration value](https://docs.fiddler.ai/sdk-api/rest-api/configurations/update-configuration.md): Update a configuration's value. Only the value can be changed after creation. The configuration is identified by its own `id` (find it with the list endpoint), not by the ID of the model, project, or organization it applies to. #### Custom Metrics - [Custom Metrics REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/custom-metrics/index.md): Discover Fiddler’s Custom Metric feature. Learn how to add, retrieve, and delete custom metrics from you Fiddler models. - [Create new custom metric](https://docs.fiddler.ai/sdk-api/rest-api/custom-metrics/create-custom-metric.md): Create new custom metric - [Delete custom metric by uuid](https://docs.fiddler.ai/sdk-api/rest-api/custom-metrics/delete-custom-metric.md): Delete custom metric by uuid - [Detail info of a custom metric](https://docs.fiddler.ai/sdk-api/rest-api/custom-metrics/get-custom-metric.md): Detail info of a custom metric - [List all custom metrics](https://docs.fiddler.ai/sdk-api/rest-api/custom-metrics/get-custom-metrics.md): List all custom metrics - [List all custom metrics for a model](https://docs.fiddler.ai/sdk-api/rest-api/custom-metrics/get-model-custom-metrics.md): List all custom metrics for a model #### Environments - [Environments REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/environment/index.md): Learn about Fiddler’s environments API . Learn how to list pre-production and production environment datasets. - [Get environment of a model](https://docs.fiddler.ai/sdk-api/rest-api/environment/get-environment.md): Retrieve details of a specific environment associated with a model. - [List Environments](https://docs.fiddler.ai/sdk-api/rest-api/environment/get-environments.md): Retrieve a list of environments from authorized projects. - [List of environments of a model](https://docs.fiddler.ai/sdk-api/rest-api/environment/get-model-environments.md): Retrieve a list of environments associated with a specific model. #### Evals - [Evals](https://docs.fiddler.ai/sdk-api/rest-api/evals/index.md): REST API endpoints for managing evals in Fiddler Platform. - [Add new Evals dataset items](https://docs.fiddler.ai/sdk-api/rest-api/evals/add-evals-dataset-items.md): Add new items to a dataset, in a single committed version. - [Add, update and delete many dataset items](https://docs.fiddler.ai/sdk-api/rest-api/evals/bulk-update-evals-dataset-items.md): Apply a batch of creates, updates and deletes to a dataset's items in a single committed version. - [Bulk add spans to dataset](https://docs.fiddler.ai/sdk-api/rest-api/evals/bulk-add-spans-to-dataset.md): Accept a list of explicit span references and a field mapping, fetch span attributes from ClickHouse, apply the mapping server-side, and write one dataset item per span. All-or-nothing — if any span cannot be resolved, no items are written and a 422 is returned with the list of unresolvable spans. - [Create an Evals dataset](https://docs.fiddler.ai/sdk-api/rest-api/evals/create-evals-dataset.md) - [Delete a dataset](https://docs.fiddler.ai/sdk-api/rest-api/evals/delete-evals-dataset.md) - [Delete a dataset item](https://docs.fiddler.ai/sdk-api/rest-api/evals/delete-evals-dataset-item.md): Delete one dataset item by appending a **deletion revision** (a revision that marks the item deleted) under a new committed version. The item is never physically removed: it disappears from the item listing, the item count and the dataset schema of the current dataset, and stays fully readable — con… - [Edit a dataset item](https://docs.fiddler.ai/sdk-api/rest-api/evals/update-evals-dataset-item.md): Edit one dataset item by appending a revision under a new committed version. Nothing is overwritten and nothing is removed: the previous revision stays readable at every earlier `?version=`. - [Get a dataset by id](https://docs.fiddler.ai/sdk-api/rest-api/evals/get-evals-dataset-by-id.md) - [Get a dataset item by id](https://docs.fiddler.ai/sdk-api/rest-api/evals/get-evals-dataset-item-by-id.md): Read one item of a dataset, resolved exactly as the list endpoint resolves it — `item` is exactly the element the list endpoint returns for that id at the same version. - [Get dataset schema](https://docs.fiddler.ai/sdk-api/rest-api/evals/get-evals-dataset-schema.md): Discover what field keys exist in each JSON bucket (inputs, expected_outputs, metadata, extras) across this dataset's items, along with a coverage count and inferred data type for each key. Useful for pre-populating a field mapper UI or for an MCP agent to understand what data is available before co… - [Get the revision history of a dataset item](https://docs.fiddler.ai/sdk-api/rest-api/evals/get-evals-dataset-item-history.md): Every committed revision of one item, paginated — which version changed it, what that save did to it, when, and by whom. Unlike the other item reads, which return only the item's state at one version, this returns every revision. - [List a dataset's versions](https://docs.fiddler.ai/sdk-api/rest-api/evals/list-evals-dataset-versions.md): The committed versions of one dataset, newest first, paginated. This is the discovery endpoint for `?version=`: every version listed here is addressable as `?version=`, and nothing outside this list is. - [List dataset items](https://docs.fiddler.ai/sdk-api/rest-api/evals/get-evals-dataset-items.md): Get list of items for a dataset. - [List Evals datasets](https://docs.fiddler.ai/sdk-api/rest-api/evals/list-evals-datasets.md): Retrieve datasets with pagination, search, ordering, and filters. - [Update a dataset](https://docs.fiddler.ai/sdk-api/rest-api/evals/update-evals-dataset.md) #### Evaluation - [Evaluation](https://docs.fiddler.ai/sdk-api/rest-api/evaluation/index.md): REST API endpoints for managing evaluation in Fiddler Platform. - [Score inputs using an evaluator](https://docs.fiddler.ai/sdk-api/rest-api/evaluation/score-inputs.md): Score inputs using an evaluator #### Evaluator Costs - [Evaluator Costs REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/evaluator-costs/index.md): Retrieve per-evaluator LLM cost and token-usage roll-ups, filtered by project or application and grouped by project, application, or evaluator rule. - [Get evaluator cost roll-ups](https://docs.fiddler.ai/sdk-api/rest-api/evaluator-costs/get-cost-evaluators.md): Returns a paginated list of per-evaluator LLM cost and token-usage totals for the requested time window. #### Evaluator Rules - [Evaluator Rules REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/evaluator-rules/index.md): Discover Fiddler’s Evaluator Rules REST API guide. Learn to list and create evaluator rules, update or delete a rule, map input keys, and list evaluator backfills. - [Create New Evaluator Rule](https://docs.fiddler.ai/sdk-api/rest-api/evaluator-rules/create-evaluator-rule.md): Create a new Evaluator Rule - [Delete Rule Evaluator for an application](https://docs.fiddler.ai/sdk-api/rest-api/evaluator-rules/delete-rule-evaluator.md): Delete Rule Evaluator - [Get attribute names and input fields](https://docs.fiddler.ai/sdk-api/rest-api/evaluator-rules/map-input-keys-rule-evaluator.md): Get the possible attribute names detected in the application and the input fields with data type to fill out for the evaluator name - [List evaluator backfills](https://docs.fiddler.ai/sdk-api/rest-api/evaluator-rules/get-evaluator-backfills.md): Get list of evaluator backfill jobs for provided query and filters - [List Rule evaluators](https://docs.fiddler.ai/sdk-api/rest-api/evaluator-rules/get-rule-evaluators.md): Get list of Rule evaluators setup for provided query and filters - [Update Rule Evaluator](https://docs.fiddler.ai/sdk-api/rest-api/evaluator-rules/update-rule-evaluator.md): Update the Rule evaluator #### Evaluators - [Evaluators REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/evaluators/index.md): Discover Fiddler’s Evaluators REST API guide. Learn to list and create evaluators, get an evaluator by ID, update or archive evaluators, and fetch evaluator configuration options. - [Archive Evaluator](https://docs.fiddler.ai/sdk-api/rest-api/evaluators/archive-evaluator.md): Archive an evaluator. Sets the evaluator's status to ARCHIVED. Archived evaluators are excluded from active queries and cannot be used in new evaluator rules. - [Create New Evaluator](https://docs.fiddler.ai/sdk-api/rest-api/evaluators/create-evaluator.md): Create a new Evaluator - [Get Evaluator by ID](https://docs.fiddler.ai/sdk-api/rest-api/evaluators/get-evaluator.md): Get details of a specific evaluator by its ID - [List evaluator config schemas](https://docs.fiddler.ai/sdk-api/rest-api/evaluators/get-evaluator-config-schemas.md): Get list of evaluator config schema for each enrichment type with data type - [List evaluators](https://docs.fiddler.ai/sdk-api/rest-api/evaluators/get-evaluators.md): Get list of evaluators for provided query and filters - [Update Evaluator](https://docs.fiddler.ai/sdk-api/rest-api/evaluators/update-evaluator.md): Update an evaluator's name and/or configuration. Creates a new version of the evaluator and archives the previous version. At least one field (name or enrichment_config) must be provided. #### Events - [Events](https://docs.fiddler.ai/sdk-api/rest-api/events/index.md): REST API endpoints for managing events in Fiddler Platform. - [Delete events in Fiddler Platform](https://docs.fiddler.ai/sdk-api/rest-api/events/delete-events.md): Delete events in Fiddler Platform - [Publish events to Fiddler Platform](https://docs.fiddler.ai/sdk-api/rest-api/events/publish-events.md): Publish events to Fiddler Platform - [Publish update events to Fiddler Platform](https://docs.fiddler.ai/sdk-api/rest-api/events/publish-events-update.md): Publish update events to Fiddler Platform #### Experiments - [Experiments](https://docs.fiddler.ai/sdk-api/rest-api/experiments/index.md): REST API endpoints for managing experiments in Fiddler Platform. - [Create New Experiment](https://docs.fiddler.ai/sdk-api/rest-api/experiments/create-experiment.md): Create a new experiment - [Delete Experiment](https://docs.fiddler.ai/sdk-api/rest-api/experiments/delete-experiment.md): Delete an experiment - [Get Experiment](https://docs.fiddler.ai/sdk-api/rest-api/experiments/get-experiment.md): Get experiment by ID - [Get Experiment Metrics](https://docs.fiddler.ai/sdk-api/rest-api/experiments/get-experiment-metrics.md): Get per-evaluator aggregate metrics for an experiment. Auto-detects each evaluator's chart type based on score cardinality: numeric_range (>10 distinct numeric values, histogram), numeric_categorical (<=10 distinct numeric values, distribution bars), or categorical (label-only scores, distribution w… - [Get Experiment Row Metrics](https://docs.fiddler.ai/sdk-api/rest-api/experiments/get-experiment-metrics-rows.md): Get top and bottom performing rows via percentile-based outlier detection. Numeric evaluators use P10/P90 thresholds; categorical evaluators flag labels that differ from the mode. Rows are ranked by how many evaluators flagged them as outliers. - [List experiment results](https://docs.fiddler.ai/sdk-api/rest-api/experiments/get-experiment-results.md): Get a paginated list of results for an experiment. Each result contains the experiment item outputs, dataset inputs and expected outputs, and all associated evaluation scores (including the evaluator name). **Filtering** (`filter` parameter — JSON-encoded QueryCondition DSL): - `experiment_item_id`… - [List experiments](https://docs.fiddler.ai/sdk-api/rest-api/experiments/get-experiments.md): Get list of experiments for provided query and filters - [Update Experiment](https://docs.fiddler.ai/sdk-api/rest-api/experiments/update-experiment.md): Update an experiment - [Upload experiment results](https://docs.fiddler.ai/sdk-api/rest-api/experiments/upload-experiment-results.md): Upload new experiment results, each with an item and its associated scores. #### File Upload - [File Upload REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/file-upload/index.md): Explore API integration with Fiddler’s platform. Learn about file uploads, from single-part to multi-part options, and optimize your workflow effortlessly. - [Complete multi-part upload](https://docs.fiddler.ai/sdk-api/rest-api/file-upload/complete-multi-part-upload.md): Completes the multi-part upload process for a large file in Fiddler. - [Initiate multi-part upload](https://docs.fiddler.ai/sdk-api/rest-api/file-upload/initiate-multi-part-upload.md): Initiates a multi-part upload process for a large file to Fiddler. - [Upload file a part of the file](https://docs.fiddler.ai/sdk-api/rest-api/file-upload/upload-part.md): Uploads a part of a large file to Fiddler as part of a multi-part upload process. - [Upload file in a single part](https://docs.fiddler.ai/sdk-api/rest-api/file-upload/file-upload.md): Uploads a file in a single part to Fiddler. #### FQL Expressions - [FQL Expressions](https://docs.fiddler.ai/sdk-api/rest-api/fql-expressions/index.md): REST API endpoints for managing fql expressions in Fiddler Platform. - [List available FQL functions](https://docs.fiddler.ai/sdk-api/rest-api/fql-expressions/list-fql-expressions.md): Returns the list of FQL functions available for GenAI custom metrics, including function metadata, parameter definitions, and return types. The response is used by the frontend for autocomplete suggestions, signature hints, and documentation in the FQL editor. #### GenAI Alert Rules - [GenAI Alert Rules](https://docs.fiddler.ai/sdk-api/rest-api/genai-alert-rules/index.md): REST API endpoints for managing genai alert rules in Fiddler Platform. - [Create GenAI Alert Rule](https://docs.fiddler.ai/sdk-api/rest-api/genai-alert-rules/create-gen-ai-alert-rule.md): Creates a new GenAI Alert Rule - [Deletes a GenAI Alert Rule](https://docs.fiddler.ai/sdk-api/rest-api/genai-alert-rules/delete-gen-ai-alert-rule.md): Deletes a GenAI Alert Rule - [Get GenAI Alert Rule](https://docs.fiddler.ai/sdk-api/rest-api/genai-alert-rules/get-gen-ai-alert-rule.md): Retrieves a specific GenAI Alert Rule by its ID - [List GenAI Alert Rules](https://docs.fiddler.ai/sdk-api/rest-api/genai-alert-rules/list-gen-ai-alert-rules.md): Lists all GenAI Alert Rules with pagination - [Send Test Notification](https://docs.fiddler.ai/sdk-api/rest-api/genai-alert-rules/test-gen-ai-alert-rule-notification.md): Sends a test notification for a GenAI Alert Rule using the configured notification settings. The notification uses the actual alert email template with placeholder breach values so recipients can preview what a real alert notification will look like. #### Jobs - [Jobs REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/jobs/index.md): Learn how to create requests and responses to retrieve async job details by job ID and view all background/async jobs with the Fiddler Platform. - [Get async job details for a job id](https://docs.fiddler.ai/sdk-api/rest-api/jobs/get-job.md): Get async job details for a job id - [Get details of all background/async jobs](https://docs.fiddler.ai/sdk-api/rest-api/jobs/get-jobs.md): Get details of all background/async jobs #### LLM Gateway - [LLM Gateway](https://docs.fiddler.ai/sdk-api/rest-api/llm-gateway/index.md): REST API endpoints for managing llm gateway in Fiddler Platform. - [Create new LLM provider](https://docs.fiddler.ai/sdk-api/rest-api/llm-gateway/create-llm-provider.md): Create a new LLM provider with credentials and models - [Delete LLM provider](https://docs.fiddler.ai/sdk-api/rest-api/llm-gateway/delete-llm-provider.md): Delete an LLM provider by name, together with its models and credentials. If evaluator rules use those models or credentials, the delete is refused with a `409` unless `acknowledge_usage=true` is sent. With it, the delete goes through: the evaluators keep their model names and fail with a not-found… - [Get available provider options](https://docs.fiddler.ai/sdk-api/rest-api/llm-gateway/get-llm-provider-options.md): Get available models for each supported LLM provider - [Get the evaluator rules that use a provider's models and credentials](https://docs.fiddler.ai/sdk-api/rest-api/llm-gateway/get-llm-provider-usage.md): For each of the provider's models and credentials, the evaluator rules in the organization whose current evaluator uses it. Requires LLM Gateway Management Update: it serves the warnings before a delete or an edit, for those who can make those changes. Read this before deleting the provider, or remo… - [Get the models a provider offers](https://docs.fiddler.ai/sdk-api/rest-api/llm-gateway/get-llm-provider-available-models.md): Get the models to offer for a provider, with the catalog already merged against the organization's saved models. Serves both the create and edit flows: when the organization has not configured this provider, every row comes back with a null `uuid`. A row's `uuid` is what marks it as saved by this or… - [List LLM providers](https://docs.fiddler.ai/sdk-api/rest-api/llm-gateway/get-llm-providers.md): Get list of LLM providers with pagination support - [Test LLM connection](https://docs.fiddler.ai/sdk-api/rest-api/llm-gateway/test-llm-connection.md): Test that a registered model + credential combination works by sending a minimal LLM completion call. Returns HTTP `200` with success/failure for LLM-level results. Returns `4xx` for invalid inputs (unknown model, unknown credential, malformed request) before any LLM call is made. - [Update LLM provider](https://docs.fiddler.ai/sdk-api/rest-api/llm-gateway/update-llm-provider.md): Update an existing LLM provider's models and credentials. This is a replace operation - pass the complete desired state. For credentials: include existing ones (name/uuid) to keep them, add new ones (name/credential_config) to create them, omit any to remove them. For models: pass the complete list… #### Models - [Model REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/model/index.md): Dive into our guide to the Model REST API. Learn to list models, add models to a project, get details, update fields, generate models from samples, and more. - [Add a new model under a project](https://docs.fiddler.ai/sdk-api/rest-api/model/add-model.md): Add a new model under a project - [Delete a model](https://docs.fiddler.ai/sdk-api/rest-api/model/delete-model.md): Delete a model - [Deploy a surrogate model](https://docs.fiddler.ai/sdk-api/rest-api/model/deploy-surrogate.md): Deploy a surrogate model - [Details of all columns](https://docs.fiddler.ai/sdk-api/rest-api/model/get-model-all-columns.md): Details of all columns for a model - [Generate model from the given data sample](https://docs.fiddler.ai/sdk-api/rest-api/model/model-factory.md): Generate model from the given data sample - [Get details of a model](https://docs.fiddler.ai/sdk-api/rest-api/model/get-model.md): Details of a model for given model id - [getModelColumnV3](https://docs.fiddler.ai/sdk-api/rest-api/model/get-model-column.md): Details of a specific column for a model - [List models](https://docs.fiddler.ai/sdk-api/rest-api/model/get-models.md): Get list of model for provided query and filters - [Update a surrogate model](https://docs.fiddler.ai/sdk-api/rest-api/model/deploy-surrogate-update.md): Update a surrogate model - [Update artifacts associated with the model](https://docs.fiddler.ai/sdk-api/rest-api/model/deploy-model-artifact-update.md): Update artifacts associated with the model - [Update the fields of a model](https://docs.fiddler.ai/sdk-api/rest-api/model/update-model.md): Update the fields of a model. - [Upload artifacts associated with the model](https://docs.fiddler.ai/sdk-api/rest-api/model/deploy-model-artifact.md): Upload artifacts associated with the model #### Project Roles - [Project Roles](https://docs.fiddler.ai/sdk-api/rest-api/project-roles/index.md): REST API endpoints for managing project roles in Fiddler Platform. - [Create project role](https://docs.fiddler.ai/sdk-api/rest-api/project-roles/create-project-role.md): Assigns a project role to a user or team on a project. Exactly one of `user_id` or `team_id` must be provided. Requires Org Admin, or Project Admin on the target project — a `403` otherwise. Returns `404` if the `project_id`, `user_id` or `team_id` does not exist or belongs to another organization.… - [Delete project role](https://docs.fiddler.ai/sdk-api/rest-api/project-roles/delete-project-role.md): Removes an explicit project role assignment by its ID. Requires Org Admin, or Project Admin on the assignment's project — a `403` otherwise. Returns `404` if the assignment does not exist, has already been deleted, or belongs to another organization. On success the response body is an empty object. - [List project roles](https://docs.fiddler.ai/sdk-api/rest-api/project-roles/get-project-roles.md): Returns explicit project role assignments, paginated. Exactly one of `project_id`, `user_id`, or `team_id` must be supplied; none or more than one is a `400`. - [Update project role](https://docs.fiddler.ai/sdk-api/rest-api/project-roles/update-project-role.md): Updates the role of an existing project role assignment. Requires Org Admin, or Project Admin on the assignment's project — a `403` otherwise. Returns `404` if the assignment does not exist or belongs to another organization. #### Projects - [Projects REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/projects/index.md): Learn about REST API projects on the Fiddler platform. Explore how to list projects, create a new project, and get detailed info for a specified project ID. - [Create new project](https://docs.fiddler.ai/sdk-api/rest-api/projects/create-project.md): Create new project - [Delete project by id](https://docs.fiddler.ai/sdk-api/rest-api/projects/delete-project.md): Delete project by id - [Detail info of a project for the specified project id](https://docs.fiddler.ai/sdk-api/rest-api/projects/get-project.md): Detail info of a project - [List of projects](https://docs.fiddler.ai/sdk-api/rest-api/projects/get-projects.md): List of projects #### Queries - [Queries](https://docs.fiddler.ai/sdk-api/rest-api/queries/index.md): REST API endpoints for managing queries in Fiddler Platform. - [API to fetch metrics used to plot monitoring charts](https://docs.fiddler.ai/sdk-api/rest-api/queries/get-queries.md): API to fetch metrics used to plot monitoring charts #### Scores - [Scores](https://docs.fiddler.ai/sdk-api/rest-api/scores/index.md): REST API endpoints for managing scores in Fiddler Platform. - [Bulk create scores](https://docs.fiddler.ai/sdk-api/rest-api/scores/bulk-create-scores.md): Create up to 100 scores in a single request. Per-item validation errors are collected and returned; valid items are committed together in a single batch insert. Infrastructure errors bubble as 500. - [Create a score](https://docs.fiddler.ai/sdk-api/rest-api/scores/create-score.md): Create a new score or annotation. Evaluator scores are read-only through this API — only human, LLM, and code sources are accepted. Returns 201 on success. - [Delete a score](https://docs.fiddler.ai/sdk-api/rest-api/scores/delete-score.md): Delete a score by ID. Returns 204 No Content on success. Idempotent — returns 204 even if the score does not exist. Returns 403 if source is evaluator. - [Get a single score](https://docs.fiddler.ai/sdk-api/rest-api/scores/get-score.md): Retrieve a single score by its ID. - [List scores](https://docs.fiddler.ai/sdk-api/rest-api/scores/list-scores.md): List scores with optional filters. Supports filtering by target (span, trace, session), score name, source, level, type, annotator, config name, and time range. All filter parameters accept comma-separated values for multi-value matching. - [Update a score](https://docs.fiddler.ai/sdk-api/rest-api/scores/update-score.md): Partially update a score. Only value fields (value, label, text, reasoning, metadata) can be updated. Identity and structural fields (name, score_type, source, targets) cannot be changed — create a new score instead. Returns 403 if source is evaluator. #### Segments - [Segments REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/segments/index.md): Discover Fiddler’s Segments REST API guide. Learn to list, create, view details, delete segments by UUID, and list all segments for a model. - [Create new segment](https://docs.fiddler.ai/sdk-api/rest-api/segments/create-segment.md): Create new segment - [Delete segment by uuid](https://docs.fiddler.ai/sdk-api/rest-api/segments/delete-segment.md): Delete segment by uuid - [Detail info of a segment](https://docs.fiddler.ai/sdk-api/rest-api/segments/get-segment.md): Detail info of a segment - [List all segments](https://docs.fiddler.ai/sdk-api/rest-api/segments/get-segments.md): List all segments - [List all segments for a model](https://docs.fiddler.ai/sdk-api/rest-api/segments/get-model-segments.md): List all segments for a model #### Server Info - [Server Info REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/server-info/index.md): Learn API guidelines for retrieving server info with Fiddler’s platform. Discover how to create requests, receive responses, and maximize our solutions. - [Get server info](https://docs.fiddler.ai/sdk-api/rest-api/server-info/get-server-info.md): Get detailed information about the Fiddler server. #### Sessions - [Sessions](https://docs.fiddler.ai/sdk-api/rest-api/sessions/index.md): REST API endpoints for managing sessions in Fiddler Platform. - [Delete Sessions](https://docs.fiddler.ai/sdk-api/rest-api/sessions/delete-sessions.md): Delete one or more sessions and all associated data (spans, attributes, evaluator scores, and span content) from the application. This operation is idempotent — returns 204 even if the sessions do not exist. - [Query sessions](https://docs.fiddler.ai/sdk-api/rest-api/sessions/query-sessions.md): Returns a paginated list of sessions with aggregated metrics, one row per distinct session ID in the requested time range. #### Spans - [Spans](https://docs.fiddler.ai/sdk-api/rest-api/spans/index.md): REST API endpoints for managing spans in Fiddler Platform. - [Get span field coverage](https://docs.fiddler.ai/sdk-api/rest-api/spans/get-span-fields.md): Given a filter over spans, return the union of span attribute keys and evaluator outputs that appear in the matching spans, along with a coverage count for each field. - [Query spans](https://docs.fiddler.ai/sdk-api/rest-api/spans/query-spans.md): Search, filter, and paginate through spans with advanced criteria #### Teams - [Teams](https://docs.fiddler.ai/sdk-api/rest-api/teams/index.md): REST API endpoints for managing teams in Fiddler Platform. - [Create new team](https://docs.fiddler.ai/sdk-api/rest-api/teams/create-team.md): Creates a new team in the caller's organization. Requires Org Admin — a `403` otherwise. The name must be 2 to 256 characters, start with a lowercase letter, and contain only lowercase letters, digits, hyphens and underscores; anything else is a `400`. Returns `409` if a team with the same name alre… - [Delete a team](https://docs.fiddler.ai/sdk-api/rest-api/teams/delete-team.md): Deletes a team and its memberships. Requires Org Admin — a `403` otherwise. A team that still has project role assignments cannot be deleted: the request fails with `400` until those assignments are removed. Returns `404` if the team does not exist or belongs to another organization. - [Get team details](https://docs.fiddler.ai/sdk-api/rest-api/teams/get-team.md): Returns details for a single team, including its members. Requires Org Admin or Org Member — a `403` otherwise. Returns `404` if the team does not exist or belongs to another organization. - [List teams](https://docs.fiddler.ai/sdk-api/rest-api/teams/get-teams.md): Lists the teams in the caller's organization, paginated. Requires Org Admin or Org Member — a `403` otherwise. #### Traces - [Traces](https://docs.fiddler.ai/sdk-api/rest-api/traces/index.md): REST API endpoints for managing traces in Fiddler Platform. - [Delete Traces](https://docs.fiddler.ai/sdk-api/rest-api/traces/delete-traces.md): Delete one or more traces and all associated data (spans, attributes, evaluator scores, and span content) from the application. This operation is idempotent — returns 204 even if the traces do not exist. #### User Access Keys - [User Access Keys REST API Guide](https://docs.fiddler.ai/sdk-api/rest-api/user-access-keys/index.md): Manage Fiddler API keys with the User Access Keys REST API guide. Learn to list, create, retrieve, update, and delete the access keys that authenticate your requests. - [Create a new API key.](https://docs.fiddler.ai/sdk-api/rest-api/user-access-keys/create-user-access-key.md): Create a new API key for the authenticated user. Requires a unique name per user per organization. The full composite API key (key_id.secret) is returned once in the response and cannot be retrieved again. Enforces the per-user API key count limit. - [Delete an API key.](https://docs.fiddler.ai/sdk-api/rest-api/user-access-keys/delete-user-access-key.md): Delete an API key. The API key is permanently removed and can no longer be used for authentication. - [Get a single API key.](https://docs.fiddler.ai/sdk-api/rest-api/user-access-keys/get-user-access-key.md): Get metadata for a single API key owned by the authenticated user. Returns `404` if the API key is not found or belongs to another user. - [List the caller's API keys.](https://docs.fiddler.ai/sdk-api/rest-api/user-access-keys/list-user-access-keys.md): List the authenticated user's API keys. Returns API key metadata only — secrets and hashes are never returned. Results are paginated. Ordering is restricted to `name`, `status`, `expires_at`, `created_at`, and `updated_at` (prefix a field with `-` for descending); any other `ordering` field returns… - [Update an API key.](https://docs.fiddler.ai/sdk-api/rest-api/user-access-keys/update-user-access-key.md): Update an API key's mutable fields. Supports updating the API key name and expiration. The new expires_at must be a future timestamp (greater than current time) and cannot exceed 100 years from now. #### Users - [Users](https://docs.fiddler.ai/sdk-api/rest-api/users/index.md): REST API endpoints for managing users in Fiddler Platform. - [This API is used to get identity and access related information of a user. It also provides details into the last successful login of the user.](https://docs.fiddler.ai/sdk-api/rest-api/users/get-users.md): Lists the users in your organization along with their organization role and the time of their last successful login. ## OpenAPI Specs - [api_v3_ext](/openapi/api_v3_ext.yaml)