List Code Scan Profiles
Code Scans (Enterprise)
List Code Scan Profiles (Devin API)
List the Devin code scan profiles available to an enterprise, including org-owned and account-shared discover and ingest profiles
GET
List Code Scan Profiles
Permissions
Requires a service user or personal access token with theViewAccountCodeScans permission at the enterprise level.
Behavior
Returns profile summaries (without guidance text) newest first, including both org-owned profiles and profiles shared account-wide (org_id is null for shared profiles). Each summary includes the profile’s mode (discover or ingest) and scan_type, which determine whether it can be passed to Start Code Scan or Start Ingestion Scan.
Optionally filter by org_ids; results are paginated with an opaque cursor (after / first). Use Get Code Scan Profile to read a profile’s full guidance. The organization-scoped equivalent is List Code Scan Profiles (Organization).Authorizations
Service User credential (prefix: cog_)
Query Parameters
Required range:
1 <= x <= 200Only return profiles visible to these organizations. Defaults to all organizations in the account.
Response
Successful Response
Cursor to fetch the next page, or None if this is the last page.
Whether there are more items available after this page.
Optional total count (can be omitted for performance).

