# List deals

`deals.list`

List financing transactions in one authorized workspace. Results contain recipient, project, amounts, application_status and separate pipeline_stage. Use deals.get for application progress, actionability, collaboration, and message detail.

[Deals guide](https://docs.levr.ai/mcp/resources/deals.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: read. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "assigned_to_me": {
      "anyOf": [
        {
          "description": "True for deals assigned to the authenticated user; false for deals explicitly assigned to another user. Omit this filter to include unassigned deals.",
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "True for deals assigned to the authenticated user; false for deals explicitly assigned to another user. Omit this filter to include unassigned deals."
    },
    "created_after": {
      "anyOf": [
        {
          "description": "Include records created at or after this timestamp.",
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Include records created at or after this timestamp."
    },
    "created_before": {
      "anyOf": [
        {
          "description": "Include records created at or before this timestamp.",
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Include records created at or before this timestamp."
    },
    "cursor": {
      "anyOf": [
        {
          "description": "Opaque next_cursor from the preceding page with the same query.",
          "maxLength": 4096,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Opaque next_cursor from the preceding page with the same query."
    },
    "include_archived": {
      "default": false,
      "description": "Include archived deals. Archived deals are excluded by default.",
      "type": "boolean"
    },
    "ordering": {
      "default": "-updated_at",
      "description": "Comma-separated ordering fields. Prefix a field with - for descending order. Allowed fields: name, created_at, updated_at, submitted_at.",
      "maxLength": 255,
      "minLength": 1,
      "pattern": "^-?(?:name|created_at|updated_at|submitted_at)(?:,-?(?:name|created_at|updated_at|submitted_at)){0,2}$",
      "type": "string"
    },
    "page_size": {
      "default": 20,
      "description": "Maximum items to return. The allowed range is 1 through 50.",
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "provider_slug": {
      "description": "Provider whose deals to list. Copy provider_slug from providers.list; named slugs are valid.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "search": {
      "default": "",
      "description": "Search deal and business names.",
      "maxLength": 255,
      "type": "string"
    },
    "source_channel_id": {
      "anyOf": [
        {
          "description": "Filter by a Lead source owned by the selected provider. Pass the canonical srcch ID returned by source_channels.list.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Filter by a Lead source owned by the selected provider. Pass the canonical srcch ID returned by source_channels.list."
    },
    "status": {
      "anyOf": [
        {
          "description": "Exact application_status.key from a previous read; this filter does not select pipeline stages.",
          "maxLength": 64,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Exact application_status.key from a previous read; this filter does not select pipeline stages."
    },
    "updated_after": {
      "anyOf": [
        {
          "description": "Include records updated at or after this timestamp.",
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Include records updated at or after this timestamp."
    },
    "updated_before": {
      "anyOf": [
        {
          "description": "Include records updated at or before this timestamp.",
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Include records updated at or before this timestamp."
    }
  },
  "required": [
    "provider_slug"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "items": {
          "description": "Resources in this page.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "application_status": {
                "additionalProperties": false,
                "description": "Shared application lifecycle status. Separate from the provider's pipeline stage; a stage move does not change it.",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "label"
                ],
                "type": "object"
              },
              "assignment": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "email": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name",
                      "email"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "business": {
                "additionalProperties": false,
                "description": "Long-lived client business associated with this financing transaction.",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "description": "Stable public identifier for the referenced resource.",
                        "maxLength": 255,
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Stable public identifier for the referenced resource."
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "type": "object"
              },
              "created_at": {
                "format": "date-time",
                "type": "string"
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "frontend_link": {
                "type": "string"
              },
              "id": {
                "description": "Stable provider-owned Deal id.",
                "maxLength": 255,
                "minLength": 1,
                "type": "string"
              },
              "is_archived": {
                "type": "boolean"
              },
              "is_sample": {
                "description": "A fictional example for safe practice.",
                "type": "boolean"
              },
              "name": {
                "description": "Name of this financing transaction.",
                "type": "string"
              },
              "pipeline_stage": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "description": "Stable public identifier for the referenced resource.",
                        "maxLength": 255,
                        "minLength": 1,
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "pipeline": {
                        "additionalProperties": false,
                        "properties": {
                          "id": {
                            "description": "Stable public identifier for the referenced resource.",
                            "maxLength": 255,
                            "minLength": 1,
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "type": "object"
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "pipeline"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Provider-owned board placement. Moving this does not submit or change application status."
              },
              "project": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "description": "Stable public identifier for the referenced resource.",
                        "maxLength": 255,
                        "minLength": 1,
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "recipient": {
                "additionalProperties": false,
                "description": "Who the Deal is addressed to. Use id when creating another Deal for this recipient.",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "description": "Recipient address used by deals.create; copy it unchanged.",
                        "maxLength": 255,
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Recipient address used by deals.create; copy it unchanged."
                  },
                  "kind": {
                    "type": "string"
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "provider_slug": {
                    "anyOf": [
                      {
                        "description": "Stable public identifier for the referenced resource.",
                        "maxLength": 255,
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Stable public identifier for the referenced resource."
                  }
                },
                "required": [
                  "id",
                  "name",
                  "kind",
                  "provider_slug"
                ],
                "type": "object"
              },
              "requested_amount": {
                "anyOf": [
                  {
                    "description": "Exact decimal amount; null means unknown.",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Exact decimal amount; null means unknown."
              },
              "revision": {
                "minimum": 0,
                "type": "integer"
              },
              "status": {
                "additionalProperties": false,
                "deprecated": true,
                "description": "Shared application lifecycle status. Separate from the provider's pipeline stage; a stage move does not change it.",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "label"
                ],
                "type": "object"
              },
              "submitted_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "format": "date-time",
                "type": "string"
              }
            },
            "required": [
              "id",
              "revision",
              "name",
              "business",
              "status",
              "assignment",
              "created_at",
              "updated_at",
              "submitted_at",
              "frontend_link",
              "application_status",
              "pipeline_stage",
              "recipient",
              "project",
              "requested_amount",
              "currency",
              "is_archived"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "next_cursor": {
          "anyOf": [
            {
              "description": "Opaque cursor for the next page, or null when this is the final page.",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Opaque cursor for the next page, or null when this is the final page."
        }
      },
      "required": [
        "items",
        "next_cursor"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```
