Get Code Scan Profile (Devin API)
Get a single Devin code scan profile, including its mode, scan type, include/exclude globs, and guidance, via the v3 enterprise API
Permissions
Requires a service user or personal access token with theViewAccountCodeScans permission at the enterprise level.
Behavior
Returns the profile’s metadata, visibility (org-owned or shared account-wide), include/exclude globs, and all of its guidance fields (investigation, communication, and ingestion-source guidance). Returns404 when the profile does not exist or is not visible to the enterprise account. The organization-scoped equivalent is Get Code Scan Profile (Organization).Authorizations
Service User credential (prefix: cog_)
Path Parameters
Response
Successful Response
Full details of a code scan profile, including its guidance.
When the profile was created (unix seconds).
Description of the profile, if any.
Glob patterns of files to exclude from the scan, if any.
Glob patterns of files to include in the scan, if any.
Guidance describing the ingestion source, if any.
Guidance for the investigation phase, if any.
Profile mode: discover or ingest.
discover, ingest Name of the profile.
Organization that owns the profile. Null when the profile is shared account-wide.
Guidance for the post-ingestion phase, if any.
Unique identifier for the profile.
Guidance for the remediation phase, if any.
Guidance for the report phase, if any.
Type of scan the profile configures.
security, performance, db-queries, test-coverage, dead-code, code-quality, telemetry, accessibility, general, migration-docs Guidance describing the threat model, if any.
Guidance for the triage phase, if any.
Guidance for the validation phase, if any.
Whether the profile is owned by a single organization or shared across the whole account.
org, account Guidance for the communication phase (acting on final findings, e.g. notifying owners or stakeholders), if any.

