---
title: "Get Version"
method: GET
path: "/v1/strategies/{strategy_id}/versions/{ref}"
tags: ["strategies"]
---

# Get Version

`GET /v1/strategies/{strategy_id}/versions/{ref}`

## Request

- Base URL: `https://api.usekeel.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usekeel.io/v1/strategies/{strategy_id}/versions/{ref}`
- Auth: none declared

Get a specific version by tag name, #N, or UUID.

## Path parameters

- `strategy_id` string, required
- `ref` string, required

## Headers

- `Authorization` string, nullable
- `X-Org-Id` string, nullable

## Response `200`

Successful Response

- VersionResponse
  - `commit_id` string, required
  - `sequence_number` integer, required
  - `parent_id` string, nullable
  - `source_hash` string, required
  - `message` string, nullable
  - `tags` object[]
  - `created_at` string, required
  - `meta` object
  - `client_name` string, nullable
  - `auth_surface` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usekeel/apis/keel-api.md) · [All operations](https://skmtc.dev/usekeel/apis/keel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usekeel/apis/keel-api/revisions/3191ca10b0ab?raw)
