---
updatedAt: 2025-06-09T21:48:15.000Z
agentTools:
  projectIndex: https://developer.daylite.app/llms.txt
---

# File Search

Search for file attachments

See the [search filtering](https://developer.daylite.app/reference/search-filtering) documentation for details about the query syntax.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.marketcircle.net/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/files/_search": {
      "post": {
        "summary": "File Search",
        "description": "Search for file attachments",
        "operationId": "file-search",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Maximum number of results to return",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "full-records",
            "in": "query",
            "description": "Display the full record data",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "start",
            "in": "query",
            "description": "Starting point for the query based on objectID. Example: `1001`",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "object",
                    "description": "Example: `Test File.txt`",
                    "properties": {
                      "equal": {
                        "type": "string"
                      },
                      "not_equal": {
                        "type": "string"
                      },
                      "starts_with": {
                        "type": "string"
                      },
                      "does_not_start_with": {
                        "type": "string"
                      },
                      "contains": {
                        "type": "string"
                      },
                      "does_not_contain": {
                        "type": "string"
                      },
                      "blank": {
                        "type": "boolean"
                      },
                      "not_blank": {
                        "type": "boolean"
                      },
                      "equal_ignore_case": {
                        "type": "string"
                      }
                    }
                  },
                  "title": {
                    "type": "object",
                    "description": "Example: `Test File`",
                    "properties": {
                      "equal": {
                        "type": "string"
                      },
                      "not_equal": {
                        "type": "string"
                      },
                      "starts_with": {
                        "type": "string"
                      },
                      "does_not_start_with": {
                        "type": "string"
                      },
                      "contains": {
                        "type": "string"
                      },
                      "does_not_contain": {
                        "type": "string"
                      },
                      "blank": {
                        "type": "boolean"
                      },
                      "not_blank": {
                        "type": "boolean"
                      },
                      "equal_ignore_case": {
                        "type": "string"
                      }
                    }
                  },
                  "size": {
                    "type": "object",
                    "description": "Example: `1`",
                    "properties": {
                      "equal": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "not_equal": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "less_than": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "less_than_equal": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "greater_than": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "greater_than_equal": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "in_range": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "not_in_range": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "blank": {
                        "type": "boolean"
                      },
                      "not_blank": {
                        "type": "boolean"
                      }
                    }
                  },
                  "extension": {
                    "type": "object",
                    "description": "Example: `txt`",
                    "properties": {
                      "equal": {
                        "type": "string"
                      },
                      "not_equal": {
                        "type": "string"
                      },
                      "starts_with": {
                        "type": "string"
                      },
                      "does_not_start_with": {
                        "type": "string"
                      },
                      "contains": {
                        "type": "string"
                      },
                      "does_not_contain": {
                        "type": "string"
                      },
                      "blank": {
                        "type": "boolean"
                      },
                      "not_blank": {
                        "type": "boolean"
                      },
                      "equal_ignore_case": {
                        "type": "string"
                      }
                    }
                  },
                  "note": {
                    "type": "object",
                    "description": "Example: `This is a test file's note`",
                    "properties": {
                      "equal": {
                        "type": "string"
                      },
                      "not_equal": {
                        "type": "string"
                      },
                      "starts_with": {
                        "type": "string"
                      },
                      "does_not_start_with": {
                        "type": "string"
                      },
                      "contains": {
                        "type": "string"
                      },
                      "does_not_contain": {
                        "type": "string"
                      },
                      "blank": {
                        "type": "boolean"
                      },
                      "not_blank": {
                        "type": "boolean"
                      },
                      "equal_ignore_case": {
                        "type": "string"
                      }
                    }
                  },
                  "owner": {
                    "type": "object",
                    "description": "Example: `/v1/users/1000`",
                    "properties": {
                      "equal": {
                        "type": "string"
                      },
                      "not_equal": {
                        "type": "string"
                      },
                      "contains": {
                        "type": "string"
                      },
                      "does_not_contain": {
                        "type": "string"
                      },
                      "blank": {
                        "type": "boolean"
                      },
                      "not_blank": {
                        "type": "boolean"
                      },
                      "equal_ignore_case": {
                        "type": "string"
                      }
                    }
                  },
                  "create_date": {
                    "type": "object",
                    "description": "Example: `2025-03-05T17:01:37.442Z`",
                    "properties": {
                      "equal": {
                        "type": "string"
                      },
                      "not_equal": {
                        "type": "string"
                      },
                      "starts_with": {
                        "type": "string"
                      },
                      "does_not_start_with": {
                        "type": "string"
                      },
                      "contains": {
                        "type": "string"
                      },
                      "does_not_contain": {
                        "type": "string"
                      },
                      "blank": {
                        "type": "boolean"
                      },
                      "not_blank": {
                        "type": "boolean"
                      },
                      "equal_ignore_case": {
                        "type": "string"
                      },
                      "less_than": {
                        "type": "string"
                      },
                      "less_than_equal": {
                        "type": "string"
                      },
                      "greater_than": {
                        "type": "string"
                      },
                      "greater_than_equal": {
                        "type": "string"
                      },
                      "in_range": {
                        "type": "string"
                      },
                      "not_in_range": {
                        "type": "string"
                      }
                    }
                  },
                  "modify_date": {
                    "type": "object",
                    "description": "Example: `2025-03-05T17:01:50.919Z`",
                    "properties": {
                      "equal": {
                        "type": "string"
                      },
                      "not_equal": {
                        "type": "string"
                      },
                      "starts_with": {
                        "type": "string"
                      },
                      "does_not_start_with": {
                        "type": "string"
                      },
                      "contains": {
                        "type": "string"
                      },
                      "does_not_contain": {
                        "type": "string"
                      },
                      "blank": {
                        "type": "boolean"
                      },
                      "not_blank": {
                        "type": "boolean"
                      },
                      "equal_ignore_case": {
                        "type": "string"
                      },
                      "less_than": {
                        "type": "string"
                      },
                      "less_than_equal": {
                        "type": "string"
                      },
                      "greater_than": {
                        "type": "string"
                      },
                      "greater_than_equal": {
                        "type": "string"
                      },
                      "in_range": {
                        "type": "string"
                      },
                      "not_in_range": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"results\": [\n    {\n      \"self\": \"/v1/tasks/2000\",\n      \"title\": \"meeting notes\"\n    },\n    {\n      \"self\": \"/v1/tasks/3000\",\n      \"title\": \"lecture notes\"\n    },\n    {\n      \"self\": \"/v1/tasks/4000\",\n      \"title\": \"budget ideas\"\n    },\n    {\n      \"self\": \"/v1/tasks/5000\",\n      \"title\": \"questions to ask\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "self": {
                            "type": "string",
                            "example": "/v1/tasks/2000"
                          },
                          "title": {
                            "type": "string",
                            "example": "meeting notes"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {}
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```