Search for videos
Execute search in video archive...
POST params
namevalue
actionSEARCH_FOR_VIDEOS
search_stringuse * as wildcards (optional)
search_in0 = search all fields, 1 = search only description (optional)
objecttypeWhat type (10,11,12,13,14) (optional)
pg_in_typeWhat programtype (optional)
program_nameuse * as wildcards (optional)
season(optional)
participants(optional)
episode(optional)
department_id_listinlude this department(s) comma separated list
not_department_id_listdo not inlude this department(s) 
lpa_idall departments in this lpa (overrides department_id_list)
indexed_from_date(YYYY-MM-DD) (HH24) (MI) 
indexed_to_date(YYYY-MM-DD) (HH24) (MI) 
sourcesystemuse * as wildcards (optional)
sourcesystemiduse * as wildcards (optional)
recording_from_date(YYYY-MM-DD) 
recording_to_date(YYYY-MM-DD) 
fqfield query (geofilt) (optional)
ddiameter (geofilt) (optional)
ptpoint (geofilt) (optional)
(AI) modelAI search, use athis openAI model
(AI) inputAI search, add text to get embeddings from and use it as AI search criteria
(AI) VectorSearchParserWhich parser to use (knn or vectorSimilarity)
(AI) VectorSimilarityMinReturnIf using vectorSimilarity set Min return
(AI) VectorTopKHow many objects to return/span>
from_video_idonly images with image_id EQUAL or GREATER than this
sort_bydbentry_date, photographer, program or filename (empty sorts by object_id)
sort_orderasc or desc
start_atfrom (pagination) (optional)
stop_atto (pagination) (optional)
hitstrue or false ,set to true to just get numberofmatches in response (must be set)
jsoncheck for json reply
 

(AI) search can be made with parameter input=text to use

, or with this JSON in raw data (if input text is very large, like a whole article)

						{
						"model":"text-embedding-3-small",
						"dimensions":256,
						"input":"The boat is sailing with very little vind. People swimming around the boat."
						}
					
OBJECTTYPE's
PG_IN_TYPE's
Get list with GET_VIDEO_CATEGORIES (use category_short for search)

Geometry search examples

search radie (circle)

fq={!geofilt sfield=geometry_geojson}

d=10.042678956381444

pt=59.336952115966795,18.044119086116556

search free form

fq={!field f=geometry_geojson}Intersects({"type":"Polygon","coordinates":[[[18.063731901347637,59.2930924525229], [17.962045669555668,59.30746084139321],[17.955239564180378,59.36100077007542], [18.008918948471546,59.3832597185429],[18.0896351672709,59.38003496612822], [18.19705093279481,59.342590197172875],[18.20141522213817,59.2768410999066], [18.063731901347637,59.2930924525229]]]}) distErrPct=0

d=

pt=

search rectangle / square

fq={!field f=geometry_geojson}Intersects({"type":"Polygon","coordinates":[[[17.9397638887167,59.30509797964654], [17.9397638887167,59.35101018472035],[18.188611865043644,59.35101018472035], [18.188611865043644,59.30509797964654],[17.9397638887167,59.30509797964654]]]}) distErrPct=0

d=

pt=