TrustArc · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Guardian Accounts Organizational Structure API

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

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/api/v1/accounts/{id}/organizational-structure'].put
$.paths['/api/v1/accounts/{accountId}/organizational-structure'].get
$.paths['/api/v1/accounts/{accountId}/organizational-structure/root'].get
$.paths['/api/v1/accounts/{accountId}/organizational-structure/hierarchy/group/{externalGroupId}'].get
$.paths['/api/v1/accounts/{accountId}/organizational-structure/group/{externalGroupId}'].get
$.paths['/api/v1/accounts/{accountId}/organizational-structure/group/{externalGroupId}/children'].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 Guardian Accounts Organizational Structure API
  version: 1.0.0
extends: openapi/trustarc-accounts-organizationalstructure-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/api/v1/accounts/{id}/organizational-structure'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an account's organizational structure
      effect: write
      questions:
      - How do I set the root of an account's org structure?
      - Can I update an account's organizational hierarchy?
      instructions:
      - text: Update the organizational structure of account {id} with root {root}.
        slots:
          id: path.id
          root: requestBody.root
      - text: Set account {id}'s org structure to {root} at {timestamp}.
        slots:
          id: path.id
          root: requestBody.root
          timestamp: requestBody.timestamp
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/accounts/{accountId}/organizational-structure'].get
  update:
    x-apievangelist-phrasing:
      intent: Read an account's organizational structure
      effect: read
      questions:
      - What does an account's org structure look like?
      - Can I read an account's organizational hierarchy at a point in time?
      instructions:
      - text: Read the organizational structure of account {accountId}.
        slots:
          accountId: path.accountId
      - text: Show account {accountId}'s org structure as of {at}.
        slots:
          accountId: path.accountId
          at: query.at
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/accounts/{accountId}/organizational-structure/root'].get
  update:
    x-apievangelist-phrasing:
      intent: Find the root of an account's org structure
      effect: read
      questions:
      - Which node is the root of an account's organizational hierarchy?
      - Can I get the top-level org node for an account?
      instructions:
      - text: Find the root of account {accountId}'s organizational structure.
        slots:
          accountId: path.accountId
      - text: Get the top-level org node of account {accountId} as of {at}.
        slots:
          accountId: path.accountId
          at: query.at
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/accounts/{accountId}/organizational-structure/hierarchy/group/{externalGroupId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Find the parent hierarchy of an org group
      effect: read
      questions:
      - How do I walk up the organizational tree from a group?
      - Can I get the parent nodes of an org group?
      instructions:
      - text: Find the parent hierarchy of org group {externalGroupId} in account {accountId}.
        slots:
          externalGroupId: path.externalGroupId
          accountId: path.accountId
      - text: Walk up from group {externalGroupId} in account {accountId} to the root.
        slots:
          externalGroupId: path.externalGroupId
          accountId: path.accountId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/accounts/{accountId}/organizational-structure/group/{externalGroupId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one organizational group
      effect: read
      questions:
      - What are the details of a single org group?
      - Can I fetch one organizational group by its external ID?
      instructions:
      - text: Retrieve org group {externalGroupId} in account {accountId}.
        slots:
          externalGroupId: path.externalGroupId
          accountId: path.accountId
      - text: Show organizational group {externalGroupId} as of {at}.
        slots:
          externalGroupId: path.externalGroupId
          at: query.at
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/v1/accounts/{accountId}/organizational-structure/group/{externalGroupId}/children'].get
  update:
    x-apievangelist-phrasing:
      intent: List the children of an org group
      effect: read
      questions:
      - Which groups sit under a given org group?
      - Can I page through a group's child nodes?
      instructions:
      - text: List the children of org group {externalGroupId} in account {accountId}.
        slots:
          externalGroupId: path.externalGroupId
          accountId: path.accountId
      - text: Show {pageSize} child groups of {externalGroupId} under account {accountId}, page {page}.
        slots:
          pageSize: query.pageSize
          externalGroupId: path.externalGroupId
          accountId: path.accountId
          page: query.page
      method: generated
      generated: '2026-11-22'

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/trustarc-accounts-organizationalstructure-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.