List extensions
Returns the organization's published extensions with their latest version, newest first, filterable by creation time (`after`, `before`).
GET
Returns the organization's published extensions with their latest version, newest first, filterable by creation time (after, before). Pass nextCursor back as cursor for the next page; it is null on the last page.
apiKeyheader
x-api-key<token>limit?|nullcursor?stringafter?stringbefore?stringExtensionPage
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.list({});Example Response
{
"items": [
{
"id": "string",
"name": "string",
"displayName": "string",
"description": "string",
"runtime": "hosted",
"latestVersion": {
"id": "string",
"version": "string"
},
"createdAt": "string",
"updatedAt": "string"
}
],
"nextCursor": "string"
}