Get an invocation with its jobs and tasks
Changed onReturns 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.
Request
- Base URL: https://api.vercel.com
- URL: https://api.vercel.com/v1/vercel-ci/invocations/{invocationId}/tree
- Auth: HTTP bearer
Path parameters
Query parameters
Invocation attempt to return. Defaults to the latest attempt.
When 1, stream the tree as newline-delimited JSON until the attempt finishes.
The Team identifier to perform the request on behalf of.
The Team slug to perform the request on behalf of.
Response
Successfully fetched the invocation tree.
Changes
- info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- info
- info
endpoint added
- info