Skip to main content
GET
/
app
/
v1
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
saved-searches
List Saved Searches
curl --request GET \
  --url https://api.example.com/app/v1/organizations/{organizationId}/projects/{projectId}/saved-searches

Documentation Index

Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID

Query Parameters

limit
number
Items per page (default: 20)
lastKey
string
Cursor for pagination (from previous response)
type
string
Filter by type: content or asset
Search term for name/description
favorite
boolean
Filter to user’s favorites only
folderId
string
Filter by folder (null for root level)

Response

Returns a paginated list of SavedSearch objects.
{
  "data": [
    {
      "id": "ss123",
      "name": "Draft Articles",
      "type": "content",
      "folderId": "folder789",
      "description": "All draft articles in the system",
      "createdAt": "2024-03-20T10:00:00Z",
      "updatedAt": "2024-03-21T15:30:00Z",
      "metadata": {
        "lastUsed": "2024-03-21T15:30:00Z",
        "useCount": 42
      }
    }
  ],
  "pagination": {
    "lastKey": "eyJpZCI6InNzMTIzIn0="
  }
}

Code Examples

curl -X GET "https://api.metabind.ai/app/v1/organizations/org123/projects/proj456/saved-searches?type=content&favorite=true" \
  -H "Authorization: Bearer YOUR_JWT"