ExtensionInstallations

List a hosted installation's runs

Returns the hosted installation's retained handler runs, newest first: outcome, duration, and error.

GET
/v1/extension-installations/{id}/runs

Returns the hosted installation's retained handler runs, newest first: outcome, duration, and error. The host keeps the last 100 runs, so the list is bounded and has no cursor. Read a run's logged lines with GET /v1/extension-installations/{id}/runs/{runId}.

Authorization

apiKey
headerx-api-key<token>

Path Parameters

id*string
Match^exti_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

ExtensionRunList

application/json
  1. response
items*array<>
Example Request
import { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.extensionInstallations.listRuns({  "id": "example"});
Example Response
{  "items": [    {      "id": "string",      "eventId": "string",      "eventType": "mailbox.message.received",      "attempt": -9007199254740991,      "startedAt": "string",      "durationMs": -9007199254740991,      "outcome": "succeeded",      "error": "string"    }  ]}

Related documentation