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

# Count the Triage queue

> The numbers of the Triage rail and header for the queue filters of GET /api/v1/triage/findings: findings per stage, per saved view, per effective severity and per source, over the findings of your team's active sources that you can see. Each facet ignores its own filter and applies the others (stage counts drop `stage`, view counts drop `view`, severity counts drop `severity`, source counts drop `source_id` and `source_kind`). Each number is counted up to 10,001: `exact` is false when more than 10,000 findings match, and the number reads as "10,000+". `partial` is true when your team has more private GitHub repositories than one request checks, so some findings may be left out.




## OpenAPI

````yaml /openapi/neo.public.openapi.json get /api/v1/triage/queue/counts
openapi: 3.1.0
info:
  contact:
    name: ProjectDiscovery
    url: https://neo.projectdiscovery.io
  description: Neo API Server - Security agent orchestration platform
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  title: Neo API
  version: 1.0.0
servers:
  - description: Production
    url: https://neo.api.projectdiscovery.io
  - description: Development
    url: https://neo.api.dev.projectdiscovery.io
  - description: Local development
    url: http://localhost:8080
security: []
tags:
  - description: Task execution and management
    name: Tasks
  - description: Agent listing and management
    name: Agents
  - description: Public agent directory
    name: Agent Directory
  - description: User file storage management
    name: Files
  - description: User working memory management
    name: Memory
  - description: Scheduled and recurring task management
    name: Schedules
  - description: Knowledge base and semantic search
    name: Knowledge
  - description: Encrypted user credentials and API keys
    name: Secrets
  - description: Neo API key management for programmatic access
    name: API Keys
  - description: User profile and account information
    name: User
  - description: Task and LLM usage tracking
    name: Usage
  - description: Bring Your Own Key provider management
    name: BYOK
  - description: Connect personal AI provider accounts and select them as a model source
    name: AI Connections
  - description: Model discovery and capabilities
    name: Models
  - description: Third-party integrations
    name: Integrations
  - description: Skill knowledge documents for agent prompts
    name: Skills
  - description: User-authored tools and toolkit management
    name: Dynamic Tools
  - description: Team management and member invitations
    name: Teams
  - description: Prompt library management and discovery
    name: Prompts
  - description: Slack bot integration for workspace installation and OAuth
    name: Slack
  - description: GitHub integration for PR reviews and repository management
    name: GitHub
  - description: Vulnerability issue tracking and management
    name: Issues
  - description: Subscription billing and plans
    name: Billing
  - description: Project management and member assignments
    name: Projects
  - description: SSH key pair generation and management for remote server access
    name: SSH Keys
  - description: Captured HTTP traffic query and replay
    name: Network Events
  - description: User and team API activity metadata
    name: Audit Logs
  - description: Vulnerability triage for HackerOne, GitHub, and Security Inbox
    name: Triage
paths:
  /api/v1/triage/queue/counts:
    get:
      tags:
        - Triage
      summary: Count the Triage queue
      description: >
        The numbers of the Triage rail and header for the queue filters of GET
        /api/v1/triage/findings: findings per stage, per saved view, per
        effective severity and per source, over the findings of your team's
        active sources that you can see. Each facet ignores its own filter and
        applies the others (stage counts drop `stage`, view counts drop `view`,
        severity counts drop `severity`, source counts drop `source_id` and
        `source_kind`). Each number is counted up to 10,001: `exact` is false
        when more than 10,000 findings match, and the number reads as "10,000+".
        `partial` is true when your team has more private GitHub repositories
        than one request checks, so some findings may be left out.
      operationId: get-v1-triage-queue-counts
      parameters:
        - description: Only findings of these sources (repeat the parameter for several).
          explode: true
          in: query
          name: source_id
          required: false
          schema:
            items:
              format: uuid
              type: string
            maxItems: 50
            type: array
          style: form
        - description: Only findings of sources of these kinds.
          explode: true
          in: query
          name: source_kind
          required: false
          schema:
            items:
              $ref: '#/components/schemas/TriageSourceKind'
            maxItems: 5
            type: array
          style: form
        - description: >
            Only findings of these accounts within a source (a HackerOne
            program, a GitHub repository, a mailbox), compared without case.
          explode: true
          in: query
          name: context
          required: false
          schema:
            items:
              maxLength: 256
              type: string
            maxItems: 50
            type: array
          style: form
        - description: >
            A saved view of the queue. `all`: findings that are not closed.
            `needs_decision`: untriaged or verdict ready with no decision.
            `critical_high`: open findings whose effective severity is critical
            or high. `in_fix`: accepted findings being fixed. `waiting`:
            untriaged findings older than 7 days. `snoozed`: findings with an
            active snooze. Omit to list every stage.
          in: query
          name: view
          required: false
          schema:
            enum:
              - all
              - needs_decision
              - critical_high
              - in_fix
              - waiting
              - snoozed
            type: string
        - description: Only findings in these stages.
          explode: true
          in: query
          name: stage
          required: false
          schema:
            items:
              enum:
                - untriaged
                - investigating
                - verdict_ready
                - in_fix
                - closed
              type: string
            maxItems: 5
            type: array
          style: form
        - description: >
            Only findings whose effective severity (override, then the latest
            valid run, then the source) is one of these; `none` also matches an
            unknown severity.
          explode: true
          in: query
          name: severity
          required: false
          schema:
            items:
              enum:
                - critical
                - high
                - medium
                - low
                - none
              type: string
            maxItems: 5
            type: array
          style: form
        - description: >
            Only findings whose latest triage or auto run reached one of these
            verdicts (Neo's disposition). A finding with no verdict, because it
            has no finished run or its run failed, matches none of them. Omit to
            match every finding.
          explode: true
          in: query
          name: verdict
          required: false
          schema:
            items:
              enum:
                - valid
                - need_more_info
                - duplicate
                - informative
                - not_applicable
                - spam
                - unknown
              type: string
            maxItems: 7
            type: array
          style: form
        - description: >-
            Only findings whose status at the source is one of these, compared
            without case.
          explode: true
          in: query
          name: state
          required: false
          schema:
            items:
              maxLength: 128
              type: string
            maxItems: 20
            type: array
          style: form
        - description: Search in the title and the external key, without case.
          in: query
          name: q
          required: false
          schema:
            maxLength: 200
            type: string
        - description: >
            Include findings with an active snooze in the other views and
            filters. The snoozed view always lists them, and needs_decision
            never does (a snooze is a decision until it expires).
          in: query
          name: include_snoozed
          required: false
          schema:
            default: false
            type: boolean
        - description: >
            Only open findings whose SLA target (counts `sla`) is `overdue`
            (past it) or `due_soon` (due within 7 days, not yet past). It
            narrows the page, `count` and every counts facet except `sla`, with
            the same predicate as `counts.sla.past` and `counts.sla.due_7d`;
            snoozed findings follow include_snoozed.
          in: query
          name: sla
          required: false
          schema:
            enum:
              - overdue
              - due_soon
            type: string
        - $ref: '#/components/parameters/TriageFindingArchived'
        - description: >
            The ETag of a previous answer to the same query. When nothing you
            can see changed since, the answer is 304 with no body.
          in: header
          name: If-None-Match
          required: false
          schema:
            maxLength: 512
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriageQueueCounts'
          description: The queue counts
          headers:
            Cache-Control:
              description: Always `private, max-age=0, must-revalidate`.
              schema:
                type: string
            ETag:
              description: >
                Weak validator of this answer: the team's queue version, a hash
                of what you may see (hidden sources, visible private GitHub
                repositories) and a hash of the query. Send it back as
                If-None-Match.
              schema:
                type: string
        '304':
          description: >
            Nothing you can see changed since the ETag you sent in
            If-None-Match: no body, the same ETag.
          headers:
            Cache-Control:
              description: Always `private, max-age=0, must-revalidate`.
              schema:
                type: string
            ETag:
              description: >
                Weak validator of this answer: the team's queue version, a hash
                of what you may see (hidden sources, visible private GitHub
                repositories) and a hash of the query. Send it back as
                If-None-Match.
              schema:
                type: string
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: >
            An unknown filter value (invalid_filter), or you are not a member of
            a team
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Authentication required
        '403':
          $ref: '#/components/responses/TriageFeatureDisabled'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unexpected server error
        '503':
          $ref: '#/components/responses/TriageSourcesUnavailable'
      security:
        - BearerAuth: []
        - ApiKeyAuth: []
components:
  schemas:
    TriageSourceKind:
      description: >
        hackerone, github and gmail are built-in connections; custom_api is a
        source you configure.
      enum:
        - hackerone
        - github
        - gmail
        - custom_api
        - scanner
      type: string
      x-enum-varnames:
        - TriageSourceKindHackerone
        - TriageSourceKindGithub
        - TriageSourceKindGmail
        - TriageSourceKindCustomApi
        - TriageSourceKindScanner
    TriageQueueCounts:
      description: >
        The counts of GET /api/v1/triage/queue/counts. Sources with no matching
        finding are left out.
      properties:
        partial:
          description: >
            Your team has more private GitHub repositories than one request
            checks; findings of the unchecked ones are left out.
          type: boolean
        severities:
          $ref: '#/components/schemas/TriageQueueSeverityCounts'
        sources:
          items:
            $ref: '#/components/schemas/TriageQueueSourceCount'
          type: array
        stages:
          $ref: '#/components/schemas/TriageQueueStageCounts'
        views:
          $ref: '#/components/schemas/TriageQueueViewCounts'
      required:
        - stages
        - views
        - severities
        - sources
        - partial
      type: object
    ErrorResponse:
      properties:
        code:
          description: >
            Stable machine-readable error code — branch on this rather than

            matching the human `error`/`message` strings. `access_restricted`

            (HTTP 403) denies hosted Neo access under the access policy. On team

            invitations, param=email identifies a restricted recipient rather

            than the caller; show the error without redirecting the caller.
            Domain codes include

            `user_spending_cap_reached`, `project_spending_cap_reached`, and

            `insufficient_neo_credits`; Free/usage codes include

            `free_grant_challenge_required`, `free_usage_exhausted`,

            `free_task_budget_exhausted`, `model_not_available_on_free`,

            `sandbox_not_available_on_free` (cloud sandbox surfaces are not

            available on the Free plan; task files remain available from the

            task), `free_cannot_continue_managed_task` (a task that ran on the

            standard cloud sandbox cannot be continued on the Free plan; start

            a new task), `free_origin_not_supported` (integration-originated

            tasks are not available on the Free plan),

            `weekly_usage_limit_reached`, `billing_period_usage_limit_reached`,

            `topup_required`, `subscription_required`, and

            `isolated_workspace_purged`. Custom agent authoring codes:

            `agent_not_found`, `agent_not_editable`, `agent_version_conflict`,

            `agent_edit_access_requires_team`, and `agent_invalid_editors`.
            Otherwise it mirrors the error kind

            (e.g. `forbidden`, `invalid_request`, `not_exists`,
            `already_exists`).
          example: user_spending_cap_reached
          type: string
        error:
          example: Bad request
          type: string
        error_id:
          description: Correlation id for a specific error instance, when present.
          type: string
        kind:
          description: Coarse error category (e.g. "forbidden request", "invalid request").
          example: forbidden request
          type: string
        message:
          description: |
            Human-readable detail (the kind prefixed to the error). For display,
            not for branching.
          type: string
        param:
          description: >-
            Field rejected by the policy; email for a restricted invite
            recipient.
          type: string
        turnstile_site_key:
          description: |
            Public Cloudflare Turnstile site key returned only with
            `free_grant_challenge_required`, so the client can complete the
            invisible verification before retrying the request.
          type: string
      required:
        - error
      type: object
    TriageQueueSeverityCounts:
      description: >
        Findings per effective severity across the selected stages, without the
        severity filter; `none` also holds an unknown severity.
      properties:
        critical:
          $ref: '#/components/schemas/TriageQueueCount'
        high:
          $ref: '#/components/schemas/TriageQueueCount'
        low:
          $ref: '#/components/schemas/TriageQueueCount'
        medium:
          $ref: '#/components/schemas/TriageQueueCount'
        none:
          $ref: '#/components/schemas/TriageQueueCount'
      required:
        - critical
        - high
        - medium
        - low
        - none
      type: object
    TriageQueueSourceCount:
      description: >-
        The open (not closed) and total findings of one source, without the
        source filters.
      properties:
        open:
          $ref: '#/components/schemas/TriageQueueCount'
        source_id:
          format: uuid
          type: string
        total:
          $ref: '#/components/schemas/TriageQueueCount'
      required:
        - source_id
        - open
        - total
      type: object
    TriageQueueStageCounts:
      description: Findings per stage, without the stage filter.
      properties:
        closed:
          $ref: '#/components/schemas/TriageQueueCount'
        in_fix:
          $ref: '#/components/schemas/TriageQueueCount'
        investigating:
          $ref: '#/components/schemas/TriageQueueCount'
        untriaged:
          $ref: '#/components/schemas/TriageQueueCount'
        verdict_ready:
          $ref: '#/components/schemas/TriageQueueCount'
      required:
        - untriaged
        - investigating
        - verdict_ready
        - in_fix
        - closed
      type: object
    TriageQueueViewCounts:
      description: >
        Findings per saved view (the `view` values of the queue), without the
        view filter. `all` is every open finding.
      properties:
        all:
          $ref: '#/components/schemas/TriageQueueCount'
        critical_high:
          $ref: '#/components/schemas/TriageQueueCount'
        in_fix:
          $ref: '#/components/schemas/TriageQueueCount'
        needs_decision:
          $ref: '#/components/schemas/TriageQueueCount'
        snoozed:
          $ref: '#/components/schemas/TriageQueueCount'
        waiting:
          $ref: '#/components/schemas/TriageQueueCount'
      required:
        - all
        - needs_decision
        - critical_high
        - in_fix
        - waiting
        - snoozed
      type: object
    TriageQueueCount:
      description: >
        One number of the queue counts, counted up to 10,001. `exact` is false
        when more than 10,000 findings match: show it as "10,000+".
      properties:
        count:
          format: int64
          minimum: 0
          type: integer
        exact:
          type: boolean
      required:
        - count
        - exact
      type: object
  parameters:
    TriageFindingArchived:
      description: >
        True lists only archived findings, false only active ones. Omit to list
        both.
      in: query
      name: archived
      required: false
      schema:
        type: boolean
  responses:
    TriageFeatureDisabled:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: >-
        Triage is turned off for the caller: Triage is not enabled for the
        account (triage_disabled), custom sources are turned off
        (custom_sources_disabled), or Triage reviews are turned off
        (triage_reviews_disabled).
    TriageSourcesUnavailable:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: >-
        This deployment has no custom source tables yet: its database migration
        has not run (custom_sources_unavailable). Retry later.
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      description: JWT authentication token
      scheme: bearer
      type: http
    ApiKeyAuth:
      description: Neo API key (neo_sk_* prefix)
      in: header
      name: X-Api-Key
      type: apiKey

````

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