Automations

Scan repositories for CI workflows

Changed on
get/api/v0/automations/ci/scan

Request

  • Base URL
    https://api.factory.ai
  • Auth
    HTTP bearer

Query parameters

forceRefresh, boolean

Pass true to bypass the cached scan and rescan GitHub

Headers

X-Factory-Org-Id, string

Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.

Response

Response for status 200

ScanCiRepositories200ResponseBody required
workflows, object[] required

CI workflows found in the repositories the user can access.

scannedAt, number

Unix ms timestamp of when this scan was performed (server time).

cacheTtlMs, number

How long the client may reuse this scan before requesting a new one, in ms.

integration, object required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status