Skip to content

chore(types): Update API Types#474

Open
galileo-automation wants to merge 1 commit intomainfrom
chore/galileo-automation/update-api-types-2026-01-28
Open

chore(types): Update API Types#474
galileo-automation wants to merge 1 commit intomainfrom
chore/galileo-automation/update-api-types-2026-01-28

Conversation

@galileo-automation
Copy link
Contributor

@galileo-automation galileo-automation commented Jan 28, 2026

User description

Fix any breaking changes if this pull request fails to deploy


Generated description

Below is a concise technical summary of the changes proposed in this PR:
This pull request updates the application's API type definitions, introducing new endpoints for searching and partially querying log streams, experiments, traces, spans, and sessions. It significantly enhances data models with detailed event logging, metric roll-up configurations, and feedback rating information. Additionally, it adds a comprehensive framework for validating custom code scorers and refines various integration and column metadata types, improving data management and extensibility.

TopicDetails
General Type Refinements and Minor Additions Minor type adjustments and additions, such as AnnotationQueueAction enum, validation_result for dataset content, generated_output for column mapping, stream_metrics for job creation, deprecated flag for scorers, project_id for subscription config, and session_external_id for log ingest requests. These changes improve data consistency, clarity, and support for new features.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
Session Creation and User Management Enhancements Introduces logging_method, client_version, and reliable fields to SessionCreateRequest for more robust session creation. It also modifies UserCollaboratorCreate to allow user invitation by email, enhancing user management flexibility.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
Comprehensive Data Model Enhancements and LLM Event Logging Enhances core data models for AggregatedTraceView, AggregatedTraceViewNode, ExperimentResponse, LogStreamResponse, Extended*Record types, and PartialExtended*Record types. Key additions include edge_occurrences_histogram and insights for trace views, feedback_rating_info and metric_info for various records, and num_spans/num_traces counts. It also introduces new event types for LLM spans, such as MessageEvent, ReasoningEvent, InternalToolCall, WebSearchCallEvent, ImageGenerationEvent, MCPCallEvent, MCPListToolsEvent, and MCPApprovalRequestEvent, providing richer context for LLM interactions.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
Advanced Metric Roll-up and Scorer Configuration Introduces new types for defining metric roll-up configurations (BaseMetricRollUpConfigDB, NumericRollUpMethod, CategoricalRollUpMethod, RollUpStrategy, ChainAggregationStrategy) and updates MetricThreshold with more detailed settings. This allows for more flexible and powerful aggregation and display of metrics across different levels of the trace/span/session hierarchy. It also adds new scorer types related to SQL metrics and composite user-registered scorers.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
Refined Filtering, Sorting, and Column Metadata Refactors filter expressions (AndNode, OrNode, NotNode, FilterLeaf) to be specifically typed for LogRecords filters, improving type safety and clarity. It also updates LogRecordsColumnInfo with additional metadata fields like filter_type, label_color, and is_optional, and introduces SelectColumns for explicit column selection in queries.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
Code Scorer Validation Framework Adds a new framework for validating custom code scorers, including endpoints to initiate validation with simple input/output tests or actual log records, and to retrieve the asynchronous task results. This streamlines the process of developing and integrating custom scoring logic into the platform.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
Unchanged Logging and Step Types These files were included in the diff but show no changes, indicating they are either unchanged or were part of a broader file listing without specific modifications in this PR.
Modified files (3)
  • src/types/logging/logger.types.ts
  • src/types/logging/span.types.ts
  • src/types/logging/step.types.ts
Latest Contributors(0)
UserCommitDate
API Endpoint Expansion for Data Query and Metric Settings Introduces new API endpoints for searching log streams and experiments, and for performing partial queries on traces, spans, and sessions. This significantly expands the application's data retrieval capabilities, allowing for more granular and efficient access to logged data. It also adds dedicated endpoints for managing metric settings for both log streams and experiments.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
LLM Integration Configuration Updates Updates various LLM integration configurations, including adding inference_profiles to AWS and Azure OpenAI integrations, legacy_mistral_prompt_format and max_top_p to Mistral, and a new CustomLLMConfig for custom LiteLLM handlers. The CustomIntegration token is now optional, and CustomAuthenticationType includes a 'none' option. These changes provide greater flexibility and control over LLM integration settings.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
This pull request is reviewed by Baz. Review like a pro on (Baz).

@galileo-automation galileo-automation added the dependencies Pull requests that update a dependency file label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant