# Get site version

`GET /v1/projects/{project}/sites/{site}/versions/{version}`, operation `sites.GetSiteVersion`

Gets a version of a site.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `project` | path | Yes | `string` | The project's ID. |
| `site` | path | Yes | `string` | The site's ID. |
| `version` | path | Yes | `string` | The version's number. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `agent` | `string` | Yes | The agent that published it, if one did, by its resource name. |
| `createTime` | `string (date-time)` | Yes | When it was published. |
| `creator` | `string` | Yes | Who published it, as a member such as agent:{agent_id}. |
| `fileCount` | `integer (int32)` | Yes | How many files the version has. |
| `name` | `string` | Yes | Resource name, projects/{project_id}/sites/{site_id}/versions/{version}, numbered from 1. |
| `sizeBytes` | `integer (int64)` | Yes | The size of its files, in bytes. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.