> ## 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.

# Get a proposal assessment

> Retrieve one stored proposal comparison and its recommendations.

```bash theme={null}
curl --fail-with-body "https://api.pre.dev/get-vetted-proposal/$VETTED_PROPOSAL_ID" \
  -H "Authorization: Bearer $PREDEV_API_KEY"
```

Use the assessment's `_id` returned by vetting or listing. The response is the assessment object itself. It includes the associated `specId` and `proposalId`, plus the [assessment fields](/architect-agent/proposals#assessment-fields).

A malformed ID returns `400`, denied access `403`, and an unknown assessment `404`.


## OpenAPI

````yaml api-reference/openapi.json GET /get-vetted-proposal/{vettedProposalId}
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:
  /get-vetted-proposal/{vettedProposalId}:
    get:
      tags:
        - Proposals
      summary: Get a proposal assessment
      description: Fetch a saved assessment record.
      operationId: getVettedProposal
      parameters:
        - name: vettedProposalId
          in: path
          required: true
          schema:
            type: string
            description: 24-character record ID.
            pattern: ^[a-fA-F0-9]{24}$
      responses:
        '200':
          description: Saved assessment.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VettedProposal'
        '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:
    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
    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
  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.'

````