Basis Theory Logs API

List audit logs of platform activity.

Operations 2

GET /logs Logs get #
GET /logs/entity-types Logs get entity types #

Documentation

Specifications

Other Resources

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/basis-theory:basis-theory-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

basis-theory-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Basis Theory Logs API
  description: '## Getting Started

    * Sign-in to Basis Theory and go to Applications

    * Create a Basis Theory Private Application

    * All permissions should be selected

    * Paste the API Key into the `BT-API-KEY` variable'
  version: v1
servers:
- url: https://api.basistheory.com
  description: Default
  x-fern-server-name: default
- url: https://api.us.basistheory.com
  description: US
  x-fern-server-name: us
- url: https://api.eu.basistheory.com
  description: EU
  x-fern-server-name: eu
- url: https://api.test.basistheory.com
  description: Test
  x-fern-server-name: test
security:
- ApiKey: []
tags:
- name: Logs
paths:
  /logs:
    get:
      tags:
      - Logs
      operationId: Logs_Get
      parameters:
      - name: entity_type
        in: query
        schema:
          maxLength: 50
          pattern: ^[A-z]+$
          type:
          - string
          - 'null'
      - name: entity_id
        in: query
        schema:
          maxLength: 200
          pattern: ^.+$
          type:
          - string
          - 'null'
      - name: start_date
        in: query
        schema:
          maxLength: 40
          type:
          - string
          - 'null'
          format: date-time
      - name: end_date
        in: query
        schema:
          maxLength: 40
          type:
          - string
          - 'null'
          format: date-time
      - name: page
        in: query
        schema:
          type:
          - integer
          - 'null'
          format: int32
      - name: start
        in: query
        schema:
          maxLength: 500
          pattern: ^.+$
          type:
          - string
          - 'null'
      - name: size
        in: query
        schema:
          maximum: 5000
          minimum: 0
          type:
          - integer
          - 'null'
          format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogPaginatedList'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      x-fern-sdk-group-name:
      - logs
      x-fern-sdk-method-name: list
      x-fern-pagination: true
      summary: Logs get
      x-summary-source: derived
  /logs/entity-types:
    get:
      tags:
      - Logs
      operationId: Logs_GetEntityTypes
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LogEntityType'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      x-fern-sdk-group-name:
      - logs
      x-fern-sdk-method-name: get_entity_types
      summary: Logs get entity types
      x-summary-source: derived
components:
  schemas:
    ValidationProblemDetails:
      type: object
      properties:
        errors:
          type:
          - object
          - 'null'
          additionalProperties:
            type: array
            items:
              type: string
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
      additionalProperties: {}
    LogPaginatedList:
      type: object
      properties:
        pagination:
          $ref: '#/components/schemas/Pagination'
        data:
          maxItems: 5000
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Log'
      additionalProperties: false
    Log:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        tenant_id:
          maxLength: 36
          pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
          type: string
          format: uuid
        actor_id:
          maxLength: 36
          pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
          type:
          - string
          - 'null'
          format: uuid
        actor_type:
          maxLength: 50
          pattern: ^[A-z]+$
          type:
          - string
          - 'null'
        entity_type:
          maxLength: 50
          pattern: ^[A-z]+$
          type:
          - string
          - 'null'
        entity_id:
          maxLength: 200
          pattern: ^.+$
          type:
          - string
          - 'null'
        operation:
          maxLength: 50
          pattern: ^[A-z]+$
          type:
          - string
          - 'null'
        message:
          maxLength: 250
          pattern: ^.+$
          type:
          - string
          - 'null'
        created_at:
          maxLength: 40
          type:
          - string
          - 'null'
          format: date-time
      additionalProperties: false
    Pagination:
      type: object
      properties:
        total_items:
          type:
          - integer
          - 'null'
          format: int32
        page_number:
          type:
          - integer
          - 'null'
          format: int32
        page_size:
          type:
          - integer
          - 'null'
          format: int32
        total_pages:
          type:
          - integer
          - 'null'
          format: int32
        after:
          type:
          - string
          - 'null'
          deprecated: true
        next:
          type:
          - string
          - 'null'
      additionalProperties: false
    LogEntityType:
      type: object
      properties:
        display_name:
          maxLength: 50
          pattern: ^[A-z]+$
          type:
          - string
          - 'null'
        value:
          maxLength: 50
          pattern: ^[A-z]+$
          type:
          - string
          - 'null'
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
      additionalProperties: {}
  securitySchemes:
    ApiKey:
      type: apiKey
      description: Authorization by API Key inside request's BT-API-KEY header
      name: BT-API-KEY
      in: header
x-provenance:
  method: harvested
  publisher: Basis Theory
  source: https://api.basistheory.com/swagger/v1/swagger.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)