Skip to main content
POST
Match input to templates

Authorizations

X-API-Key
string
header
required

Production API key. Development/test deployments may also allow X-Org-Name.

Body

application/json

Request schema for template matching.

slide_data
Slide Data · object
required

Slide data input (same format as SlideDataInput for generation)

org_name
string | null

Organization name to scope the search. If provided, must match the API key's organization. If omitted, the API key's organization is used.

match_against
string
default:slides

Match against 'slides' or 'layouts'

top_k
integer
default:5

Number of top matches to return

Required range: 1 <= x <= 20

Response

Successful Response

Response schema for template matching.

input_signature
Input Signature · object
required

Parsed input signature

matches
MatchResultResponse · object[]
required

Ranked match results

total_templates_searched
integer
required

Number of templates searched

total_slides_searched
integer
required

Number of slides/layouts searched

best_match
MatchResultResponse · object | null

Top match