SafetyCulture · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mitti Investigations API

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

What the actions change

x-apievangelist-phrasing

Targets 39 · first 16 shown; the file carries all of them

$.info
$.paths['/incidents/v1/categories'].get
$.paths['/incidents/v1/categories'].post
$.paths['/incidents/v1/categories/{category_id}'].put
$.paths['/incidents/v1/categories/{category_id}'].delete
$.paths['/incidents/v1/categories/{category_id}/clone'].post
$.paths['/incidents/v1/categories/{category_id}/detail-fields'].get
$.paths['/incidents/v1/categories/{category_id}/detail-fields'].put
$.paths['/incidents/v1/detail-fields'].post
$.paths['/incidents/v1/detail-fields/{field_id}'].put
$.paths['/incidents/v1/detail-fields/{field_id}'].delete
$.paths['/incidents/v1/detail-fields/{field_id}/options'].put
$.paths['/incidents/v1/field-library'].get
$.paths['/incidents/v1/fields'].get
$.paths['/incidents/v1/fields'].put
$.paths['/incidents/v1/investigations'].get

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 Mitti Investigations API
  version: 1.0.0
extends: openapi/safetyculture-investigations-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-23'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 38
- target: $.paths['/incidents/v1/categories'].get
  update:
    x-apievangelist-phrasing:
      intent: List incident investigation categories
      effect: read
      questions:
      - What categories are available for incident investigations?
      - Can I see the investigation categories in my organisation?
      instructions:
      - text: List investigation categories.
      - text: Show every incident category.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/categories'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an investigation category
      effect: write
      questions:
      - How do I add a new category for incident investigations?
      - Can I give a new investigation category a description?
      instructions:
      - text: Create investigation category {title}.
        slots:
          title: requestBody.title
      - text: Add a category {title} described as {description}.
        slots:
          title: requestBody.title
          description: requestBody.description
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/categories/{category_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an investigation category
      effect: write
      questions:
      - Can I rename an existing investigation category?
      - How do I change the description of an investigation category?
      instructions:
      - text: Rename investigation category {category_id} to {title}.
        slots:
          category_id: path.category_id
          title: requestBody.title
      - text: Update the description of investigation category {category_id} to {description}.
        slots:
          category_id: path.category_id
          description: requestBody.description
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/categories/{category_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an investigation category
      effect: destructive
      questions:
      - How do I remove an investigation category?
      - Can I delete a category I no longer use for investigations?
      instructions:
      - text: Delete investigation category {category_id}.
        slots:
          category_id: path.category_id
      - text: Remove the investigation category {category_id}.
        slots:
          category_id: path.category_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/categories/{category_id}/clone'].post
  update:
    x-apievangelist-phrasing:
      intent: Clone an investigation category
      effect: write
      questions:
      - Can I copy an investigation category to start a new one?
      - Is it possible to clone a category with its own title?
      instructions:
      - text: Clone investigation category {category_id}.
        slots:
          category_id: path.category_id
      - text: Copy investigation category {category_id} as {title}.
        slots:
          category_id: path.category_id
          title: requestBody.title
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/categories/{category_id}/detail-fields'].get
  update:
    x-apievangelist-phrasing:
      intent: List detail fields of an investigation category
      effect: read
      questions:
      - What detail fields belong to an investigation category?
      - Which fields are required for a given incident category?
      instructions:
      - text: List detail fields for investigation category {category_id}.
        slots:
          category_id: path.category_id
      - text: Show the fields configured on category {category_id}.
        slots:
          category_id: path.category_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/categories/{category_id}/detail-fields'].put
  update:
    x-apievangelist-phrasing:
      intent: Set the detail fields of an investigation category
      effect: write
      questions:
      - How do I change which detail fields an investigation category uses?
      - Can I remove fields from a category by leaving them out of the list?
      instructions:
      - text: Set the detail fields of investigation category {category_id} to {field_ids}.
        slots:
          category_id: path.category_id
          field_ids: requestBody.field_ids
      - text: Replace the fields on category {category_id} with {field_ids}.
        slots:
          category_id: path.category_id
          field_ids: requestBody.field_ids
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/detail-fields'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a detail field for investigations
      effect: write
      questions:
      - How do I add a new custom field to incident investigations?
      - Can I create a detail field with its own attributes?
      instructions:
      - text: Create a detail field with attributes {attributes}.
        slots:
          attributes: requestBody.attributes
      - text: Add a new investigation field using {attributes}.
        slots:
          attributes: requestBody.attributes
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/detail-fields/{field_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Rename a detail field
      effect: write
      questions:
      - Can I rename an existing investigation detail field?
      - How do I change the name of a field used in investigations?
      instructions:
      - text: Rename detail field {field_id} to {name}.
        slots:
          field_id: path.field_id
          name: requestBody.name
      - text: Change the name of investigation field {field_id} to {name}.
        slots:
          field_id: path.field_id
          name: requestBody.name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/detail-fields/{field_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a detail field
      effect: destructive
      questions:
      - How do I remove a custom field from investigations?
      - Can I delete an investigation detail field I no longer need?
      instructions:
      - text: Delete detail field {field_id}.
        slots:
          field_id: path.field_id
      - text: Remove the investigation field {field_id}.
        slots:
          field_id: path.field_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/detail-fields/{field_id}/options'].put
  update:
    x-apievangelist-phrasing:
      intent: Set the options of a detail field
      effect: write
      questions:
      - How do I change the allowed values of a select field in an investigation?
      - Can I add or remove options on an investigation field?
      instructions:
      - text: Set the options of detail field {field_id} to {select_options}.
        slots:
          field_id: path.field_id
          select_options: requestBody.select_options
      - text: Replace the select options on investigation field {field_id} with {select_options}.
        slots:
          field_id: path.field_id
          select_options: requestBody.select_options
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/field-library'].get
  update:
    x-apievangelist-phrasing:
      intent: List the investigation detail field library
      effect: read
      questions:
      - What custom fields are available in the investigation field library?
      - Can I search the investigation field library by category or type?
      instructions:
      - text: List the investigation field library.
      - text: Search the investigation field library for {search}.
        slots:
          search: query.criteria.filter.search
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/fields'].get
  update:
    x-apievangelist-phrasing:
      intent: List investigation fields
      effect: read
      questions:
      - Which fields exist for a given investigation category?
      - Can I list the fields in a specific incident category?
      instructions:
      - text: List the investigation fields in category {category_id}.
        slots:
          category_id: query.category_id
      - text: Show the fields available for category {category_id}.
        slots:
          category_id: query.category_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/fields'].put
  update:
    x-apievangelist-phrasing:
      intent: Update investigation fields in a category
      effect: write
      questions:
      - How do I change the fields shown in a category?
      - Can I update the fields for an investigation category?
      instructions:
      - text: Update the fields in category {category_id} to {fields}.
        slots:
          category_id: requestBody.category_id
          fields: requestBody.fields
      - text: Replace the category {category_id} fields with {fields}.
        slots:
          category_id: requestBody.category_id
          fields: requestBody.fields
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations'].get
  update:
    x-apievangelist-phrasing:
      intent: List incident investigations
      effect: read
      questions:
      - How do I find incident investigations by title or status?
      - Can I list investigations created by a specific user?
      - What investigations are linked to a given inspection?
      instructions:
      - text: List investigations matching {search}.
        slots:
          search: query.search
      - text: Find investigations with status {status_ids}.
        slots:
          status_ids: query.filters.status_ids.values
      - text: List investigations created by {created_by}.
        slots:
          created_by: query.filters.created_by.values
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations'].put
  update:
    x-apievangelist-phrasing:
      intent: Update several investigations in bulk
      effect: write
      questions:
      - Can I change the status of many investigations at once?
      - Is there a bulk update for investigations?
      instructions:
      - text: Apply bulk operations {ops} to investigations.
        slots:
          ops: requestBody.ops
      - text: Bulk update investigations with {ops}.
        slots:
          ops: requestBody.ops
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an incident investigation
      effect: write
      questions:
      - How do I start a new investigation in a category?
      - Can I set the initial status of a new investigation?
      instructions:
      - text: Create an investigation titled {title} in category {category_id}.
        slots:
          title: requestBody.title
          category_id: requestBody.category_id
      - text: Start a new investigation in category {category_id} with initial status {initial_status_id}.
        slots:
          category_id: requestBody.category_id
          initial_status_id: requestBody.initial_status_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count incident investigations
      effect: read
      questions:
      - How many investigations are in my organisation?
      - Can I count investigations matching a status?
      instructions:
      - text: Count all investigations.
      - text: Count investigations with status {status_ids}.
        slots:
          status_ids: query.filters.status_ids.values
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an incident investigation
      effect: read
      questions:
      - How do I view one investigation by its ID?
      - Can I fetch an investigation by its sequence ID?
      instructions:
      - text: Get investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Fetch investigation {investigation_id} using sequence {sequence_id}.
        slots:
          investigation_id: path.investigation_id
          sequence_id: query.sequence_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an incident investigation
      effect: write
      questions:
      - How do I change the status of an investigation?
      - Can I update an investigation with a bulk operation?
      instructions:
      - text: Apply operation {operation} to investigation {investigation_id}.
        slots:
          operation: requestBody.operation
          investigation_id: path.investigation_id
      - text: Update investigation {investigation_id} with {operation}.
        slots:
          investigation_id: path.investigation_id
          operation: requestBody.operation
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an investigation
      effect: destructive
      questions:
      - How do I delete an investigation from an incident?
      - Can I remove an investigation record entirely?
      instructions:
      - text: Delete investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Remove the investigation record {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/access'].get
  update:
    x-apievangelist-phrasing:
      intent: Get who has access to an investigation
      effect: read
      questions:
      - Who has access to a particular investigation?
      - Can I check the access list for an investigation by its sequence ID?
      instructions:
      - text: Show the access list for investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Get who can access investigation {investigation_id} using sequence {sequence_id}.
        slots:
          investigation_id: path.investigation_id
          sequence_id: query.sequence_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/access'].put
  update:
    x-apievangelist-phrasing:
      intent: Change who has access to an investigation
      effect: write
      questions:
      - How do I grant or revoke access to an investigation?
      - Can I update the access list for an investigation with a set of operations?
      instructions:
      - text: Update access to investigation {investigation_id} with operations {operations}.
        slots:
          investigation_id: path.investigation_id
          operations: requestBody.operations
      - text: Revoke access to investigation {investigation_id} by applying {operations}.
        slots:
          investigation_id: path.investigation_id
          operations: requestBody.operations
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/actions'].get
  update:
    x-apievangelist-phrasing:
      intent: List actions taken in an investigation
      effect: read
      questions:
      - What actions have been recorded in an investigation?
      - Can I list an investigation's actions in direct-only mode?
      instructions:
      - text: List actions in investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Show {page_size} actions for investigation {investigation_id} in {list_mode} mode.
        slots:
          page_size: query.page_size
          investigation_id: path.investigation_id
          list_mode: query.list_mode
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/actions/count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count actions in an investigation
      effect: read
      questions:
      - How many actions are recorded in an investigation?
      - Can I count an investigation's actions matching a search string?
      instructions:
      - text: Count the actions in investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Count actions in investigation {investigation_id} matching {search}.
        slots:
          investigation_id: path.investigation_id
          search: query.search
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/courses'].get
  update:
    x-apievangelist-phrasing:
      intent: List courses linked to an investigation
      effect: read
      questions:
      - Which training courses are linked to an investigation?
      - Can I page through an investigation's linked courses?
      instructions:
      - text: List courses linked to investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Show {page_size} courses for investigation {investigation_id}.
        slots:
          page_size: query.page_size
          investigation_id: path.investigation_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/courses/count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count courses linked to an investigation
      effect: read
      questions:
      - How many courses are linked to an investigation?
      - Can I count only the courses linked to an investigation?
      instructions:
      - text: Count the courses linked to investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Tell me how many courses are linked to investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/inspections'].get
  update:
    x-apievangelist-phrasing:
      intent: List inspections linked to an investigation
      effect: read
      questions:
      - Which inspections are linked to an investigation?
      - Can I list an investigation's inspections in direct-only mode?
      instructions:
      - text: List inspections linked to investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Show {page_size} inspections for investigation {investigation_id} in {list_mode} mode.
        slots:
          page_size: query.page_size
          investigation_id: path.investigation_id
          list_mode: query.list_mode
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/inspections/count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count inspections linked to an investigation
      effect: read
      questions:
      - How many inspections are linked to an investigation?
      - Can I count an investigation's inspections matching a search string?
      instructions:
      - text: Count the inspections linked to investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Count inspections in investigation {investigation_id} matching {search}.
        slots:
          investigation_id: path.investigation_id
          search: query.search
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/issues'].get
  update:
    x-apievangelist-phrasing:
      intent: List issues found in an investigation
      effect: read
      questions:
      - What issues were found during an investigation?
      - Can I list an investigation's issues in direct-only mode?
      instructions:
      - text: List issues found in investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Show {page_size} issues for investigation {investigation_id} in {list_mode} mode.
        slots:
          page_size: query.page_size
          investigation_id: path.investigation_id
          list_mode: query.list_mode
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/issues/count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count issues found in an investigation
      effect: read
      questions:
      - How many issues were found in an investigation?
      - Can I count an investigation's issues matching a search string?
      instructions:
      - text: Count the issues found in investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Count issues in investigation {investigation_id} matching {search}.
        slots:
          investigation_id: path.investigation_id
          search: query.search
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/log'].get
  update:
    x-apievangelist-phrasing:
      intent: List activity on an investigation
      effect: read
      questions:
      - What has happened on an investigation over time?
      - Can I page through an investigation's activity log?
      instructions:
      - text: List the activity log for investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Show {page_size} log entries for investigation {investigation_id}.
        slots:
          page_size: query.page_size
          investigation_id: path.investigation_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/media'].get
  update:
    x-apievangelist-phrasing:
      intent: List media attached to an investigation
      effect: read
      questions:
      - What photos and videos are attached to an investigation?
      - Can I search an investigation's media by keyword?
      instructions:
      - text: List media attached to investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Show {page_size} media items for investigation {investigation_id} matching {search}.
        slots:
          page_size: query.page_size
          investigation_id: path.investigation_id
          search: query.search
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/media/count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count media attached to an investigation
      effect: read
      questions:
      - How many photos and videos are attached to an investigation?
      - Can I count an investigation's media matching a search string?
      instructions:
      - text: Count the media attached to investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Count media in investigation {investigation_id} matching {search}.
        slots:
          investigation_id: path.investigation_id
          search: query.search
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/investigations/{investigation_id}/pdf'].get
  update:
    x-apievangelist-phrasing:
      intent: Download an investigation's PDF report
      effect: read
      questions:
      - How do I download a PDF report of an investigation?
      - Can I get an investigation's report by its sequence ID?
      instructions:
      - text: Download the PDF report for investigation {investigation_id}.
        slots:
          investigation_id: path.investigation_id
      - text: Get the report for investigation {investigation_id} using sequence {sequence_id}.
        slots:
          investigation_id: path.investigation_id
          sequence_id: query.sequence_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/log'].get
  update:
    x-apievangelist-phrasing:
      intent: List settings change events
      effect: read
      questions:
      - What changes have been made to incident settings?
      - Can I page through the settings change log?
      instructions:
      - text: List settings log events.
      - text: Show {page_size} settings log entries.
        slots:
          page_size: query.page_size
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/statuses'].get
  update:
    x-apievangelist-phrasing:
      intent: List incident statuses
      effect: read
      questions:
      - What statuses can an incident have?
      - Which status values are available for incidents?
      instructions:
      - text: List the incident statuses.
      - text: Show every status an incident can be in.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/incidents/v1/statuses'].put
  update:
    x-apievangelist-phrasing:
      intent: Update incident statuses
      effect: write
      questions:
      - How do I change the statuses used for incidents?
      - Can I assign an existing status ID to all incidents?
      instructions:
      - text: Update the incident statuses to {statuses}.
        slots:
          statuses: requestBody.statuses
      - text: Assign status ID {status_id_to_assign} to existing incident statuses.
        slots:
          status_id_to_assign: requestBody.status_id_to_assign
      method: generated
      generated: '2026-11-23'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/safetyculture-investigations-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.