Skip to content

chore(types): Update API Types#467

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

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

Conversation

@galileo-automation
Copy link
Contributor

@galileo-automation galileo-automation commented Jan 21, 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 Galileo API types to introduce new search and partial query endpoints for log streams, experiments, traces, spans, and sessions. It significantly enhances the observability data models by adding support for various LLM interaction events (reasoning, internal tool calls, image generation, MCP calls), refining metric settings, and deprecating older filter types in favor of a more structured approach. Furthermore, it expands the scorer validation framework with new endpoints and schemas for code scorer validation.

TopicDetails
Scorer Framework Improvements Expands the scorer framework by adding new endpoints for validating code scorers, both with simple input/output tests and actual log records. It also introduces new schemas for scorer validation results (ValidResult, InvalidResult, TestScore) and updates existing scorer configurations with default_model_alias, roll_up_strategy, and roll_up_method to provide more flexibility and detail in metric aggregation and evaluation.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
API Endpoint Extensions Introduces new API endpoints for searching and partially querying log streams, experiments, traces, spans, and sessions. This includes dedicated endpoints for managing metric settings for both log streams and experiments, and adding include_counts query parameters to existing list endpoints, improving data retrieval and configuration capabilities.
Modified files (2)
  • src/types/api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
Enhanced Data Models for Observability Refactors and expands the core data models to support richer observability for LLM applications. Key changes include: making parent_id optional and adding insights to AggregatedTraceViewResponse; introducing new event types like MessageEvent, ReasoningEvent, InternalToolCall, WebSearchCallEvent, ImageGenerationEvent, MCPCallEvent, MCPListToolsEvent, and MCPApprovalRequestEvent within LLM spans; deprecating generic filter types in favor of specific LogRecords*Filter types; adding feedback_rating_info to various extended record types; and updating experiment and log stream responses with num_spans and num_traces.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(0)
UserCommitDate
Other Other files
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
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 21, 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