Ramp · Arazzo Workflow

Ramp Audit Event Target Lookup

Version 1.0.0

List audit events and the user directory to resolve the actor behind each event.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub FinanceSpend ManagementCorporate CardsExpense ManagementAccounts PayableBill PayAccountingReimbursementArazzoWorkflows

Provider

ramp

Workflows

audit-event-target-lookup
List audit events and users so event actors can be resolved to people.
Lists audit events and then the user directory so each event's actor_user_id can be matched to a named user.
2 steps inputs: accessToken outputs: events, users
1
listAuditEvents
List the organization's audit events and capture each event's type, actor, target, and timestamp.
2
listUsers
List the organization's users so each audit event's actor_user_id can be resolved to a named user.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Ramp Audit Event Target Lookup
  summary: List audit events and the user directory to resolve the actor behind each event.
  description: >-
    Turns raw audit events into something a reviewer can read. The workflow
    lists audit events, then lists users so a caller can resolve each event's
    actor_user_id against the user directory and attribute the action to a
    named person. This is the supported read path for audit attribution, since
    the Ramp Developer API exposes no get-user by id. Every step spells out its
    request inline so the flow can be read and executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: auditLogsApi
  url: ../openapi/ramp-audit-logs-api-openapi.yml
  type: openapi
- name: usersApi
  url: ../openapi/ramp-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: audit-event-target-lookup
  summary: List audit events and users so event actors can be resolved to people.
  description: >-
    Lists audit events and then the user directory so each event's
    actor_user_id can be matched to a named user.
  inputs:
    type: object
    properties:
      accessToken:
        type: string
        description: OAuth2 client-credentials bearer token with audit:read and users:read scopes.
  steps:
  - stepId: listAuditEvents
    description: >-
      List the organization's audit events and capture each event's type,
      actor, target, and timestamp.
    operationId: listAuditEvents
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      events: $response.body#/data
  - stepId: listUsers
    description: >-
      List the organization's users so each audit event's actor_user_id can be
      resolved to a named user.
    operationId: listUsers
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      users: $response.body#/data
  outputs:
    events: $steps.listAuditEvents.outputs.events
    users: $steps.listUsers.outputs.users

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow 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 workflow
curl "https://apis.io/api/v1/arazzo/ramp-audit-event-target-lookup-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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