Drata · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Drata Control Library API

4 actions 4 updates phrasing extends openapi/drata-control-library-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Drata's API. It is a proposal applied on top of the contract, not a document Drata publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/control-library'].get
$.paths['/control-library/{templateId}'].get
$.paths['/control-library/action-import'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Drata Control Library API
  version: 1.0.0
extends: openapi/drata-control-library-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/control-library'].get
  update:
    x-apievangelist-phrasing:
      intent: Browse control library templates
      effect: read
      questions:
      - What control templates are available in the control library?
      - Can I find templates that come with tests or policies?
      - Which library controls belong to a given framework?
      instructions:
      - text: Search the control library for {search}.
        slots:
          search: query.search
      - text: List control library templates tagged with framework {framework}.
        slots:
          framework: query.frameworkTag
      method: generated
      generated: '2026-09-26'
- target: $.paths['/control-library/{templateId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one control template
      effect: read
      questions:
      - What mappings come with a specific control template?
      - Can I look up a control library template by ID?
      instructions:
      - text: Get control library template {template}.
        slots:
          template: path.templateId
      - text: Show the details of library template {template}.
        slots:
          template: path.templateId
      method: generated
      generated: '2026-09-26'
- target: $.paths['/control-library/action-import'].post
  update:
    x-apievangelist-phrasing:
      intent: Import controls from library templates
      effect: write
      questions:
      - How do I add controls to my workspace from the control library?
      - Does importing templates bring their tests, policies and evidence mappings with them?
      - Can I import a template that duplicates an existing control?
      instructions:
      - text: Import control library templates {specs}.
        slots:
          specs: requestBody.data
      - text: 'Provision controls from templates {specs}, allowing duplicates: {allow_duplicates}.'
        slots:
          specs: requestBody.data
          allow_duplicates: requestBody.allowDuplicates
      method: generated
      generated: '2026-09-26'