pipedrive_list_archived_deals
Retrieve archived deals with filters by owner, person, organization, pipeline, stage, or status. Supports pagination and sorting.
Instructions
List archived deals with the same filtering as the active deals list (owner, person, organization, pipeline, stage, status). Returns paginated results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Cursor for pagination (from previous response) | |
| limit | No | Number of items to return (1-100, default 50) | |
| filter_id | No | Filter by saved filter ID | |
| ids | No | Comma-separated deal IDs to fetch (max 100) | |
| owner_id | No | Filter by owner user ID | |
| person_id | No | Filter by linked person ID | |
| org_id | No | Filter by linked organization ID | |
| pipeline_id | No | Filter by pipeline ID | |
| stage_id | No | Filter by stage ID | |
| status | No | Filter by deal status (omit to return all non-deleted deals) | |
| updated_since | No | Filter deals updated after this time (RFC3339 format, e.g. 2024-01-01T00:00:00Z) | |
| updated_until | No | Filter deals updated before this time (RFC3339 format) | |
| sort_by | No | Field to sort by | |
| sort_direction | No | Sort direction (default: desc) | |
| include_fields | No | Comma-separated extra fields (v2 enum, e.g. next_activity_id, last_activity_id, products_count, files_count, notes_count, followers_count) | |
| custom_fields | No | Include custom fields in response (comma-separated field keys or 'all') |