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

# List deals

> List deals by owner, stage or status, with amount, days quiet, next meeting, open questions, and what Steerco has read on each deal: summary, blockers and next step.

This tool reads data and changes nothing.



## OpenAPI

````yaml /openapi.json post /v1/tools/list_deals
openapi: 3.1.0
info:
  title: Steerco API
  version: 2.0.0
  description: >-
    Read and change your Steerco workspace: companies, people, mail, meetings,
    deals, sequences, tasks, lead finders and website visitors. The REST API and
    the MCP server run the same tools.
servers:
  - url: https://api.getsteerco.com
security: []
paths:
  /v1/tools/list_deals:
    post:
      tags:
        - Tools
      summary: List deals
      description: >-
        List deals by owner, stage or status, with amount, days quiet, next
        meeting, open questions, and what Steerco has read on each deal:
        summary, blockers and next step.


        This tool reads data and changes nothing.
      operationId: list_deals
      parameters:
        - schema:
            type: string
            description: The workspace id. GET /v1/workspaces lists yours.
          required: true
          description: The workspace id. GET /v1/workspaces lists yours.
          in: header
          name: X-Workspace-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                owner:
                  description: >-
                    Whose deals: "me", "none" for deals nobody owns, or a
                    teammate's userId.
                  type: string
                  minLength: 1
                stage:
                  description: Only deals at this stage.
                  type: string
                  enum:
                    - booked
                    - met
                    - proposal
                status:
                  description: open, won or lost.
                  type: string
                  enum:
                    - open
                    - won
                    - lost
                closedFrom:
                  description: First day of the close span, YYYY-MM-DD in UTC.
                  type: string
                  format: date
                  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])))$
                closedTo:
                  description: >-
                    Last day of the close span, included. Defaults to
                    closedFrom.
                  type: string
                  format: date
                  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])))$
                sort:
                  description: >-
                    "recent" lists the newest move first, and is the default.
                    "needs_you" lists first the open deals whose next step is
                    the team's turn and has a day, overdue first, then the deals
                    quiet longest. It does not rank by blockers. Pass `owner:
                    "me"` with it to say which deals need the person asking.
                  type: string
                  enum:
                    - recent
                    - needs_you
                limit:
                  description: Rows to return. Default 25, at most 50.
                  type: integer
                  minimum: 1
                  maximum: 50
      responses:
        '200':
          description: The tool's result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolResult'
        '400':
          description: The body doesn't match the tool's input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: The API key is missing or not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            Your role or plan doesn't allow this tool, or the workspace isn't
            yours.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: A record the input names doesn't exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: You made more than 120 tool calls in a minute.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    ToolResult:
      type: object
      properties:
        status:
          type: string
          enum:
            - ok
        result: {}
        cut:
          $ref: '#/components/schemas/OutputCut'
      required:
        - status
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
      required:
        - error
        - code
    OutputCut:
      type: object
      properties:
        note:
          type: string
          description: What was cut, and how to get the rest.
        lists:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              shown:
                type: integer
              total:
                type: integer
            required:
              - path
              - shown
              - total
          description: Each list that lost items from its end, by its path in the result.
        textsShortened:
          type: integer
          description: How many long text fields end in "[cut]".
      required:
        - note
        - lists
        - textsShortened
      description: >-
        Present when the result was larger than about 25,000 tokens and Steerco
        cut it.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An API key, starting ak_. Create one under Settings > MCP and API in
        Steerco.

````

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