Extensions
List an extension's versions
Returns summaries of an extension's published versions, newest first.
GET
Returns summaries of an extension's published versions, newest first. Pass nextCursor back as cursor for the next page; it is null on the last page. Read a version's manifest with GET /v1/extensions/{id}/versions/{versionId}.
apiKeyheader
x-api-key<token>id*stringThe extension's id (ext_…) or its name.
Length
1 <= length <= 64limit?|nullcursor?stringExtensionVersionPage
application/json- response
items*array<>nextCursor*string|nullimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.extensions.listVersions({ "id": "example"});Example Response
{ "items": [ { "id": "string", "version": "string", "runtime": "hosted", "bundle": { "sha256": "string", "sizeBytes": -9007199254740991 }, "publishedAt": "string" } ], "nextCursor": "string"}Related documentation
List extensions
Returns the organization's published extensions with their latest version, newest first, filterable by creation time (`after`, `before`).
Publish an extension version
Publishes one version from its manifest and returns it with status 201, creating the extension named by the manifest on its first version.