action facecheck_post_api_search { label: "Submit a search request to the search engine and get back search results that contain URLs and all images in base64/webp format" provider: facecheck method: POST path: "/api/search" encoding: json input: { type: "object" properties: { demo: { type: "boolean" description: "true = searches only the first 100,000 faces, good for testing/debugging" } id_captcha: { type: "string" description: "captcha is not used" } id_search: { type: "string" } status_only: { type: "boolean" description: "true = don't submit a new search" } with_progress: { type: "boolean" description: "true = return imediately with a progress. False waits until search is finished." } } additionalProperties: false } output: { type: "object" properties: { code: { type: "string" } error: { type: "string" } id_search: { type: "string" } input: { type: "array" items: { type: "object" properties: { base64: { type: "string" } id_pic: { type: "string" } svg_anim: { type: "string" } url_source: { type: "string" } } additionalProperties: false } } message: { type: "string" } output: { type: "object" properties: { demo: { type: "boolean" } face_per_sec: { type: "integer" format: "int32" } freeRam: { type: "number" format: "double" } images_in_bundle: { type: "integer" format: "int32" } items: { type: "array" items: { type: "object" properties: { base64: { type: "string" } group: { type: "integer" format: "int32" } guid: { type: "string" } index: { type: "integer" format: "int32" } indexDB: { type: "integer" format: "int64" } score: { type: "integer" format: "int32" } url: { type: "string" } } additionalProperties: false } } max_score: { type: "integer" format: "int32" } performance: { type: "string" } searchedFaces: { type: "integer" format: "int32" } tookSeconds: { type: "number" format: "double" } tookSecondsDownload: { type: "number" format: "double" } tookSecondsQueue: { type: "number" format: "double" } } additionalProperties: false } progress: { type: "integer" format: "int32" } } additionalProperties: false } }