Skip to content

chore(types): Update API Types#634

Open
galileo-automation wants to merge 1 commit into
mainfrom
chore/galileo-automation/update-api-types-2026-06-18
Open

chore(types): Update API Types#634
galileo-automation wants to merge 1 commit into
mainfrom
chore/galileo-automation/update-api-types-2026-06-18

Conversation

@galileo-automation

@galileo-automation galileo-automation commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

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:

graph LR
COMPUTE_HEALTH_SCORE_ENDPOINT_("COMPUTE_HEALTH_SCORE_ENDPOINT"):::added
ComputeHealthScoreRequest_("ComputeHealthScoreRequest"):::added
HealthScoreResult_("HealthScoreResult"):::added
GET_SCORER_HEALTH_SCORES_("GET_SCORER_HEALTH_SCORES"):::added
ScorerHealthScoresResponse_("ScorerHealthScoresResponse"):::added
ScorerVersionHealthScoreEntry_("ScorerVersionHealthScoreEntry"):::added
WRITE_SCORER_VERSION_HEALTH_SCORE_("WRITE_SCORER_VERSION_HEALTH_SCORE"):::added
WriteHealthScoreRequest_("WriteHealthScoreRequest"):::added
COMPUTE_HEALTH_SCORE_ENDPOINT_ -- "Adds endpoint using scorer_id/output_type and optional MGT overlay." --> ComputeHealthScoreRequest_
COMPUTE_HEALTH_SCORE_ENDPOINT_ -- "Returns primary value, skipped/joined counts, and secondary metric map." --> HealthScoreResult_
GET_SCORER_HEALTH_SCORES_ -- "Returns persisted health-score entries for scorer across dataset_id." --> ScorerHealthScoresResponse_
ScorerHealthScoresResponse_ -- "Each response score record includes version, type, score, secondary, computed_at." --> ScorerVersionHealthScoreEntry_
WRITE_SCORER_VERSION_HEALTH_SCORE_ -- "Accepts dataset_id, health_score_type, score, and secondary metrics." --> WriteHealthScoreRequest_
WRITE_SCORER_VERSION_HEALTH_SCORE_ -- "Returns stored scorer-version health score with computed_at timestamp." --> ScorerVersionHealthScoreEntry_
classDef added stroke:#15AA7A
classDef removed stroke:#CD5270
classDef modified stroke:#EDAC4C
linkStyle default stroke:#CBD5E1,font-size:13px
Loading

Update the shared API type definitions to reflect the new scorer, dataset, and integration endpoints used by the backend and SDK clients. Add the generated OpenAPI and SDK types so code that consumes operations, components, and the scorer workflows have accurate request/response shapes.

TopicDetails
Integration & Trace Types Expand the integrations, custom integration, and trace/metric typings by adding cost-summary, named custom integration CRUD and definition endpoints, recommended models, stub trace records, expanded metrics/feedback types, and new shared enums (e.g., IntegrationProvider, CostInterval, HealthScoreType) so the integration and observability flows stay in sync with the API surface. 
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(2)
UserCommitDate
ci@rungalileo.iochore(types): Update A...June 18, 2026
quinn-galileofeat: add metricAggreg...May 06, 2026
Scorer & Dataset API Cover updates to the scorer and dataset flows by removing the deprecated prompt dataset/upload_file endpoints, reintroducing scorers/list, validation tasks, dataset counting, health-score compute/write/read endpoints, and the expanded scorer metadata/actions/filters/scope interfaces that underlie the scorer flows in operations and components.
Modified files (3)
  • src/types/api.types.ts
  • src/types/new-api.types.ts
  • src/types/openapi.types.ts
Latest Contributors(2)
UserCommitDate
ci@rungalileo.iochore(types): Update A...June 18, 2026
quinn-galileofeat: add metricAggreg...May 06, 2026
Review this PR on Baz | Customize your next review

@galileo-automation galileo-automation added the dependencies Pull requests that update a dependency file label Jun 18, 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