vercel-ci

Search the task logs of several invocation attempts

Changed on

Searches the task logs of up to 50 invocation attempts at once, for example the most recent runs of a branch from GET /v2/vercel-ci/invocations. Only invocations and tasks with matching lines are returned. When more than 1000 lines match, the newest are kept.

get/v1/vercel-ci/log-search

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/vercel-ci/log-search
  • Auth: HTTP bearer

Query parameters

invocationstring[] required

Invocation attempts to search, as "<invocationId>:<attempt>" (at most 50).

searchstring required

Only return log lines containing this text, ignoring case.

levelstring[]

Only return log lines with one of these levels.

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 searched task logs.

hasMoreboolean required

Whether more than 1000 lines matched. The newest lines are returned.

Changes