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

# Listar ofertas

> Las ofertas de un agente (o del pool del espacio de trabajo), paginadas por cursor. Pasa `agentId` para acotar a un agente.



## OpenAPI

````yaml /openapi.es.json get /v1/offers
openapi: 3.0.0
info:
  title: API para desarrolladores de wondeya
  description: >-
    La API REST pública para construir sobre wondeya: agentes, proyectos,
    páginas, conocimiento, recursos, marca, tema, uso, recuperación y chat,
    autenticada mediante una clave de API del espacio de trabajo
    (`Authorization: Bearer wdy_live_…`).
  version: 0.1.0
  contact:
    name: wondeya
    url: https://wondeya.com
    email: team@wondeya.com
  license:
    name: Proprietary
    url: https://wondeya.com/terms
servers:
  - url: https://api.wondeya.com
    description: Producción
  - url: http://localhost:8080
    description: Desarrollo
security: []
tags:
  - name: Identity
  - name: Agents
  - name: Projects
  - name: Pages
  - name: Knowledge
  - name: Assets
  - name: Brand
  - name: Usage
  - name: Chat
paths:
  /v1/offers:
    get:
      tags:
        - Offers
      summary: Listar ofertas
      description: >-
        Las ofertas de un agente (o del pool del espacio de trabajo), paginadas
        por cursor. Pasa `agentId` para acotar a un agente.
      operationId: PublicOffersController_list_v1
      parameters:
        - name: limit
          required: false
          in: query
          description: Cuántos elementos devolver (1–100).
          schema:
            minimum: 1
            maximum: 100
            default: 50
            type: number
        - name: after
          required: false
          in: query
          description: >-
            Cursor opaco: pasa el `nextCursor` de una página anterior para
            obtener la siguiente.
          schema:
            type: string
        - name: before
          required: false
          in: query
          description: >-
            Cursor opaco para paginar hacia atrás (los elementos anteriores a
            él).
          schema:
            type: string
        - name: agentId
          required: true
          in: query
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedOffersDto'
      security:
        - api-key: []
components:
  schemas:
    PaginatedOffersDto:
      type: object
      properties:
        data:
          description: Los elementos de esta página.
          type: array
          items:
            $ref: '#/components/schemas/PublicOfferDto'
        hasMore:
          type: boolean
          description: Verdadero cuando existen más elementos después de esta página.
        nextCursor:
          type: string
          nullable: true
          description: >-
            Cursor opaco para pasar como `after` en la siguiente página; null en
            la última página.
      required:
        - data
        - hasMore
        - nextCursor
    PublicOfferDto:
      type: object
      properties:
        id:
          type: string
        agentId:
          type: object
          nullable: true
        key:
          type: string
        name:
          $ref: '#/components/schemas/LocalizedTextDto'
        description:
          type: string
        price:
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/OfferPriceDto'
        features:
          type: array
          items:
            $ref: '#/components/schemas/LocalizedTextDto'
        highlight:
          type: boolean
        ctaLinkId:
          type: object
          nullable: true
        ctaLabel:
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/LocalizedTextDto'
        status:
          type: string
          enum:
            - active
            - archived
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - id
        - agentId
        - key
        - name
        - description
        - features
        - highlight
        - ctaLinkId
        - status
        - createdAt
        - updatedAt
    LocalizedTextDto:
      type: object
      properties:
        es:
          type: string
          maxLength: 200
        en:
          type: string
          maxLength: 200
    OfferPriceDto:
      type: object
      properties:
        amount:
          type: number
          description: La cifra que el servidor formatea; nunca el modelo.
        currency:
          type: string
          enum:
            - USD
            - EUR
            - CLP
            - MXN
            - ARS
            - COP
            - PEN
            - BRL
            - UYU
            - GBP
        period:
          type: string
          enum:
            - month
            - year
            - once
          nullable: true
      required:
        - amount
        - currency
        - period
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: opaque
      type: http
      description: >-
        Una clave de API del espacio de trabajo: wdy_live_… / wdy_test_…. Se
        crea en POST /workspaces/{tenantId}/keys y se muestra exactamente una
        vez.

````

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