Filter saved searches using comprehensive query criteria with AND/OR logic and multiple operators. Supports complex filtering similar to GraphQL capabilities. Returns only saved searches accessible to the authenticated user (either owned by them or public).
- Filter saved searches
MVMNT API (1.0.0)
The MVMNT API enables you to automate freight brokerage workflows by integrating directly with our Transportation Management System.
OAuth 2.0 client credentials flow. See Authentication Guide for details.
Headers:
Content-Type: application/x-www-form-urlencodedBody Parameters:
grant_type=client_credentials
client_id=YOUR_CLIENT_ID
client_secret=YOUR_CLIENT_SECRETcurl -X POST https://api.mvmnt.io/oauth2/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET"- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/saved-searches/filter
- Productionhttps://api.mvmnt.io/v1/saved-searches/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/saved-searches/filter \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"preferenceType": {
"equalTo": "SHIPMENT"
},
"isPublic": {
"equalTo": true
}
},
"pageSize": 50
}'{ "data": [ { … } ], "pagination": { "pageSize": 50, "hasNextPage": true, "hasPreviousPage": false, "endCursor": "eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9" } }
Display name for the saved search (required)
Search criteria configuration
Column visibility settings (key is column name, value is visibility)
Whether this saved search is visible to all users in the organization
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/saved-searches
- Productionhttps://api.mvmnt.io/v1/saved-searches
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/saved-searches \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Active Shipments - West Coast",
"preferenceType": "SHIPMENT",
"jsonValue": {
"searchCriteria": {
"filters": [
{
"field": "status",
"searchCriteria": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
}
}
]
},
"sorting": [
{
"id": "createdAt",
"desc": true
}
]
},
"isPublic": true,
"pinned": true
}'Saved search created successfully
Unique saved search identifier
Whether this saved search is visible to all users in the organization. If false or null, only the owner can see it.
User ID who owns this saved search. Null means it's an organization-level saved search.
Timestamp when saved search was created
{ "object": "SAVED_SEARCH", "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Active Shipments - West Coast", "preferenceType": "SHIPMENT", "jsonValue": { "searchCriteria": { … }, "sorting": [ … ], "columnVisibility": { … }, "columnOrder": [ … ] }, "isPublic": true, "pinned": true, "ownedByUser": "550e8400-e29b-41d4-a716-446655440001", "groupId": null, "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z" }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/saved-searches/{id}
- Productionhttps://api.mvmnt.io/v1/saved-searches/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.mvmnt.io/_mock/apis/openapi/saved-searches/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Successful response
Unique saved search identifier
Whether this saved search is visible to all users in the organization. If false or null, only the owner can see it.
User ID who owns this saved search. Null means it's an organization-level saved search.
Timestamp when saved search was created
{ "object": "SAVED_SEARCH", "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Active Shipments - West Coast", "preferenceType": "SHIPMENT", "jsonValue": { "searchCriteria": { … }, "sorting": [ … ], "columnVisibility": { … }, "columnOrder": [ … ] }, "isPublic": true, "pinned": true, "ownedByUser": "550e8400-e29b-41d4-a716-446655440001", "groupId": null, "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z" }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/saved-searches/{id}
- Productionhttps://api.mvmnt.io/v1/saved-searches/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.mvmnt.io/_mock/apis/openapi/saved-searches/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Updated Shipments View",
"isPublic": true,
"pinned": false
}'Saved search updated successfully
Unique saved search identifier
Whether this saved search is visible to all users in the organization. If false or null, only the owner can see it.
User ID who owns this saved search. Null means it's an organization-level saved search.
Timestamp when saved search was created
{ "object": "SAVED_SEARCH", "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Active Shipments - West Coast", "preferenceType": "SHIPMENT", "jsonValue": { "searchCriteria": { … }, "sorting": [ … ], "columnVisibility": { … }, "columnOrder": [ … ] }, "isPublic": true, "pinned": true, "ownedByUser": "550e8400-e29b-41d4-a716-446655440001", "groupId": null, "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z" }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/saved-searches/{id}
- Productionhttps://api.mvmnt.io/v1/saved-searches/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.mvmnt.io/_mock/apis/openapi/saved-searches/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'