Resolves #36087 (one of several small PRs). - [x] QA'd all new/changed functionality manually <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Reorganized internal API session models for improved code structure and maintainability. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/fleetdm/fleet/pull/45908?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
📦 contract Package
This package contains the request and response structs used by the HTTP API.
Keeping these in a separate package makes the code:
- Easier to maintain — the shape of API data is defined in one place
- Clearer — shows exactly what the API expects and returns
- Reusable — the same types can be used by handlers, tests, or clients
This package should only define data structures — no business logic.
🔄 Note: Some request/response structs may still live in the server/service packages. Move them here as needed to keep API contracts organized and consistent.