> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cotool.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Add software to the Hunt software denylist

> Add software the organization does not want Hunt alerts for. Software already listed under any spelling is left as it is. A Hunt Threat whose affected products all match an entry opens no new Hunt Alert unless Hunt finds signs of compromise, and Threats v2 records CVEs in a matching product as not relevant, so they open no alert. An entry matches a product whose vendor and name contain its words in order.



## OpenAPI

````yaml https://app.cotool.ai/api/docs/openapi.json post /api/hunt/software-denylist
openapi: 3.1.0
info:
  title: Cotool API
  version: 1.0.0
  description: >-
    The Cotool REST API. Authenticate with an API key from `/settings/api-keys`
    sent as `Authorization: Bearer <key>`.


    Authentication, error formats, pagination, and common integration recipes
    are documented in the [API
    overview](https://docs.cotool.ai/api-reference/introduction). Endpoints
    marked **Deprecated** keep working; each one's description names its
    replacement.
servers:
  - url: https://app.cotool.ai
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Agents
    description: Create, update, run, and version agents.
  - name: Agent Runs
    description: Inspect agent runs, submit feedback, and read evaluation metrics.
  - name: Agent Triggers
    description: Webhook, schedule, and integration triggers that start agent runs.
  - name: Agents as Code
    description: Validate agents and skills defined as YAML in a Git repository.
  - name: Skills
    description: Reusable instructions and tool grants attached to agents.
  - name: Chat
    description: Chat sessions and their transcripts.
  - name: Alerts
    description: Alert triage, routing, and escalation notifications.
  - name: Output Destinations
    description: Webhook, Slack, Jira, and Linear destinations for agent output.
  - name: Detections
    description: Detection agents, detection hits, and the Cotool detection library.
  - name: Hunt
    description: Autonomous hunt threats, gaps, and settings.
  - name: Intel
    description: Threat-intelligence feed items, indicators, and sources.
  - name: Threat Model
    description: The organization threat model and its version history.
  - name: MITRE Coverage
    description: MITRE ATT&CK coverage across detections.
  - name: Tools
    description: Connected tool integrations and captured tool output.
  - name: CLIs
    description: Connected CLI integrations.
  - name: Artifacts
    description: Files and reports produced by agent runs.
  - name: Audit Logs
    description: Organization audit log export and event catalog.
  - name: Users
    description: Users, memberships, and the current session.
  - name: Roles
    description: Role-based permissions.
  - name: Organizations
    description: Organization-level metrics.
paths:
  /api/hunt/software-denylist:
    post:
      tags:
        - Hunt
      summary: Add software to the Hunt software denylist
      description: >-
        Add software the organization does not want Hunt alerts for. Software
        already listed under any spelling is left as it is. A Hunt Threat whose
        affected products all match an entry opens no new Hunt Alert unless Hunt
        finds signs of compromise, and Threats v2 records CVEs in a matching
        product as not relevant, so they open no alert. An entry matches a
        product whose vendor and name contain its words in order.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                software:
                  type: string
                  minLength: 1
                  maxLength: 200
                  description: >-
                    Software name, such as "Google Chrome" or "Chrome". It
                    matches any product whose vendor and name contain these
                    words in this order, so "Chrome" also matches "Google
                    Chrome" but not "Chromium".
                note:
                  type: string
                  maxLength: 500
                  description: Why the software is on the list
              required:
                - software
              additionalProperties: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  entry:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      software:
                        type: string
                      note:
                        type:
                          - string
                          - 'null'
                        description: Why the software is on the list
                      addedBy:
                        type:
                          - object
                          - 'null'
                        properties:
                          kind:
                            type: string
                            enum:
                              - user
                              - agent
                          name:
                            type:
                              - string
                              - 'null'
                        required:
                          - kind
                          - name
                        description: >-
                          Who added it: a person, or an agent at a person’s
                          request. Null when that is no longer known.
                      sourceAlertId:
                        type:
                          - string
                          - 'null'
                        format: uuid
                        description: >-
                          The alert an agent was handling when it added the
                          entry
                      createdAt:
                        type: string
                        format: date-time
                    required:
                      - id
                      - software
                      - note
                      - addedBy
                      - sourceAlertId
                      - createdAt
                  created:
                    type: boolean
                    description: >-
                      False when the software was already listed, possibly under
                      another spelling; entry is that listing
                required:
                  - entry
                  - created
        '400':
          description: The denylist is full.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized — missing or invalid API key / session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — the authenticated user lacks the required permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PermissionError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-codeSamples:
        - lang: shell
          label: cURL
          source: |-
            curl -X POST "https://app.cotool.ai/api/hunt/software-denylist" \
              -H "Authorization: Bearer YOUR_API_KEY" \
              -H "Content-Type: application/json" \
              -d '{"software":null,"note":"string"}'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message describing what went wrong
        code:
          type: string
          description: >-
            Machine-readable error code, present when the error has one. Branch
            on this instead of the message.
        details:
          type: object
          description: Structured details for `code`, whose shape depends on the code
      required:
        - error
    PermissionError:
      type: object
      properties:
        error:
          type: string
          description: Error message describing what went wrong
        missingPerms:
          type: array
          description: Permissions the authenticated user is missing for this operation
          items:
            type: string
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        API Key authentication for programmatic access. Include your API key in
        the Authorization header as: `Bearer your_api_key_here`

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.