Search Requests
Search, filter, and browse your request history. Supports three modes:
1. Semantic Search (query, image_url, or video_url parameter): Find visually or conceptually similar results using AI embeddings. Provide a text query for text-to-image search, an image URL for image-to-image similarity search, or a video URL for video-to-image similarity search.
2. Filtered Browse (no query, image_url, or video_url): Browse request history with hard filters. Returns results ordered by creation date (newest first).
3. Semantic + Filters (search params AND filter params): Combine semantic search with hard filters. Filters narrow the candidate set before ranking by similarity.
Filter Options:
- endpoint_id: Filter by one or more fal endpoints (comma-separated or repeated, up to 50 IDs)
- exclude_api_requests / only_api_requests: Filter by request source
Examples:
- Semantic text search: ?query=sunset+landscape
- Image similarity: ?image_url=https://...&min_similarity=0.5
- Filtered search: ?query=portrait&endpoint_id=fal-ai/flux/dev
- Browse across multiple endpoints: ?endpoint_id=fal-ai/flux/dev,fal-ai/flux/schnell
Query parameters
Maximum number of items to return. Actual maximum depends on query type and expansion parameters.
Maximum number of items to return. Actual maximum depends on query type and expansion parameters.
Pagination cursor from previous response. Encodes the page number.
Pagination cursor from previous response. Encodes the page number.
Text search query for semantic search. Mutually exclusive with image_url and video_url.
Text search query for semantic search. Mutually exclusive with image_url and video_url.
Image URL for similarity search. Mutually exclusive with query and video_url.
Image URL for similarity search. Mutually exclusive with query and video_url.
Video URL for similarity search. Mutually exclusive with query and image_url.
Video URL for similarity search. Mutually exclusive with query and image_url.
Filter by one or more fal endpoints to scope request history. Accepts comma-separated or repeated values (1-50 IDs).
Deprecated: use endpoint_id. Single-endpoint filter retained for backward compatibility. If both are provided, endpoint_id wins.
Deprecated: use endpoint_id. Single-endpoint filter retained for backward compatibility. If both are provided, endpoint_id wins.
Exclude requests made via API keys (only show playground/UI requests). Mutually exclusive with only_api_requests.
Exclude requests made via API keys (only show playground/UI requests). Mutually exclusive with only_api_requests.
Only include requests made via API keys. Mutually exclusive with exclude_api_requests.
Only include requests made via API keys. Mutually exclusive with exclude_api_requests.
Minimum similarity score (0-1) for semantic search results. Only applies when query or image_url is provided.
Minimum similarity score (0-1) for semantic search results. Only applies when query or image_url is provided.
Response
Successfully retrieved request search results
Example response
{
"results": [
{
"request_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"endpoint_id": "fal-ai/flux/dev",
"started_at": "2025-01-01T00:00:05Z",
"sent_at": "2025-01-01T00:00:01Z",
"ended_at": "2025-01-01T00:00:08Z",
"status_code": 200,
"duration": 7.8,
"similarity": 0.87
}
]
}Changes
No recorded changes to this endpoint across all 2 revisions of this API.