Functions

List a function's invocations

Each run of the function, newest first, with its outcome, timings, response status and exception. Lists runs only: a webhook delivery that never reached the function (for example one refused before it ran) is not an invocation; find those with listDeliveries.

get/functions/{id}/invocations

Request

  • Base URL
    https://api.primitive.dev/v1
  • URL
    https://api.primitive.dev/v1/functions/{id}/invocations
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

The function id.

Query parameters

cursorstring

Opaque cursor from the previous page's next_cursor. Omit for the first page.

limitinteger

Items per page: default 50, at most 200.

outcomestring

Only runs with this outcome, for example ok or exception. Outcomes are an open set reported by the runtime.

sincestring date-time

Only runs started after this instant.

Response

List a function's invocations

successtrue required

Changes

No operation changes recorded.