search-records
Search across companies, people, records, tasks, deals, notes and lists in Attio CRM using queries, filters, date ranges and sorting options to find specific information.
Instructions
Universal search across all resource types (companies, people, records, tasks)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
created_after | No | Filter records created after this date (ISO 8601) | |
created_before | No | Filter records created before this date (ISO 8601) | |
date_field | No | Which date field to filter on | created_at |
date_from | No | Start date for filtering (ISO 8601 format) | |
date_to | No | End date for filtering (ISO 8601 format) | |
fields | No | Fields to search (content) | |
filters | No | Advanced filter conditions | |
limit | No | Maximum number of results to return | |
match_type | No | String matching | |
offset | No | Number of results to skip for pagination | |
query | No | Search query string | |
resource_type | Yes | Type of resource to operate on (companies, people, lists, records, tasks) | |
search_type | No | Type of search | |
sort | No | Sort order | |
timeframe | No | Relative timeframe filter | |
updated_after | No | Filter records updated after this date (ISO 8601) | |
updated_before | No | Filter records updated before this date (ISO 8601) |
Input Schema (JSON Schema)
{
"properties": {
"created_after": {
"description": "Filter records created after this date (ISO 8601)",
"format": "date-time",
"type": "string"
},
"created_before": {
"description": "Filter records created before this date (ISO 8601)",
"format": "date-time",
"type": "string"
},
"date_field": {
"default": "created_at",
"description": "Which date field to filter on",
"enum": [
"created_at",
"updated_at"
],
"type": "string"
},
"date_from": {
"description": "Start date for filtering (ISO 8601 format)",
"format": "date-time",
"type": "string"
},
"date_to": {
"description": "End date for filtering (ISO 8601 format)",
"format": "date-time",
"type": "string"
},
"fields": {
"description": "Fields to search (content)",
"items": {
"type": "string"
},
"type": "array"
},
"filters": {
"additionalProperties": true,
"description": "Advanced filter conditions",
"type": "object"
},
"limit": {
"default": 10,
"description": "Maximum number of results to return",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"match_type": {
"description": "String matching",
"enum": [
"exact",
"partial",
"fuzzy"
],
"type": "string"
},
"offset": {
"default": 0,
"description": "Number of results to skip for pagination",
"minimum": 0,
"type": "number"
},
"query": {
"description": "Search query string",
"type": "string"
},
"resource_type": {
"description": "Type of resource to operate on (companies, people, lists, records, tasks)",
"enum": [
"companies",
"people",
"lists",
"records",
"tasks",
"deals",
"notes"
],
"type": "string"
},
"search_type": {
"description": "Type of search",
"enum": [
"basic",
"content",
"timeframe"
],
"type": "string"
},
"sort": {
"description": "Sort order",
"enum": [
"relevance",
"created",
"modified",
"name"
],
"type": "string"
},
"timeframe": {
"description": "Relative timeframe filter",
"enum": [
"today",
"yesterday",
"this_week",
"last_week",
"this_month",
"last_month",
"last_7_days",
"last_30_days",
"last_90_days"
],
"type": "string"
},
"updated_after": {
"description": "Filter records updated after this date (ISO 8601)",
"format": "date-time",
"type": "string"
},
"updated_before": {
"description": "Filter records updated before this date (ISO 8601)",
"format": "date-time",
"type": "string"
}
},
"required": [
"resource_type"
],
"type": "object"
}