Datafold Audit Logs API

The Audit Logs API from Datafold — 1 operation(s) for audit logs.

Operations 1

GET /api/v1/audit_logs Get Audit Logs #

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/datafold-audit-logs-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

datafold-audit-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@datafold.com
    name: API Support
  description: "The Datafold API reference is a guide to our available endpoints and authentication methods.\nIf you're just getting started with Datafold, we recommend first checking out our [documentation](https://docs.datafold.com).\n\n:::info\n  To use the Datafold API, you should first create a Datafold API Key,\n  which should be stored as a local environment variable named DATAFOLD_API_KEY.\n  This can be set in your Datafold Cloud's Settings under the Account page.\n:::"
  title: Datafold Audit Logs API
  version: latest
servers:
- description: Default server
  url: https://app.datafold.com
security:
- ApiKeyAuth: []
tags:
- name: Audit Logs
paths:
  /api/v1/audit_logs:
    get:
      operationId: get_audit_logs_api_v1_audit_logs_get
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/ApiDownloadAuditLogs'
              - type: 'null'
              title: Data
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiGetAuditLogs'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Get Audit Logs
      tags:
      - Audit Logs
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    AuditLogs:
      properties:
        action:
          anyOf:
          - type: string
          - type: 'null'
          title: Action
        client_ip:
          title: Client Ip
          type: string
        event_uuid:
          title: Event Uuid
          type: string
        is_support_user:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Support User
        log_entry:
          anyOf:
          - type: string
          - type: 'null'
          title: Log Entry
        object_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Object Id
        object_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Object Type
        payload:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Payload
        referer:
          anyOf:
          - type: string
          - type: 'null'
          title: Referer
        request_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Request Type
        source:
          anyOf:
          - type: string
          - type: 'null'
          title: Source
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        timestamp:
          title: Timestamp
          type: string
        url:
          title: Url
          type: string
        user_agent:
          anyOf:
          - type: string
          - type: 'null'
          title: User Agent
        user_email:
          anyOf:
          - type: string
          - type: 'null'
          title: User Email
        user_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: User Id
      required:
      - timestamp
      - event_uuid
      - client_ip
      - url
      title: AuditLogs
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
      - loc
      - msg
      - type
      title: ValidationError
      type: object
    ApiDownloadAuditLogs:
      properties:
        end_date:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          title: End Date
        start_date:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          title: Start Date
      title: ApiDownloadAuditLogs
      type: object
    ApiGetAuditLogs:
      properties:
        logs:
          items:
            $ref: '#/components/schemas/AuditLogs'
          title: Logs
          type: array
      required:
      - logs
      title: ApiGetAuditLogs
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: Use the 'Authorization' header with the format 'Key <api-key>'
      in: header
      name: Authorization
      type: apiKey