SafetyCulture Structures API

The Structures API from SafetyCulture — 11 operation(s) for structures.

GitHub OpenAPI

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /structures/v1/fields/list List structure fields · List fields #
Ask an LLM
“Which fields are defined for a structure type?”
“Can I filter the field definitions to one structure type?”
Tell an agent
List all field definitions in my organization.
List fields for structure type {type_id}.
POST /structures/v1/roles/{role_id}/members Assign users to a role · Add users to a role #
Ask an LLM
“How do I give a user a role on specific structures?”
“Can I assign several users to a role in one request?”
Tell an agent
Assign users {pairs} to role {role_id}.
Give each user in {pairs} role {role_id} on their structures.
POST /structures/v1/roles/{role_id}/members/list List users assigned to a role · List users by role #
Ask an LLM
“Who holds a given role across my structures?”
“Can I see each user's assigned structures per type?”
Tell an agent
List users assigned to role {role_id}.
Show the {count} users with role {role_id}, sorted {direction}.
POST /structures/v1/structures Create a structure · Create a structure #
Ask an LLM
“How do I add a new site or group to my hierarchy?”
“Can I set field values on a structure when I create it?”
Tell an agent
Create a {type_id} named {name}.
Create structure {name} of type {type_id} under {parent_id}.
POST /structures/v1/structures/search Search structures of one type · Search structures #
Ask an LLM
“How do I find sites or groups by name?”
“Can I search structures of a single type and page through results?”
Tell an agent
Search {type} structures for {params}.
Find structures of type {type} matching {params}.
GET /structures/v1/structures/{structure_id} Get a structure with its ancestors and fields · Get a structure #
Ask an LLM
“What are the ancestors and field values of a structure?”
“Which fields show on a structure's profile?”
Tell an agent
Get structure {structure_id} with its ancestors and field values.
Show the full profile of structure {structure_id}.
PUT /structures/v1/structures/{structure_id} Replace a structure's name and fields · Replace a structure #
Ask an LLM
“How do I rename a structure and clear fields I leave out?”
“Is it a full replacement when I update a structure?”
Tell an agent
Replace structure {structure_id} with name {name} and fields {fields}.
Clear the description of structure {structure_id}.
POST /structures/v1/structures/{structure_id}/members Add users as direct members of a structure · Add users to a structure #
Ask an LLM
“How do I add people directly to a structure?”
“Can I add up to 100 users to a structure at once?”
Tell an agent
Add users {user_ids} as direct members of structure {structure_id}.
Make {user_ids} direct members of structure {structure_id}.
POST /structures/v1/structures/{structure_id}/members/list List a structure's direct members · List members of a structure #
Ask an LLM
“Who are the direct members of a structure?”
“Can I filter a structure's direct members by role or name?”
Tell an agent
List the direct members of structure {structure_id}.
Show direct members of structure {structure_id} matching {filter}.
POST /structures/v1/structures/{structure_id}/members/remove Remove users from a structure · Remove users from a structure #
Ask an LLM
“How do I remove people from a structure?”
“Are inherited memberships removed when I remove direct members?”
Tell an agent
Remove users {user_ids} from structure {structure_id}.
Take {user_ids} off structure {structure_id}.
GET /structures/v1/structures/{structure_id}/metadata Get a structure's core metadata · Get structure metadata #
Ask an LLM
“What is the name, type and status of a structure?”
“Can I fetch only a structure's core metadata without its field values?”
Tell an agent
Get the core metadata of structure {structure_id}.
Show structure {structure_id} metadata fields {mask}.
POST /structures/v1/structures/{structure_id}/move Move a structure under a new parent · Move a structure #
Ask an LLM
“How do I move a structure to a different parent?”
“Does a moved structure keep its members and field values?”
Tell an agent
Move structure {structure_id} under parent {parent_id}.
Reparent structure {structure_id} to {parent_id}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/safetyculture:safetyculture-structures-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

safetyculture-structures-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mitti Structures API
  version: v1.349.8
  contact:
    name: Mitti Support
    url: https://help.mitti.com
    email: support@mitti.com
servers:
- url: https://api.mitti.com
security:
- BearerAuthentication: []
tags:


# --- truncated at 32 KB (117 KB total) ---
# Full source: https://artifacts.apis.io/safetyculture/openapi/safetyculture-structures-api-openapi.yml