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

# List proposal assessments

> List stored assessments for a specification you can access.

```bash theme={null}
curl --fail-with-body --get https://api.pre.dev/list-vetted-proposals \
  -H "Authorization: Bearer $PREDEV_API_KEY" \
  --data-urlencode "specId=$SPEC_ID" \
  --data-urlencode 'limit=20' \
  --data-urlencode 'skip=0'
```

`specId` is required. The response contains `vettedProposals`, `total`, and `hasMore`. `limit` defaults to `20` and is capped at `100`; use a positive limit and nonnegative offset. An empty result is an empty array.

Missing/invalid specification IDs return `400`, inaccessible specifications `403`, and unknown specifications `404`. Use an assessment's `_id` to [retrieve it directly](/architect-agent/api/get-vetted-proposal).


## OpenAPI

````yaml api-reference/openapi.json GET /list-vetted-proposals
openapi: 3.1.0
info:
  title: pre.dev API
  description: >-
    Public REST API for software specifications, browser automation, proposal
    assessment, and credit balance. Base URL: https://api.pre.dev. MCP is
    documented separately at https://docs.pre.dev/mcp/tools.
  version: 1.1.0
  contact:
    name: pre.dev Support
    url: https://pre.dev
    email: support@pre.dev
  license:
    name: Proprietary
    url: https://pre.dev/terms
servers:
  - url: https://api.pre.dev
    description: Production API Server
security:
  - apiKeyAuth: []
  - xApiKey: []
tags:
  - name: Specifications
  - name: Browser Agents
  - name: Proposals
  - name: Account
paths:
  /list-vetted-proposals:
    get:
      tags:
        - Proposals
      summary: List proposal assessments
      description: >-
        Newest first. Each assessment includes a compact proposal name/file
        summary when available.
      operationId: listVettedProposals
      parameters:
        - name: specId
          in: query
          required: true
          schema:
            type: string
            description: 24-character record ID.
            pattern: ^[a-fA-F0-9]{24}$
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
        - name: skip
          in: query
          required: false
          schema:
            type: integer
            default: 0
            minimum: 0
      responses:
        '200':
          description: Paginated assessments.
          content:
            application/json:
              schema:
                type: object
                required:
                  - vettedProposals
                  - total
                  - hasMore
                properties:
                  vettedProposals:
                    type: array
                    items:
                      $ref: '#/components/schemas/VettedProposalSummary'
                  total:
                    type: integer
                  hasMore:
                    type: boolean
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid, or ineligible authentication.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Access or trial eligibility denied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Record unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Request failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    VettedProposalSummary:
      allOf:
        - $ref: '#/components/schemas/VettedProposal'
        - type: object
          properties:
            proposal:
              anyOf:
                - type: object
                  properties:
                    proposalName:
                      type: string
                    proposalFile:
                      anyOf:
                        - $ref: '#/components/schemas/ProposalFile'
                        - type: 'null'
                - type: 'null'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
          description: Optional detail; not returned by every endpoint.
        code:
          type: string
          description: Machine-readable code when available.
        actionUrl:
          type: string
          format: uri
        requiresSubscription:
          type: boolean
        trialsUsed:
          type: integer
        maxTrials:
          type: integer
      additionalProperties: true
    VettedProposal:
      type: object
      required:
        - _id
        - specId
        - proposalId
        - shouldAccept
      properties:
        _id:
          type: string
          description: 24-character record ID.
          pattern: ^[a-fA-F0-9]{24}$
        specId:
          type: string
          description: 24-character record ID.
          pattern: ^[a-fA-F0-9]{24}$
        proposalId:
          type: string
          description: 24-character record ID.
          pattern: ^[a-fA-F0-9]{24}$
        shouldAccept:
          type: boolean
        acceptanceConfidence:
          type: number
          minimum: 0
          maximum: 100
        overallAlignment:
          type: number
          minimum: 0
          maximum: 100
        strengths:
          type: array
          items:
            type: string
        weaknesses:
          type: array
          items:
            type: string
        criticalGaps:
          type: array
          items:
            type: string
        recommendations:
          type: array
          items:
            type: string
        executiveSummary:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      additionalProperties: true
    ProposalFile:
      type: object
      properties:
        fileName:
          type: string
        fileUrl:
          type: string
          format: uri
        fileType:
          type: string
        fileSize:
          type: integer
          description: Bytes.
        uploadedAt:
          type: string
          format: date-time
      additionalProperties: true
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: Use a pre.dev API key from https://pre.dev/projects/key.
    xApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Alternative to Authorization: Bearer.'

````