Unique framework identifier (use this in map requests)
name
string
Human-readable framework name
region
string
Geographic region or applicability
controls
array
List of controls within the framework (optional)
Control Object
Field
Type
Description
id
string
Control identifier within the framework
title
string
Control title
description
string
Detailed control description
family
string
Control family name
family_id
string
Control family identifier
category
string
Control category
framework_name
string
Parent framework name
framework_id
string
Parent framework identifier
Map Documents
Map one or more documents to controls across specified compliance frameworks. The API uses AI to analyze document content and find semantically similar framework controls.
POST /v1/map
Request Body
Field
Type
Required
Description
frameworks
array[string]
Yes
Framework IDs to map against (from /v1/frameworks)
documents
array[InputDocument]
Yes
Documents to map
min_similarity
float
No
Minimum similarity score (0.01-1.0). Results below this threshold are excluded.
min_confidence
string
No
Minimum confidence level: High, Medium, Low, or Very Low. Mutually exclusive with min_similarity.
topk
integer
No
Maximum controls to return per framework/document combination (default: 1)
InputDocument Object
Field
Type
Required
Description
id
string
Yes
Client-generated unique identifier for the document