Skip to content

Add /api/version endpoint #38

@shirshanka

Description

@shirshanka

There's no programmatic way to check what version of the agent is running. This makes it harder to debug support issues and to build tooling around the agent.

A simple GET /api/version that returns the package version (readable via importlib.metadata) would be useful. The FastAPI app currently hardcodes version='0.1.0' in its constructor which should also be fixed to pull from the package metadata.

One endpoint, one test. Good starting point for anyone new to the backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions