AiFixJobsService_CreateFixJob
ChatGPTCreate fix job POST /api/agent/deployments/{deploymentId}/issues/{issueId}/fix_jobs This feature is currently in Public Beta. Create an automated SAST fix job for the given issue. This triggers an AI-powered workflow that analyzes the vulnerability, generates a fix, and opens a pull request in the repository.
AutofixService_CreateAutofix
ChatGPTCreate autofix POST /api/v1/deployments/{deploymentId}/issues/{issueId}/autofix Triggers an Autofix workflow for the given issue. The workflow runs asynchronously; it analyzes the issue, generates a fix, and opens a pull request in the underlying repository. Supports SAST, AI SAST, and SCA issue types — the issue's type is resolved server-side and dispatched to the corresponding Autofix path. A success: true response means the Autofix job has been accepted for processing, not that a pull request has been opened. The PR is created by an asynchronous workflow that runs after this endpoint returns.
AutomationsService_CreateAutomation
ChatGPTCreate automation POST /api/notifications/deployments/{deploymentId}/automations Create a new automation.
AutomationsService_DeleteAutomation
ChatGPTDelete automation DELETE /api/notifications/deployments/{deploymentId}/automations/{automationId} Delete an automation by its ID.
AutomationsService_ListAutomationActionResults
ChatGPTList automation action results GET /api/v2/deployments/{deploymentId}/automations/actions/{automationActionId}/results List recent execution results for an automation action, most recent first, with pagination support.
AutomationsService_ListAutomations
ChatGPTList automations GET /api/v2/deployments/{deploymentId}/automations List all automations with pagination support.
AutomationsService_ListAutomationsWithRecentFailures
ChatGPTList automations with recent failures GET /api/v2/deployments/{deploymentId}/automations/recent_failures List the ids of automations that recorded a failed action execution recently (server-defined window).
AutomationsService_ListScanAutomationActionResults
ChatGPTList scan automation action results GET /api/v2/deployments/{deploymentId}/scans/{scanId}/automations/results List execution results of all automation actions triggered by a scan, most recent first, with pagination support.
AutomationsService_UpdateAutomation
ChatGPTUpdate automation PUT /api/notifications/deployments/{deploymentId}/automations/{automationId} Update an existing automation.
DeploymentService_GetDeployment
ChatGPTGet deployment GET /api/agent/deployments/{deploymentId} Get a deployment
EditorService_RunPattern
ChatGPTValidate a rule against example code POST /api/run Execute a Semgrep pattern or YAML rule against supplied target code. Include positive ruleid and negative ok test annotations to validate examples. Inspect semgrep_result for execution errors and test_result for individual test outcomes; HTTP success alone does not mean the rule or examples passed. This runs on the hosted playground, not in the caller's local repository.
ExternalTicketingService_GetNangoIssueTypeFields
ChatGPTGet ticketing issue type fields GET /api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/project/{projectId}/issue_type/{issueTypeId} Get fields for a specific issue type.
ExternalTicketingService_GetNangoIssueTypes
ChatGPTGet ticketing issue types GET /api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/project/{projectId}/issue_types Get available issue types for a project.
ExternalTicketingService_GetNangoTeams
ChatGPTGet ticketing teams GET /api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/project/{projectId}/teams Get teams for a project.
ExternalTicketingService_GetNangoTicketingInstances
ChatGPTGet external ticketing instances GET /api/notifications/deployments/{deploymentId}/ticketing/v2 Gets the issue tracking systems linked to a deployment. E.g. Jira.
ExternalTicketingService_GetProjects
ChatGPTGet projects GET /api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/projects Get available projects for a ticketing instance.
ExternalTicketingService_LinkTicket
ChatGPTLink an existing ticket to findings POST /api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/tickets/link Link an existing external ticket (e.g. Jira) to one or more Semgrep findings by providing the ticket URL and a list of finding IDs. This does not create a ticket in your issue tracker — it only records the association in Semgrep. If a finding is already linked to a different ticket, the existing link is replaced.
ExternalTicketingService_NangoCreateTickets
ChatGPTCreate external tickets POST /api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/create_tickets Create tickets in your issue tracking system for Semgrep findings.
FeedbackService_SendFeedback
ChatGPTSend feedback POST /api/deployments/{deploymentId}/feedback Send feedback to Semgrep.
GuardianService_GetGuardianScanActivity
ChatGPTGet Guardian scan activity GET /api/deployments/{deploymentId}/guardian-scan-activity Returns daily or coarser Guardian agent scan activity for an authorized deployment with reporting enabled. Only the time range applies; finding filters are not supported.
GuardianService_ListGuardianRuleSummaries
ChatGPTList Guardian rule summaries GET /api/deployments/{deploymentId}/guardian-rule-summaries Lists Guardian agent rules by finding count descending, then rule path ascending. Requires deployment reporting permission and the reporting rollout flag.
IssuesService_BulkOpenClickToFix
ChatGPTBulk open autofix PRs POST /api/agent/deployments/{deploymentId}/issues/click-to-fix-prs Asynchronously enqueue Supply Chain Autofix (click-to-fix) PR generation for issues matching the filter
IssuesService_BulkUpdateIssues
ChatGPTBulk update issues PATCH /api/agent/deployments/{deploymentId}/findings/v2 Triage every issue that matches a filter, add a note to each one, or both. Set params.triageState to change the triage state, or leave it unset to keep the current state and only add the note. A note replaces each issue's current note and is recorded in its activity history. Triage also applies to the same issue on other branches of the project. Each call updates up to 3,000 matching issues, and the response reports how many matched and how many changed. To update one issue by ID, use IssuesService_UpdateIssue.
IssuesService_GetIssue
ChatGPTGet issue GET /api/agent/deployments/{deploymentId}/issues/v2/{issueId} Get a single issue by ID with details
IssuesService_GetIssueCodeSnippets
ChatGPTGet issue code snippets GET /api/agent/deployments/{deploymentId}/issues/v2/{issueId}/code-snippets Get code snippets for an issue.
IssuesService_GetIssueCounts
ChatGPTCount Semgrep issues by state POST /api/agent/deployments/{deploymentId}/issue_counts Issue totals by triage state for the same issueTypes and filter as IssuesService_ListIssues, without paginating. Defaults to SAST issues on the primary branch. Prefer this whenever only totals are needed. Code findings include both ISSUE_TYPE_SAST (rule-based code scanning) and ISSUE_TYPE_AI_SAST (AI code scanning). Query IssuesService_ListIssues and IssuesService_GetIssueCounts with top-level issueTypes: ["ISSUE_TYPE_SAST", "ISSUE_TYPE_AI_SAST"]. Do not put issueTypes inside filter: that filter field is frontend-only and ignored by the backend. Omitting top-level issueTypes defaults to SAST only. For the full picture of issues across a project, also query PublicIssuesService_ListIssues and PublicIssuesService_CountIssues for Semgrep Agentic Workflows issues. These are a separate issue source, not another issueTypes value. Inspect their own request schemas for project filters and pagination; do not reuse the code-issue filter shape. Use the same project and branch scope where supported, follow each source's pagination, and keep the source attached to issue IDs and counts. If a source cannot be queried, report the coverage gap instead of claiming there are no issues. Include SCA and Secrets when the task asks for all product findings.
IssuesService_ListIssues
ChatGPTList issues POST /api/agent/deployments/{deploymentId}/issues List an organization's recent issues with filtering, sorting, and pagination MCP defaults to 50 issues, SAST, and the primary branch when these options are omitted.
IssuesService_UpdateIssue
ChatGPTUpdate issue PATCH /api/deployments/{deploymentId}/issues/{issueId} Triage one issue, add a note to it, or both. Set triageState to change the triage state, or leave it unset to keep the current state and only add the note. A note replaces the issue's current note and is recorded in its activity history; leave note unset to keep the current note. Triage also applies to the same issue on other branches of the project. Returns the updated issue.
MemoriesService_GetMemoriesByIds
ChatGPTGet memories by IDs POST /api/ai/deployments/{deploymentId}/memories/ids Get memories by ids.
MemoriesService_GetMemoriesStats
ChatGPTGet memory statistics GET /api/ai/deployments/{deploymentId}/memories/stats Get statistics about a deployment's memories performance
MemoriesService_ListMemories
ChatGPTList memories POST /api/ai/deployments/{deploymentId}/memories/list List memories, optionally scoped to a single repository.
MemoriesService_ListSuggestedMemories
ChatGPTList suggested memories GET /api/ai/deployments/{deploymentId}/memories/suggested List all suggested memories.
PoliciesV2Service_ApplyDetectionPolicy
ChatGPTApply a detection policy PUT /api/policies/v2/deployments/{deploymentId}/detection-policy/{product} Strictly applies a candidate detection policy bundle for one product: the submitted bundle replaces the current state, and exceptions absent from it are deleted. Requires the current state_version in the If-Match header; responds 428 when the header is missing and 409 with the current state_version when it is stale. The apply is atomic for the product's bundle.
PoliciesV2Service_ApplyRemediationPolicies
ChatGPTApply remediation policies PUT /api/policies/v2/deployments/{deploymentId}/remediation-policies Strictly applies a candidate remediation policies bundle: the submitted list replaces the current state, and policies absent from it are deleted. Requires the current state_version in the If-Match header; responds 428 when the header is missing and 409 with the current state_version when it is stale. The apply is atomic for the bundle. System-managed policies are unaffected; submitting a policy whose slug collides with one responds 409 with code RESERVED_SLUG.
PoliciesV2Service_DryRunDetectionPolicy
ChatGPTPreview a detection policy apply POST /api/policies/v2/deployments/{deploymentId}/detection-policy/{product}:dryRun Validates a candidate detection policy bundle and returns the diff a strict apply would produce, without changing anything. The response includes the state_version the diff was computed against; send that exact value as If-Match on the follow-up PUT to guarantee you apply the diff you previewed.
PoliciesV2Service_DryRunRemediationPolicies
ChatGPTPreview a remediation policies apply POST /api/policies/v2/deployments/{deploymentId}/remediation-policies:dryRun Validates a candidate remediation policies bundle and returns the diff a strict apply would produce, without changing anything. The response includes the state_version the diff was computed against; send that exact value as If-Match on the follow-up PUT to guarantee you apply the diff you previewed.
PoliciesV2Service_GetDetectionPolicy
ChatGPTGet a detection policy GET /api/policies/v2/deployments/{deploymentId}/detection-policy/{product} Returns the detection policy bundle for one product (code or secrets), including its exceptions, plus the state_version required to apply changes. Returns 404 with code PRODUCT_NOT_ENABLED when the requested product is not enabled for the deployment.
PoliciesV2Service_GetDetectionPolicySummary
ChatGPTGet the detection policy summary GET /api/policies/v2/deployments/{deploymentId}/detection-policy Returns the detection policy bundles and state_versions for every enabled product in one read-only call. Writes always go through the per-product endpoints.
PoliciesV2Service_GetRemediationPolicies
ChatGPTGet remediation policies GET /api/policies/v2/deployments/{deploymentId}/remediation-policies Returns the remediation policies bundle for the deployment plus the state_version required to apply changes. System-managed policies are not included.
PoliciesV2Service_GetVocab
ChatGPTGet the policy vocabulary GET /api/policies/v2/deployments/{deploymentId}/vocab Returns the condition types, action types, and value enums this API accepts, so bundles can be validated client-side (for example in CI) without a round trip. Without the product query parameter, only the product-agnostic vocabulary is returned; pass product to include its value enums and, for code and secrets, the detection bundle constraints.
ProductSettingsService_GetProductSettings
ChatGPTGet product settings GET /api/deployments/{deploymentId}/product-settings Returns whether Code, Supply Chain, Secrets, and Semgrep Multimodal are enabled for the deployment, and how each one is configured.
ProductSettingsService_UpdateProductSettings
ChatGPTUpdate product settings PATCH /api/deployments/{deploymentId}/product-settings Changes only the settings present in the request; every omitted setting keeps its current value. Returns the full product settings after the update. Requires permission to manage the deployment's settings.
ProjectManagedScanSettingsService_GetProjectManagedScanSettings
ChatGPTGet a project's Managed Scan settings GET /api/sms/v2/deployments/{deploymentId}/projects/{projectId}/settings Finds the user-configurable Managed Scan settings for the specified project. Returns an empty result if the specified project does not have Managed Scans set up.
ProjectsService_GetBranch
ChatGPTGet branch GET /api/v2/deployments/{deploymentId}/projects/{projectId}/branches/{branchId} Get a branch by its ID.
ProjectsService_GetProject
ChatGPTGet project GET /api/v2/deployments/{deploymentId}/projects/{projectId} Get a project by its ID.
ProjectsService_ListProjects
ChatGPTList Semgrep projects POST /api/v2/deployments/{deploymentId}/projects/list Paginated with pageSize (host default 50) and pageToken.
PublicIssuesService_CountIssues
ChatGPTCount issues POST /api/issues/{deploymentId}/counts Count Semgrep Agentic Workflows issues matching the supplied filters.
PublicIssuesService_GetIssue
ChatGPTGet issue by ID GET /api/issues/{deploymentId}/issue/{issueId} Get a Semgrep Agentic Workflows issue by ID.
PublicIssuesService_GetIssueActivityHistory
ChatGPTGet issue activity history GET /api/issues/{deploymentId}/issue/{issueId}/activity Get a page of activity history for a Semgrep Agentic Workflows issue, newest first.
PublicIssuesService_ListIssues
ChatGPTList issues POST /api/issues/{deploymentId}/search List Semgrep Agentic Workflows issues with filtering, sorting, and cursor pagination.
PublicIssuesService_TriageIssue
ChatGPTTriage issue POST /api/issues/{deploymentId}/issue/{issueId} Set the triage state, reason, and optional note for a Semgrep Agentic Workflows issue.
Registry_get_organization_rules
ChatGPTLists a deployment’s own rules. GET /api/registry/orgs/{deployment_id}/rules
Registry_get_registry_rule
ChatGPTFetches one rule by hash id or path. GET /api/registry/rules/{hashid_or_path}
Registry_get_registry_ruleset
ChatGPTFetches one ruleset. GET /api/registry/rulesets/{ruleset_name}
Registry_list_registry_rules
ChatGPTLists registry rules (alias /api/registry/rule). GET /api/registry/rules
Registry_list_registry_rulesets
ChatGPTLists rulesets (alias /ruleset). GET /api/registry/rulesets
Registry_registry_search
ChatGPTFree-text rule search. POST /api/registry/search
Registry_ruleset_rule_paths
ChatGPTMaps rulesets to their rule paths. GET /api/registry/ruleset_rule_paths
ReportsService_GetBacklogByProductReport
ChatGPTGet backlog by product report POST /api/reporting/{deploymentId}/reports/backlog/by-product
ReportsService_GetBacklogByRuleReport
ChatGPTGet backlog by rule report POST /api/reporting/{deploymentId}/reports/backlog/by-rule
ReportsService_GetBacklogBySeverityReport
ChatGPTGet backlog by severity report POST /api/reporting/{deploymentId}/reports/backlog/by-severity
ReportsService_GetFindingsActivityReport
ChatGPTGet findings activity report POST /api/reporting/{deploymentId}/reports/activity
ReportsService_GetFindingsByProjectAndProductReport
ChatGPTGet findings by project and product report POST /api/reporting/{deploymentId}/reports/by-project/by-product
ReportsService_GetFindingsByProjectAndSeverityReport
ChatGPTGet findings by project and severity report POST /api/reporting/{deploymentId}/reports/by-project/by-severity
ReportsService_GetGuardrailsActivityReport
ChatGPTGet guardrails activity report POST /api/reporting/{deploymentId}/reports/guardrails-activity
ReportsService_GetGuardrailsAdoptionReport
ChatGPTGet guardrails adoption report POST /api/reporting/{deploymentId}/reports/guardrails-adoption
ReportsService_GetMedianOpenAgeByProductReport
ChatGPTGet median open age by product report POST /api/reporting/{deploymentId}/reports/median-open-age/by-product
ReportsService_GetMedianOpenAgeBySeverityReport
ChatGPTGet median open age by severity report POST /api/reporting/{deploymentId}/reports/median-open-age/by-severity
ReportsService_GetReportFindings
ChatGPTGet report findings POST /api/reporting/{deploymentId}/findings
RuleFindingsStatsService_GetRuleFindingsStats
ChatGPTGet rule findings stats POST /api/deployments/{deploymentId}/pre_scan_configs_stats/rule_findings_stats Get open findings counts, fix rates, and ignore rates for a batch of rules, using the same counting logic as GetIssueCounts.
RuleScopeService_DeleteRuleScopes
ChatGPTDelete rule scopes POST /api/rule-scopes/v2/deployments/{deploymentId}/delete Delete rule scopes by their IDs.
RuleScopeService_DeleteRuleSurfaceScopes
ChatGPTDelete rule surface scopes POST /api/rule-scopes/v2/deployments/{deploymentId}/surface-scopes/delete Delete Guardian rule surface scopes by their IDs.
RuleScopeService_GetResolvedSurfaceRuleIds
ChatGPTGet resolved surface rule ids GET /api/rule-scopes/v2/deployments/{deploymentId}/surface-scopes/resolved-ids Return just the effective, pack-expanded rule ids a surface (Guardian) runs for a product — the default set layered with this deployment's enabled/disabled deltas — plus the default set alone. A lightweight read for the policy UI to learn effective membership without expanding packs itself; see GetResolvedSurfaceRules for the full rule definitions the scan runner uses.
RuleScopeService_GetResolvedSurfaceRules
ChatGPTGet resolved surface rules GET /api/rule-scopes/v2/deployments/{deploymentId}/surface-scopes/resolved Return the effective, pack-expanded list of rules a surface (Guardian) runs for a product: the default rule set layered with this deployment's enabled/disabled deltas. Intended for the Guardian scan runner, not the UI.
RuleScopeService_ListRuleScopes
ChatGPTList rule scopes GET /api/rule-scopes/v2/deployments/{deploymentId} List rule scopes for a deployment with cursor pagination. Optionally filter by project or tag.
RuleScopeService_ListRuleSurfaceScopes
ChatGPTList rule surface scopes GET /api/rule-scopes/v2/deployments/{deploymentId}/surface-scopes List Guardian rule surface scopes for a deployment with cursor pagination. Optionally filter by surface or product type.
RuleScopeService_SetRuleSurfaceScopes
ChatGPTSet rule surface scopes POST /api/rule-scopes/v2/deployments/{deploymentId}/surface-scopes/set Set the desired enabled/disabled state for individual rules on a surface (Guardian) and product. The server diffs the desired state against the product's default set and the deployment's stored deltas, writing a delta row only when a rule's desired state differs from its default — a rule returned to its default state has its delta row removed. Mirrors SetRuleScanningBehavior for CI: send the desired end-state, the server reconciles the rows.
RuleScopeService_UpsertRuleScopes
ChatGPTUpsert rule scopes POST /api/rule-scopes/v2/deployments/{deploymentId} Create or update rule scopes. If a rule scope with the given ID exists it is updated, otherwise a new one is created.
RuleScopeService_UpsertRuleSurfaceScopes
ChatGPTUpsert rule surface scopes POST /api/rule-scopes/v2/deployments/{deploymentId}/surface-scopes Create or update Guardian rule surface scopes. If a scope with the given ID exists it is updated, otherwise a new one is created.
RulesService_BatchGetRulesets
ChatGPTBatch get rulesets by their IDs. POST /api/rules/v2/deployments/{deploymentId}/rulesets Finds the rulesets with the specified IDs, if visible to the caller. If no ruleset can be found for some of the specified IDs, they will not be included in the result.
RulesService_CreateRule
ChatGPTCreate a custom rule POST /api/deployments/{deploymentId}/rules Adds a custom rule that only the deployment can see. The rule can then be added to a policy or enabled for Guardian by its id. Returns 409 if the deployment already has a custom rule with the same id in its definition. Requires permission to create rules.
RulesService_DeleteRule
ChatGPTDelete a custom rule DELETE /api/deployments/{deploymentId}/rules/{ruleId} Deletes one of the deployment's custom rules. Scans stop running it, and its findings are hidden. Requires permission to delete rules.
RulesService_GetRule
ChatGPTGet a custom rule GET /api/deployments/{deploymentId}/rules/{ruleId} Returns one of the deployment's custom rules, including its definition.
RulesService_ListRules
ChatGPTList rules GET /api/deployments/{deploymentId}/rules Lists the deployment's custom rules, including their definitions. Set sources to also list its snippets and public rules from the Semgrep Registry. Filters combine: values within one filter match any, and separate filters must all match.
RulesService_UpdateRule
ChatGPTUpdate a custom rule PATCH /api/deployments/{deploymentId}/rules/{ruleId} Replaces the definition of one of the deployment's custom rules, saving it as a new version. The rule keeps its id and path, so policies and Guardian settings that include it pick up the change. Requires permission to update rules.
ScanService_GetLog
ChatGPTGet scan logs GET /api/agent/scans/{scanId}/logs Read available logs for an authorized managed scan with a scan ID. Returns 404 when logs are unavailable.
ScanService_SearchScans
ChatGPTSearch scans and managed scan failures POST /api/agent/deployments/{deploymentId}/scans/search List an organization's scans from the past 30 days, or one project's with repositoryId (the project ID); branch narrows a project's scans to one branch. Set repositoryId and omit products to include pending, failed, or cancelled managed scans that have no scan record. Such entries have isManagedScanPlaceholder=true and id=0; inspect statusReason rather than passing 0 to scan detail or log tools. Follow cursorEnc for all pages.
ScansService_GetScan
ChatGPTGet scan GET /api/v2/deployments/{deploymentId}/scans/{scanId} Get a scan by ID.
ScansService_GetScanErrors
ChatGPTGet scan errors POST /api/v2/deployments/{deploymentId}/scans/errors Get errors associated with a set of scans ids.
ScansService_ListScanSubprojectStats
ChatGPTList scan subproject stats GET /api/deployments/{deploymentId}/scans/{scanId}/subproject-stats List dependency resolution statistics for the specified scan, including unresolved reasons and full error messages. Requires scan-read and findings-read permissions, and findings-read access to the scan's project. Results follow the recorded subproject order. Returns 404 when the scan does not exist or the caller cannot access it. availability distinguishes a scan that recorded no subproject statistics from one that recorded zero subprojects. Storage failures return 503.
ScansService_RetryScans
ChatGPTRetry failed Managed Scans POST /api/v2/deployments/{deploymentId}/scans/retry Retry one or more failed Semgrep Managed Scans (SMS). Only scans that are SMS and have failed or never finished can be retried. Send a single scan ID or multiple; returns one task per successful retry and one error per failed retry.
ScansService_RunManagedScans
ChatGPTStart Semgrep Managed Scans (SMS) POST /api/agent/deployments/{deploymentId}/scans/run Start new full scans for projects already configured for SMS with code access. Requires scan permission and uses existing scheduling limits. This schedules work; it does not wait for completion. Inspect both tasks and errors; an empty tasks array does not mean a scan started. Use ScanService_SearchScans scoped to repositoryId to inspect subsequent scan status, including failures before a scan record exists. Search results are repository-scoped, not a lookup by the returned managed_scan_id. This existing endpoint uses snake_case body and response fields.
ScmService_CheckScmConfig
ChatGPTCheck SCM config GET /api/scm/deployments/{deploymentId}/configs/{configId}/check Test the SCM connection for a config and update its stored status.
ScmService_ListScmConfig
ChatGPTList SCM configs GET /api/scm/deployments/{deploymentId}/configs List all SCM configs for a deployment.
ScmService_SearchScmConfig
ChatGPTSearch SCM configs POST /api/scm/deployments/{deploymentId}/configs/search Search for SCM configs for a deployment.
ScmService_SyncScmConfig
ChatGPTSync SCM config POST /api/scm/deployments/{deploymentId}/configs/{configId}/_sync Sync an SCM config.
SemgrepWorkflowsService_GetSemgrepWorkflowRegistry
ChatGPTList available workflow types GET /api/workflows/v1/deployments/{deploymentId}/registry Lists the Semgrep Agentic Workflows available to the deployment, including whether each is enabled and can run on pull requests. Run one with SemgrepWorkflowsService_TriggerSemgrepWorkflow.
SemgrepWorkflowsService_GetWorkflowJobGraph
ChatGPTGet workflow job graph GET /api/workflows/v1/deployments/{deploymentId}/jobs/id/{jobId}/graph Returns the live task-aware execution graph and run status for a workflow job. Pair with GetWorkflowJobOverview to render run metadata immediately and stream step/task status separately.
SemgrepWorkflowsService_GetWorkflowJobOverview
ChatGPTGet workflow job overview GET /api/workflows/v1/deployments/{deploymentId}/jobs/id/{jobId}/overview Returns run-level metadata and a registry-derived step skeleton for a workflow job, without listing run artifacts — a fast first paint. Pair with GetWorkflowJobGraph to stream live step/task status separately. To fetch issues associated with the job, call PublicIssuesService_ListIssues with the same deploymentId and body.filters.workflowJobIds set to an array containing the job's numeric ID, such as "123" for job_123. Follow the returned cursor to fetch all issue pages.
SemgrepWorkflowsService_GetWorkflowJobSupersession
ChatGPTGet workflow job supersession GET /api/workflows/v1/deployments/{deploymentId}/jobs/id/{jobId}/supersession Returns the latest workflow run that superseded the requested job, when one exists.
SemgrepWorkflowsService_GetWorkflowTaskLogs
ChatGPTGet workflow task logs GET /api/workflows/v1/deployments/{deploymentId}/jobs/id/{jobId}/tasks/{taskId}/logs Returns stdout and stderr logs for a specific workflow task
SemgrepWorkflowsService_ListWorkflowJobs
ChatGPTList workflow jobs POST /api/workflows/v1/deployments/{deploymentId}/jobs/list Lists workflow jobs for a deployment, with support for filtering, sorting, and cursor-based pagination. To fetch issues associated with a job, call PublicIssuesService_ListIssues with the same deploymentId and body.filters.workflowJobIds set to an array containing the job's numeric ID, such as "123" for job_123. Follow the returned cursor to fetch all issue pages.
SemgrepWorkflowsService_TriggerSemgrepWorkflow
ChatGPTTrigger a workflow run POST /api/workflows/v1/deployments/{deploymentId}/trigger Runs a Semgrep Agentic Workflow on a repository or pull request and returns the job ID. Choose a workflow from SemgrepWorkflowsService_GetSemgrepWorkflowRegistry. To fetch issues associated with the job, call PublicIssuesService_ListIssues with the same deploymentId and body.filters.workflowJobIds set to an array containing the job's numeric ID, such as "123" for job_123.
SlackService_GetSlackChannelMappings
ChatGPTGet Slack channel mappings GET /api/agent/deployments/{deploymentId}/slack/channel_mappings Retrieves channel mappings for Slack channels
SlackService_GetSlackInstallation
ChatGPTGet Slack installation details GET /api/agent/deployments/{deploymentId}/slack/installations Retrieves Slack app installation details for a deployment
SlackService_GetSlackNotificationMappings
ChatGPTGet Slack notification mappings GET /api/agent/deployments/{deploymentId}/slack/channels Retrieves notification mappings for Slack channels
SupplyChain2Service_ListDependencies
ChatGPTList dependencies POST /api/sca/deployments/{deploymentId}/dependencies Returns all (or filtered) dependencies for a deployment using pagination
SupplyChain2Service_ListFindingsForAdvisory
ChatGPTList findings for advisory POST /api/sca/deployments/{deploymentId}/advisories/{advisoryId}/findings Returns a summary of findings grouped by project and branch for a specific advisory using pagination
SupplyChain2Service_ListRepositoriesForDependencies
ChatGPTList repositories with dependencies POST /api/sca/deployments/{deploymentId}/repositories Returns any repositories which contain dependencies that match the given filter for a deployment
SupplyChainService_GetAdvisory
ChatGPTGet a Supply Chain advisory and rule GET /api/sca/advisories/{advisoryId} Retrieve an advisory by its rule path, including rule text, affected and safe dependency versions, reachability rule type, CVE/GHSA references, and associated incident when available. Requires access to a Supply Chain-enabled deployment. Use SupplyChain2Service_ListFindingsForAdvisory to find affected projects.
SupplyChainService_ListAdvisoriesV2
ChatGPTList Supply Chain advisories POST /api/sca/advisories/v2 Search advisories by title, rule path, or advisory ID for incident response. Returns advisory rule IDs, affected versions, and rule text. Pass the returned cursor to fetch the next page. Requires access to a Supply Chain-enabled deployment.
TasksService_GetTaskResult
ChatGPTGet task result GET /api/tasks/v2/{taskTokenJwt} Returns the status of a task or task group, and if completed, the result.
WorkflowScheduleConfigService_BatchUpdateWorkflowScheduleConfigs
ChatGPTApply shared workflow schedule settings in bulk POST /api/deployments/{deploymentId}/workflow-schedule-configs/batch-update Apply shared schedule settings across selected projects and workflows, returning per-project outcomes.
WorkflowScheduleConfigService_CountScheduledWorkflowProjects
ChatGPTCount projects with workflow schedules POST /api/deployments/{deploymentId}/workflow-schedule-configs/counts Returns the number of distinct projects the matching schedule configs cover, in total, per workflow, and per cadence.
WorkflowScheduleConfigService_CreateWorkflowScheduleConfig
ChatGPTCreate a workflow schedule config POST /api/workflows/v1/deployments/{deploymentId}/schedule-configs Runs a workflow on one project, either on pull requests or merge requests (prRunsEnabled, with prRunTrigger choosing which pull request events start a run) or on a daily, weekly, monthly, or custom schedule (cadence). A run on a pull request doesn't comment on it; that takes an automation with the workflow trigger.
WorkflowScheduleConfigService_DeleteWorkflowScheduleConfig
ChatGPTDelete a workflow schedule config DELETE /api/workflows/v1/deployments/{deploymentId}/schedule-configs/{configId}
WorkflowScheduleConfigService_GetWorkflowScheduleConfig
ChatGPTGet a workflow schedule config GET /api/workflows/v1/deployments/{deploymentId}/schedule-configs/{configId}
WorkflowScheduleConfigService_ListWorkflowScheduleConfigs
ChatGPTList workflow schedule configs for a deployment POST /api/workflows/v1/deployments/{deploymentId}/schedule-configs/list Lists the configs that run workflows on pull requests or merge requests and on schedules. Filter by workflow name, then match each config's project yourself.
WorkflowScheduleConfigService_UpdateWorkflowScheduleConfig
ChatGPTUpdate a workflow schedule config PUT /api/workflows/v1/deployments/{deploymentId}/schedule-configs/{configId} Updates a scheduled workflow's name, version, parameters, schedule, or enabled state. A config with prRunsEnabled can only be turned on or off, or have its prRunTrigger changed: its workflow and project are fixed at creation. To move it to another project, create a config for the new project and then delete the old one, as the scanning scope settings do.
discover
ChatGPTFind and explore the tools this server provides. Describe a task to get a shortlist of matching tools, or pass a tool name to see its inputs and response fields. Discover only describes tools; it never runs them.
semgrep_account
ChatGPTCall semgrep_account to identify the organization authorized for this connection. Each org's id is its deploymentId. OAuth returns the selected organization and userId; API tokens return the organization bound to the token. To change organizations, reconnect with a different selection or token. Existing API permissions remain authoritative.
semgrep_app_link
ChatGPTBuild a Semgrep AppSec Platform URL for the user to open, such as a finding, a filtered findings list, a project, or a settings page. Links open in the organization authorized for this connection, and the user's own permissions apply. Share the returned url with the user; it is not an API endpoint.