vercel-ci

Get an invocation with its jobs and tasks

Changed on

Returns an invocation attempt together with every job definition, its latest job run, and the task definitions and active task runs of that job run. Defaults to the latest attempt when attempt is omitted. With follow=1 the response is a newline-delimited JSON stream: a {"type":"tree", ...} event with the full tree is sent immediately and again whenever it changes, and a final {"type":"end","reason":...} event is sent when the attempt finishes (completed) or the stream reaches its maximum duration (timeout), after which clients should reconnect.

get/v1/vercel-ci/invocations/{invocationId}/tree

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/vercel-ci/invocations/{invocationId}/tree
  • Auth: HTTP bearer

Path parameters

invocationIdstring required

Query parameters

attemptstring

Invocation attempt to return. Defaults to the latest attempt.

follow0 | 1

When 1, stream the tree as newline-delimited JSON until the attempt finishes.

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Response

Successfully fetched the invocation tree.

repositoriesobject required

Changes

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      endpoint added