Postman auditLogs API

The auditLogs API from Postman — 2 operation(s) for auditlogs.

Operations 2

GET /audit/logs Get team audit logs #
GET /audit-actions Get all audit log event actions #

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/postman-auditlogs-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

postman-auditlogs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Postman Audit Logs API
  version: 1.0.0
servers:
- url: https://api.postman.com
  description: https://api.postman.com
- url: https://api.eu.postman.com
  description: https://api.eu.postman.com
tags:
- name: auditLogs
paths:
  /audit/logs:
    get:
      operationId: getAuditLogs
      summary: Get team audit logs
      description: Gets a list of your team's generated audit events. For a complete list of all audit events, see [Audit logs](https://learning.postman.com/docs/administration/audit-logs/).
      tags:
      - auditLogs
      parameters:
      - name: userId
        in: query
        description: Return only results that match the given user ID.
        required: false
        schema:
          $ref: '#/components/schemas/auditLogsUserIdQuery'
      - name: action
        in: query
        description: Filter results by an audit log action.
        required: false
        schema:
          $ref: '#/components/schemas/auditLogsActionQuery'
      - name: since
        in: query
        description: Return logs created after the given time, in `YYYY-MM-DD` format.
        required: false
        schema:
          $ref: '#/components/schemas/sinceDateQuery'
      - name: until
        in: query
        description: Return logs created before the given time, in `YYYY-MM-DD` format.
        required: false
        schema:
          $ref: '#/components/schemas/untilDateQuery'
      - name: limit
        in: query
        description: The maximum number of audit events to return at once.
        required: false
        schema:
          $ref: '#/components/schemas/auditLogsLimitQuery'
      - name: cursor
        in: query
        description: The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter.
        required: false
        schema:
          $ref: '#/components/schemas/cursor'
      - name: orderBy
        in: query
        description: Return the records in ascending (`asc`) or descending (`desc`) order.
        required: false
        schema:
          $ref: '#/components/schemas/ascDescDefaultDesc'
          default: desc
      - name: order_by
        in: query
        description: Return the records in ascending (`asc`) or descending (`desc`) order.
        required: false
        schema:
          $ref: '#/components/schemas/ascDescDefaultDesc'
          default: desc
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getAuditLogs'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/commonErrorNameMessage'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAuditLogsRequestUnauthorizedError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAuditLogsRequestInternalServerError'
  /audit-actions:
    get:
      operationId: getAuditLogEventActions
      summary: Get all audit log event actions
      description: Gets a complete list of all available audit log event actions.
      tags:
      - auditLogs
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getAuditLogEventActions'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/commonErrorNameMessage'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/commonErrorNameMessage'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAuditLogEventActionsRequestInternalServerError'
components:
  schemas:
    ascDescDefaultDesc:
      type: string
      enum:
      - asc
      - desc
      default: desc
      title: ascDescDefaultDesc
    GetAuditLogsRequestUnauthorizedError:
      oneOf:
      - $ref: '#/components/schemas/commonErrorTypeTitleDetailStatus'
      - $ref: '#/components/schemas/commonErrorNameMessage'
      title: GetAuditLogsRequestUnauthorizedError
    auditLogsActionQuery:
      type: string
      title: auditLogsActionQuery
    CommonErrorNameMessageError:
      type: object
      properties:
        name:
          type: string
          description: The error name.
        message:
          type: string
          description: The error message.
      description: Information about the error.
      title: CommonErrorNameMessageError
    commonErrorTypeTitleDetail:
      type: object
      properties:
        type:
          type: string
          description: The type of error.
        title:
          type: string
          description: A short summary of the problem.
        detail:
          $ref: '#/components/schemas/CommonErrorTypeTitleDetailDetail'
          description: Information about the error.
      title: commonErrorTypeTitleDetail
    auditLogUser:
      type: object
      properties:
        name:
          type: string
          description: The user's name.
        username:
          type: string
          description: The user's username.
        email:
          type: string
          format: email
          description: The user's email address.
        id:
          type: number
          format: double
          description: The user's ID.
      description: Information about the user.
      title: auditLogUser
    GetAuditLogsRequestInternalServerError:
      oneOf:
      - $ref: '#/components/schemas/commonErrorTypeTitleDetail'
      - $ref: '#/components/schemas/commonErrorTypeTitleDetailStatus'
      - $ref: '#/components/schemas/commonErrorNameMessage'
      title: GetAuditLogsRequestInternalServerError
    commonErrorTypeTitleDetailStatus:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/CommonErrorTypeTitleDetailStatusType'
        title:
          type: string
          description: A short summary of the problem.
        detail:
          type: string
          description: Information about the error.
        status:
          type: integer
          description: The error's HTTP status code.
      title: commonErrorTypeTitleDetailStatus
    auditLogAction:
      type: object
      properties:
        name:
          type: string
          description: The audit log event action's name.
        displayName:
          type: string
          description: The audit log event's display name as it appears in Postman's Audit Logs dashboard.
      description: Information about the audit log event action.
      title: auditLogAction
    CommonErrorTypeTitleDetailDetail:
      oneOf:
      - type: string
      - type: object
        additionalProperties:
          description: Any type
      description: Information about the error.
      title: CommonErrorTypeTitleDetailDetail
    GetAuditLogEventActionsRequestInternalServerError:
      oneOf:
      - $ref: '#/components/schemas/commonErrorTypeTitleDetail'
      - $ref: '#/components/schemas/commonErrorTypeTitleDetailStatus'
      - $ref: '#/components/schemas/commonErrorNameMessage'
      title: GetAuditLogEventActionsRequestInternalServerError
    auditLogsUserIdQuery:
      type: integer
      title: auditLogsUserIdQuery
    getAuditLogEventActions:
      type: array
      items:
        $ref: '#/components/schemas/auditLogAction'
      description: A list of available audit log event actions.
      title: getAuditLogEventActions
    auditLogsLimitQuery:
      type: integer
      title: auditLogsLimitQuery
    cursor:
      type: string
      title: cursor
    auditLogData:
      type: object
      properties:
        actor:
          $ref: '#/components/schemas/auditLogActor'
        user:
          $ref: '#/components/schemas/auditLogUser'
        team:
          $ref: '#/components/schemas/auditLogTeam'
        variables:
          type: object
          additionalProperties:
            description: Any type
          description: Additional information about the performed action.
      description: Information about the audit log.
      title: auditLogData
    commonErrorNameMessage:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/CommonErrorNameMessageError'
          description: Information about the error.
      title: commonErrorNameMessage
    untilDateQuery:
      type: string
      format: date
      title: untilDateQuery
    auditLogEvent:
      type: object
      properties:
        id:
          type: number
          format: double
          description: The audit event's ID.
        ip:
          type: string
          description: The IP address of the user that performed the action.
        userAgent:
          type: string
          description: The user agent information.
        action:
          type: string
          description: The action performed by the user.
        timestamp:
          type: string
          format: date-time
          description: The date and time at which the event occurred.
        message:
          type: string
          description: The audit event's description.
        data:
          $ref: '#/components/schemas/auditLogData'
      description: Information about the audit log event.
      title: auditLogEvent
    CommonErrorTypeTitleDetailStatusType:
      oneOf:
      - type: string
        format: uri-reference
      - type: string
      title: CommonErrorTypeTitleDetailStatusType
    getAuditLogs:
      type: object
      properties:
        trails:
          type: array
          items:
            $ref: '#/components/schemas/auditLogEvent'
          description: A list of audit log events.
      title: getAuditLogs
    auditLogActor:
      type: object
      properties:
        name:
          type: string
          description: The user's name.
        username:
          type: string
          description: The user's username.
        email:
          type: string
          format: email
          description: The user's email address.
        id:
          type: number
          format: double
          description: The user's ID.
        active:
          type: boolean
          description: If true, the user is active. If false, the user is deactivated.
      description: Information about the user who preformed the audit event.
      title: auditLogActor
    auditLogTeam:
      type: object
      properties:
        name:
          type: string
          description: The team's name.
        id:
          type: number
          format: double
          description: The team's ID.
      description: The user's team information.
      title: auditLogTeam
    sinceDateQuery:
      type: string
      format: date
      title: sinceDateQuery
  securitySchemes:
    PostmanApiKey:
      type: apiKey
      in: header
      name: x-api-key
    basicAuth:
      type: http
      scheme: basic
    scimApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: A valid [SCIM API key](https://learning.postman.com/docs/administration/scim-provisioning/scim-provisioning-overview/#generating-scim-api-key) for calls to SCIM endpoints.
x-provenance:
  first_party: true
  method: harvested
  provider_published: true
  source: https://learning.postman.com/api-docs/openapi.json
  harvested: '2026-08-05'
  note: Postman's own OpenAPI 3.1 definition for the Postman API, served by its Fern-hosted API reference. 162 paths, 256 operations, servers api.postman.com and api.eu.postman.com.