API ReferenceTalon Studio v1.0.6-beta
Library
Search the synced detection content library, and read a rule with its queries ready to propose.
Search the library
GET
/api/v1/librarylibrary:readSearch one source of the synced detection library by name or technique. Reference data — it takes no workspaceId. To adopt a rule, read it with GET /library/{source}/{id} and pass its query to POST /detections, which opens a change request.
Query parameters
Response
Returned with meta { page, perPage, total, totalPages } and links { next, prev }, ordered by name. A source the instance hasn't synced returns an empty page.
Get a library rule
GET
/api/v1/library/{source}/{id}library:readOne library rule in full: its query in its own language and, for a Sigma rule, the pre-rendered conversion to each SIEM — ready to pass to POST /detections.
Path parameters
Response
Returned as { data: { … } }. Splunk rules also carry requiredFields, dataModel, analyticStory, observables, riskScore, riskMessage, detectionTypeRaw, assetType, securityDomain and tests; other sources return those empty or null, except an Elastic rule's riskScore. An unknown source or id returns 404 "Library rule not found". To adopt the rule, send its query to POST /detections — sigmaRule as sigma, splQuery as spl, kqlQuery as kql, yaralRule as yaraL, elasticQuery as eql with elasticLanguage — so adoption still goes through a change request.