Extensions
Get an extension
Returns one extension by its id or name. Its versions are `GET /v1/extensions/{id}/versions`.
GET
Returns one extension by its id or name. Its versions are GET /v1/extensions/{id}/versions.
apiKeyheader
x-api-key<token>id*stringThe extension's id (ext_…) or its name.
Length
1 <= length <= 64Extension
application/json- response
id*ExtensionIdMatch
^ext_[0-9a-hjkmnp-tv-z]{16,24}$name*stringdisplayName*stringdescription*string|nullruntime*stringValue in
"hosted""webhook"latestVersion*createdAt*stringupdatedAt*stringimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.extensions.get({ "id": "example"});Example Response
{ "id": "string", "name": "string", "displayName": "string", "description": "string", "runtime": "hosted", "latestVersion": { "id": "string", "version": "string" }, "createdAt": "string", "updatedAt": "string"}