Interface ContentSelectionRequest

content selection request structure

main request format for all content selection operations (search, recommendations, etc.). supports multiple search modes based on which fields are provided.

interface ContentSelectionRequest {
    use_case: string;
    context?: Record<string, string>;
    search?: string;
    limit?: number;
    filters?: ContentSelectionFilter;
    options?: ContentSelectionOptions;
    debug?: boolean;
}

Properties

use_case: string

use case identifier

context?: Record<string, string>

context data (user_id, session_id, etc.)

search?: string

text search query

limit?: number

maximum number of results to return (1-1000)

filter conditions to apply

advanced search options

debug?: boolean

enable debug information in response