Contraforce · Schema

ExportAuditResponse

Response envelope for the workspace audit-export endpoint.

SecuritySoftware-as-a-ServiceCybersecurityMicrosoftMSP

Properties

Name Type Description
value nullarray The audit events in this page.
nextPageToken nullstring URL-safe token for the next page, or `null` when this is the last page.
View JSON Schema on GitHub

JSON Schema

contraforce-export-audit-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/contraforce/json-schema/contraforce-export-audit-response-schema.json",
  "title": "ExportAuditResponse",
  "description": "Response envelope for the workspace audit-export endpoint.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/contraforce-export-api-openapi.yml#/components/schemas/ExportAuditResponse",
  "required": [
    "value"
  ],
  "type": "object",
  "properties": {
    "value": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "description": "One workspace audit event in the machine-export shape.",
        "$ref": "#/$defs/ExportedAuditEventDto"
      },
      "description": "The audit events in this page."
    },
    "nextPageToken": {
      "type": [
        "null",
        "string"
      ],
      "description": "URL-safe token for the next page, or `null` when this is the last page."
    }
  },
  "$defs": {
    "ExportedAuditEventDto": {
      "required": [
        "id",
        "timeGenerated",
        "workspaceId",
        "discriminator",
        "activityType",
        "activityAction",
        "actorId",
        "targetResourceType",
        "targetResourceId"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The audit entry's unique id.",
          "format": "uuid"
        },
        "timeGenerated": {
          "type": "string",
          "description": "When the audited activity happened (UTC).",
          "format": "date-time"
        },
        "workspaceId": {
          "type": "string",
          "description": "The ContraForce workspace the event belongs to.",
          "format": "uuid"
        },
        "activityType": {
          "type": [
            "null",
            "string"
          ],
          "description": "The activity type name, e.g. `WorkspaceRoleChanged`."
        },
        "activityAction": {
          "type": [
            "null",
            "string"
          ],
          "description": "The activity action name, e.g. `Update`."
        },
        "actorId": {
          "type": "string",
          "description": "The id of the user or agent that performed the activity.",
          "format": "uuid"
        },
        "actorName": {
          "type": [
            "null",
            "string"
          ],
          "description": "The display name of the actor, when recorded."
        },
        "actorEmail": {
          "type": [
            "null",
            "string"
          ],
          "description": "The email of the actor, when recorded."
        },
        "targetResourceType": {
          "type": [
            "null",
            "string"
          ],
          "description": "The type of the resource the activity targeted, e.g. `Incident` or `User`."
        },
        "targetResourceId": {
          "type": [
            "null",
            "string"
          ],
          "description": "The id of the resource the activity targeted."
        },
        "targetResourceName": {
          "type": [
            "null",
            "string"
          ],
          "description": "The human-readable name of the target resource, when recorded."
        },
        "metadata": {
          "type": [
            "null",
            "string"
          ],
          "description": "The entry's activity-specific metadata serialized as a JSON string (including its\n`$type` discriminator), or `null` when the entry carries none."
        }
      },
      "description": "One workspace audit event in the machine-export shape."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/contraforce-export-audit-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.

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