vercel-ci

Get log lines for the tasks of an invocation attempt

Changed on

Returns log lines for the tasks of an invocation attempt in a single request, grouped by task. Tasks can be narrowed by name and by conclusion, for example conclusion=failed to fetch only the logs of failed tasks. With search, every matching task is searched at once and only tasks with matching lines are returned.

get/v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/task-logs

Request

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

Path parameters

invocationIdstring required
attemptstring required

Query parameters

taskstring[]

Only return tasks with one of these names (e.g., "web#test").

conclusionstring[]

Only return completed tasks with one of these conclusions.

levelstring[]

Only return log lines with one of these levels.

searchstring

Only return log lines containing this text, ignoring case. Tasks without matching lines are left out, limit is ignored, and at most 1000 lines are returned.

limitnumber

Maximum number of tasks to return (default: 10, max: 25).

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 task log lines.

hasMoreboolean required

Whether more tasks matched the filters than were returned. With search, whether more than 1000 lines matched.

Changes