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

# List All Deals

> Search deals in this workspace.

Search deals in this workspace. Filter by owner, stage, amount and close date; page with `page` and `per_page`. Returns `opportunities` with `id`, `name`, `amount`, `closed_date`, `stage_name`, `opportunity_stage_id`, `account_id`, `owner_id`, `is_closed`, `is_won` and `description`. ⚠️ Shared workspace: results include deals other AIsa callers created.

<Note>
  **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
  Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
  opens a browser, you click Allow once, and there is no key to paste. The
  commands per client, and what each call costs, are on
  [aisa.one/mcp](https://aisa.one/mcp#connect).
</Note>

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/apollo/get_apollo-opportunities-search)


## OpenAPI

````yaml openapi/apollo.json GET /apollo/opportunities/search
openapi: 3.0.3
info:
  title: Apollo API
  version: 1.0.0
  description: Apollo API endpoints exposed through the AIsa unified gateway.
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /apollo/opportunities/search:
    get:
      summary: List All Deals
      description: >-
        Search deals in this workspace. Filter by owner, stage, amount and close
        date; page with `page` and `per_page`. Returns `opportunities` with
        `id`, `name`, `amount`, `closed_date`, `stage_name`,
        `opportunity_stage_id`, `account_id`, `owner_id`, `is_closed`, `is_won`
        and `description`. ⚠️ Shared workspace: results include deals other AIsa
        callers created.
      operationId: get_apollo_opportunities_search
      parameters:
        - name: sort_by_field
          in: query
          required: false
          schema:
            type: string
          description: Sort field
        - name: page
          in: query
          required: false
          schema:
            type: integer
          description: Page number
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
          description: Items per page
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  opportunities:
                    type: string
                    description: Opportunities list
                  opportunities[].id:
                    type: string
                    description: Opportunity ID
                  opportunities[].owner_id:
                    type: string
                    description: Owner ID
                  opportunities[].account_id:
                    type: string
                    description: Account ID
                  opportunities[].amount:
                    type: number
                    description: Amount
                  opportunities[].name:
                    type: string
                    description: Name
                  opportunities[].opportunity_stage_id:
                    type: string
                    description: Stage ID
                  opportunities[].is_closed:
                    type: boolean
                    description: Is closed
                  opportunities[].is_won:
                    type: boolean
                    description: Is won
                  opportunities[].created_at:
                    type: string
                    description: Created timestamp
                  pagination:
                    type: object
                    description: Pagination object
                  pagination.page:
                    type: integer
                    description: Page number
                  pagination.per_page:
                    type: integer
                    description: Items per page
                  pagination.total_entries:
                    type: integer
                    description: Total entries
                  pagination.total_pages:
                    type: integer
                    description: Total pages
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '429':
          description: Rate limit exceeded
        '500':
          description: Internal server error
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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