---
title: "GET /projects/{projectId}/embeddables/{embeddableId}/versions"
method: GET
path: "/projects/{projectId}/embeddables/{embeddableId}/versions"
tags: ["Embeddables"]
---

# GET /projects/{projectId}/embeddables/{embeddableId}/versions

`GET /projects/{projectId}/embeddables/{embeddableId}/versions`

## Request

- Base URL: `https://api.embeddables.com`
- URL: `https://api.embeddables.com/projects/{projectId}/embeddables/{embeddableId}/versions`
- Auth: none declared. Required headers: `X-Api-Key`

Retrieve all versions of an embeddable from the database based on the ID

## Path parameters

- `projectId` string, required: The unique identifier for a Project in the database
- `embeddableId` string, required: The unique identifier for a Embeddable in the database

## Query parameters

- `limit` integer: The number of entries to return (defaults to 10).
- `direction` 'ASC' | 'DESC': The direction to sort by (defaults to DESC)

## Headers

- `X-Api-Key` string, required

## Response `200`

- EmbeddableVersion[]
  - `embeddable_id` string, required: The unique identifier for a Embeddable in the database
  - `version_number` integer, required: The version number of an embeddable
  - `saved_at` string, required: A Date + Time string in ISO format

## Other responses

- `401`
- `404`

## Changes

- **2024-03-08** `fdedfa49d3c0`: 1 info
  - added the required property `items/saved_at` to the response with the `200` status
- **2024-03-07** `36e9e5515e2d`: 1 info
  - added the non-success response with the status `401`
- **2024-03-07** `eab0a4987df3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/heysavvy/apis/embeddables-api/changes/projects/:projectId/embeddables/:embeddableId/versions/get.md)

---

[API](https://skmtc.dev/heysavvy/apis/embeddables-api.md) - [All operations](https://skmtc.dev/heysavvy/apis/embeddables-api/llms.txt) - [OpenAPI document](https://skmtc.dev/heysavvy/apis/embeddables-api/revisions/8aef37932517?raw)
