SafetyCulture · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mitti Structures API

13 actions 13 updates phrasing extends openapi/safetyculture-structures-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 13

$.info
$.paths['/structures/v1/fields/list'].post
$.paths['/structures/v1/roles/{role_id}/members'].post
$.paths['/structures/v1/roles/{role_id}/members/list'].post
$.paths['/structures/v1/structures'].post
$.paths['/structures/v1/structures/search'].post
$.paths['/structures/v1/structures/{structure_id}'].get
$.paths['/structures/v1/structures/{structure_id}'].put
$.paths['/structures/v1/structures/{structure_id}/members'].post
$.paths['/structures/v1/structures/{structure_id}/members/list'].post
$.paths['/structures/v1/structures/{structure_id}/members/remove'].post
$.paths['/structures/v1/structures/{structure_id}/metadata'].get
$.paths['/structures/v1/structures/{structure_id}/move'].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 Mitti Structures API
  version: 1.0.0
extends: openapi/safetyculture-structures-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: 12
- target: $.paths['/structures/v1/fields/list'].post
  update:
    x-apievangelist-phrasing:
      intent: List structure fields
      effect: read
      questions:
      - Which fields are defined for a structure type?
      - Can I filter the field definitions to one structure type?
      instructions:
      - text: List all field definitions in my organization.
      - text: List fields for structure type {type_id}.
        slots:
          type_id: requestBody.filter
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/roles/{role_id}/members'].post
  update:
    x-apievangelist-phrasing:
      intent: Assign users to a role
      effect: write
      questions:
      - How do I give a user a role on specific structures?
      - Can I assign several users to a role in one request?
      instructions:
      - text: Assign users {pairs} to role {role_id}.
        slots:
          pairs: requestBody.user_structure_pairs
          role_id: path.role_id
      - text: Give each user in {pairs} role {role_id} on their structures.
        slots:
          pairs: requestBody.user_structure_pairs
          role_id: path.role_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/roles/{role_id}/members/list'].post
  update:
    x-apievangelist-phrasing:
      intent: List users assigned to a role
      effect: read
      questions:
      - Who holds a given role across my structures?
      - Can I see each user's assigned structures per type?
      instructions:
      - text: List users assigned to role {role_id}.
        slots:
          role_id: path.role_id
      - text: Show the {count} users with role {role_id}, sorted {direction}.
        slots:
          count: requestBody.page_size
          role_id: path.role_id
          direction: requestBody.sort_direction
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/structures'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a structure
      effect: write
      questions:
      - How do I add a new site or group to my hierarchy?
      - Can I set field values on a structure when I create it?
      instructions:
      - text: Create a {type_id} named {name}.
        slots:
          type_id: requestBody.structure_type_id
          name: requestBody.name
      - text: Create structure {name} of type {type_id} under {parent_id}.
        slots:
          name: requestBody.name
          type_id: requestBody.structure_type_id
          parent_id: requestBody.parent_structure_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/structures/search'].post
  update:
    x-apievangelist-phrasing:
      intent: Search structures of one type
      effect: read
      questions:
      - How do I find sites or groups by name?
      - Can I search structures of a single type and page through results?
      instructions:
      - text: Search {type} structures for {params}.
        slots:
          type: requestBody.structure_type
          params: requestBody.params
      - text: Find structures of type {type} matching {params}.
        slots:
          type: requestBody.structure_type
          params: requestBody.params
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/structures/{structure_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a structure with its ancestors and fields
      effect: read
      questions:
      - What are the ancestors and field values of a structure?
      - Which fields show on a structure's profile?
      instructions:
      - text: Get structure {structure_id} with its ancestors and field values.
        slots:
          structure_id: path.structure_id
      - text: Show the full profile of structure {structure_id}.
        slots:
          structure_id: path.structure_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/structures/{structure_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a structure's name and fields
      effect: write
      questions:
      - How do I rename a structure and clear fields I leave out?
      - Is it a full replacement when I update a structure?
      instructions:
      - text: Replace structure {structure_id} with name {name} and fields {fields}.
        slots:
          structure_id: path.structure_id
          name: requestBody.name
          fields: requestBody.fields
      - text: Clear the description of structure {structure_id}.
        slots:
          structure_id: path.structure_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/structures/{structure_id}/members'].post
  update:
    x-apievangelist-phrasing:
      intent: Add users as direct members of a structure
      effect: write
      questions:
      - How do I add people directly to a structure?
      - Can I add up to 100 users to a structure at once?
      instructions:
      - text: Add users {user_ids} as direct members of structure {structure_id}.
        slots:
          user_ids: requestBody.user_ids
          structure_id: path.structure_id
      - text: Make {user_ids} direct members of structure {structure_id}.
        slots:
          user_ids: requestBody.user_ids
          structure_id: path.structure_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/structures/{structure_id}/members/list'].post
  update:
    x-apievangelist-phrasing:
      intent: List a structure's direct members
      effect: read
      questions:
      - Who are the direct members of a structure?
      - Can I filter a structure's direct members by role or name?
      instructions:
      - text: List the direct members of structure {structure_id}.
        slots:
          structure_id: path.structure_id
      - text: Show direct members of structure {structure_id} matching {filter}.
        slots:
          structure_id: path.structure_id
          filter: requestBody.filter
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/structures/{structure_id}/members/remove'].post
  update:
    x-apievangelist-phrasing:
      intent: Remove users from a structure
      effect: write
      questions:
      - How do I remove people from a structure?
      - Are inherited memberships removed when I remove direct members?
      instructions:
      - text: Remove users {user_ids} from structure {structure_id}.
        slots:
          user_ids: requestBody.user_ids
          structure_id: path.structure_id
      - text: Take {user_ids} off structure {structure_id}.
        slots:
          user_ids: requestBody.user_ids
          structure_id: path.structure_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/structures/{structure_id}/metadata'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a structure's core metadata
      effect: read
      questions:
      - What is the name, type and status of a structure?
      - Can I fetch only a structure's core metadata without its field values?
      instructions:
      - text: Get the core metadata of structure {structure_id}.
        slots:
          structure_id: path.structure_id
      - text: Show structure {structure_id} metadata fields {mask}.
        slots:
          structure_id: path.structure_id
          mask: query.field_mask
      method: generated
      generated: '2026-11-23'
- target: $.paths['/structures/v1/structures/{structure_id}/move'].post
  update:
    x-apievangelist-phrasing:
      intent: Move a structure under a new parent
      effect: write
      questions:
      - How do I move a structure to a different parent?
      - Does a moved structure keep its members and field values?
      instructions:
      - text: Move structure {structure_id} under parent {parent_id}.
        slots:
          structure_id: path.structure_id
          parent_id: requestBody.new_parent_id
      - text: Reparent structure {structure_id} to {parent_id}.
        slots:
          structure_id: path.structure_id
          parent_id: requestBody.new_parent_id
      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-structures-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.