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

> List uploaded proposals with offset pagination.

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

The response contains `proposals`, `total`, and `hasMore`. Proposals are sorted by creation time, newest first. `limit` defaults to `20` and is capped at `100`; use positive limits and a nonnegative `skip`.

Listing is scoped to the authenticated user. Entries include `_id`, `proposalName`, `proposalContent`, timestamps, and optional file metadata. Use `_id` as `proposalId` in other proposal requests.


## OpenAPI

````yaml api-reference/openapi.json GET /list-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-proposals:
    get:
      tags:
        - Proposals
      summary: List proposals
      description: Newest first in the caller context.
      operationId: listProposals
      parameters:
        - 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 proposals.
          content:
            application/json:
              schema:
                type: object
                required:
                  - proposals
                  - total
                  - hasMore
                properties:
                  proposals:
                    type: array
                    items:
                      $ref: '#/components/schemas/Proposal'
                  total:
                    type: integer
                  hasMore:
                    type: boolean
        '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'
        '500':
          description: Request failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Proposal:
      type: object
      required:
        - _id
        - proposalName
      properties:
        _id:
          type: string
          description: 24-character record ID.
          pattern: ^[a-fA-F0-9]{24}$
        proposalName:
          type: string
        proposalContent:
          type: string
        proposalFile:
          anyOf:
            - $ref: '#/components/schemas/ProposalFile'
            - type: 'null'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      description: Stored proposal. Additional metadata can be present.
      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
    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.'

````