# API Version ## Get the API version. `client.V1.APIVersion.GetVersion(ctx) (*V1APIVersionGetVersionResponse, error)` **get** `/v1/version` Returns the current version string for this API endpoint. ### Returns - `type V1APIVersionGetVersionResponse struct{…}` - `Data Version` API version information - `Version string` API version string ### Example ```go package main import ( "context" "fmt" "github.com/clear-street/clear-street-go" "github.com/clear-street/clear-street-go/option" ) func main() { client := clearstreet.NewClient( option.WithAPIKey("My API Key"), ) response, err := client.V1.APIVersion.GetVersion(context.TODO()) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", response) } ``` #### Response ```json { "data": { "version": "2025-10-31" }, "error": null, "metadata": { "request_id": "2c3d4e5f-6a7b-8c9d-0e1f-2a3b4c5d6e7f" } } ``` ## Domain Types ### Version - `type Version struct{…}` API version information - `Version string` API version string