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

# Seller proposals for a campaign (latest or one execution)



## OpenAPI

````yaml /openapi/buyer.yaml get /api/v2/buyer/campaigns/{id}/proposals
openapi: 3.1.0
info:
  title: Semicola Exchange buyer API
  version: 2.0.0
  description: >-
    Buyer endpoints: advertisers, storefronts and connections, product
    discovery, campaigns, proposals, media buys, creatives and reporting. Every
    write accepts an Idempotency-Key header.
servers:
  - url: https://api.semicola.com
security:
  - bearerAuth: []
  - sessionCookie: []
tags:
  - name: Advertisers
  - name: Storefronts
  - name: Product Discovery
  - name: Campaigns
  - name: Media Buys
  - name: Creatives
  - name: Reporting
  - name: Event Sources
  - name: Webhooks
  - name: Tasks
  - name: Audit Logs
paths:
  /api/v2/buyer/campaigns/{id}/proposals:
    get:
      tags:
        - Product Discovery
      summary: Seller proposals for a campaign (latest or one execution)
      operationId: getBuyerCampaignsByIdProposals
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            minLength: 1
        - name: executionId
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    anyOf:
                      - type: object
                        properties:
                          state:
                            type: string
                            enum:
                              - ok
                              - empty
                              - permission
                              - error
                              - loading
                          stateMessage:
                            type: string
                          campaignId:
                            type: string
                          campaignName:
                            type: string
                          campaignRevision:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          executionId:
                            type:
                              - string
                              - 'null'
                          executionStatus:
                            anyOf:
                              - type: string
                                enum:
                                  - running
                                  - complete
                                  - partial
                                  - failed
                              - type: 'null'
                          progress:
                            type: object
                            properties:
                              asked:
                                type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              responded:
                                type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              pending:
                                type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              failed:
                                type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              label:
                                type: string
                            required:
                              - asked
                              - responded
                              - pending
                              - failed
                              - label
                            additionalProperties: false
                          sellers:
                            type: array
                            items:
                              type: object
                              properties:
                                seller:
                                  type: object
                                  properties:
                                    sellerId:
                                      type: integer
                                      exclusiveMinimum: 0
                                      maximum: 9007199254740991
                                    name:
                                      type: string
                                    logoUrl:
                                      type:
                                        - string
                                        - 'null'
                                  required:
                                    - sellerId
                                    - name
                                    - logoUrl
                                  additionalProperties: false
                                status:
                                  type: string
                                  enum:
                                    - pending
                                    - quoted
                                    - products
                                    - failed
                                    - timeout
                                error:
                                  type:
                                    - string
                                    - 'null'
                                latencyMs:
                                  anyOf:
                                    - type: integer
                                      minimum: 0
                                      maximum: 9007199254740991
                                    - type: 'null'
                                proposals:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      proposalId:
                                        type: string
                                      seller:
                                        type: object
                                        properties:
                                          sellerId:
                                            type: integer
                                            exclusiveMinimum: 0
                                            maximum: 9007199254740991
                                          name:
                                            type: string
                                          logoUrl:
                                            type:
                                              - string
                                              - 'null'
                                        required:
                                          - sellerId
                                          - name
                                          - logoUrl
                                        additionalProperties: false
                                      storefrontName:
                                        type: string
                                      salesAgentName:
                                        type:
                                          - string
                                          - 'null'
                                      name:
                                        type: string
                                      rationale:
                                        type: string
                                      disposition:
                                        type: string
                                        enum:
                                          - pitch
                                          - counter_pitch
                                      placements:
                                        type: integer
                                        minimum: 0
                                        maximum: 9007199254740991
                                      budgetText:
                                        type: string
                                      budgetGuidance:
                                        anyOf:
                                          - type: object
                                            properties:
                                              min:
                                                type: string
                                                pattern: ^-?\d+(\.\d{1,6})?$
                                              recommended:
                                                type: string
                                                pattern: ^-?\d+(\.\d{1,6})?$
                                              max:
                                                type: string
                                                pattern: ^-?\d+(\.\d{1,6})?$
                                              currency:
                                                type: string
                                                pattern: ^[A-Z]{3}$
                                            required:
                                              - currency
                                            additionalProperties: false
                                          - type: 'null'
                                      allocations:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            productId:
                                              type: string
                                            productName:
                                              type: string
                                            allocationPercentage:
                                              anyOf:
                                                - type: number
                                                  minimum: 0
                                                  maximum: 100
                                                - type: 'null'
                                            rationale:
                                              type:
                                                - string
                                                - 'null'
                                          required:
                                            - productId
                                            - productName
                                            - allocationPercentage
                                            - rationale
                                          additionalProperties: false
                                      limitations:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            field:
                                              type: string
                                            requested:
                                              type:
                                                - string
                                                - 'null'
                                            supported:
                                              type:
                                                - string
                                                - 'null'
                                            note:
                                              type: string
                                          required:
                                            - field
                                            - requested
                                            - supported
                                            - note
                                          additionalProperties: false
                                      expiresAt:
                                        anyOf:
                                          - type: string
                                            format: date-time
                                            pattern: >-
                                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
                                          - type: 'null'
                                      selected:
                                        type: boolean
                                      refinedFrom:
                                        type:
                                          - string
                                          - 'null'
                                    required:
                                      - proposalId
                                      - seller
                                      - storefrontName
                                      - salesAgentName
                                      - name
                                      - rationale
                                      - disposition
                                      - placements
                                      - budgetText
                                      - budgetGuidance
                                      - allocations
                                      - limitations
                                      - expiresAt
                                      - selected
                                      - refinedFrom
                                    additionalProperties: false
                              required:
                                - seller
                                - status
                                - error
                                - latencyMs
                                - proposals
                              additionalProperties: false
                          selectedProposalIds:
                            type: array
                            items:
                              type: string
                        required:
                          - state
                          - campaignId
                          - campaignName
                          - campaignRevision
                          - executionId
                          - executionStatus
                          - progress
                          - sellers
                          - selectedProposalIds
                        additionalProperties: false
                      - type: 'null'
                  error:
                    anyOf:
                      - type: object
                        properties:
                          code:
                            type: string
                          message:
                            type: string
                          field:
                            type: string
                          details: {}
                        required:
                          - code
                          - message
                        additionalProperties: false
                      - type: 'null'
                required:
                  - data
                  - error
                additionalProperties: false
        default:
          description: >-
            Error envelope `{data: null, error: {code, message, field?,
            details?}}`.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or OAuth access token.
    sessionCookie:
      type: apiKey
      in: cookie
      name: sc_session

````