> ## Documentation Index
> Fetch the complete documentation index at: https://www.1password.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a list of API Requests that have been made.



## OpenAPI

````yaml /openapi/connect_server_api.yaml get /activity
openapi: 3.0.2
info:
  title: 1Password Connect
  description: REST API interface for 1Password Connect.
  version: 1.8.1
  contact:
    name: 1Password Integrations
    email: support@1password.com
    url: https://support.1password.com/
servers:
  - url: http://localhost:8080/v1
security: []
tags:
  - name: Items
    description: Access and manage items inside 1Password Vaults
  - name: Vaults
    description: Access 1Password Vaults
  - name: Activity
    description: Access API Request Activity
paths:
  /activity:
    get:
      tags:
        - Activity
      summary: Retrieve a list of API Requests that have been made.
      operationId: GetApiActivity
      parameters:
        - in: query
          name: limit
          schema:
            type: integer
            example: 10
            default: 50
          description: How many API Events should be retrieved in a single request.
        - in: query
          name: offset
          schema:
            type: integer
            example: 50
            default: 0
          description: How far into the collection of API Events should the response start
      responses:
        '200':
          description: OK
          headers:
            Content-Range:
              description: >-
                An decription of what part of the collection has been returned
                as well as the total size.
              schema:
                type: string
                example: 1-50/1134
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/APIRequest'
        '401':
          description: Invalid or missing token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                status: 401
                message: Invalid token signature
      security:
        - ConnectToken: []
components:
  schemas:
    APIRequest:
      description: >-
        Represents a request that was made to the API. Including what Token was
        used and what resource was accessed.
      type: object
      properties:
        requestId:
          description: The unique id used to identify a single request.
          type: string
          format: uuid
        timestamp:
          description: The time at which the request was processed by the server.
          type: string
          format: date-time
          readOnly: true
        action:
          type: string
          enum:
            - READ
            - CREATE
            - UPDATE
            - DELETE
        result:
          type: string
          enum:
            - SUCCESS
            - DENY
        actor:
          type: object
          properties:
            id:
              type: string
              format: uuid
            account:
              type: string
            jti:
              type: string
            userAgent:
              type: string
            requestIp:
              type: string
        resource:
          type: object
          properties:
            type:
              type: string
              enum:
                - ITEM
                - VAULT
            vault:
              type: object
              properties:
                id:
                  type: string
                  pattern: ^[\da-z]{26}$
            item:
              type: object
              properties:
                id:
                  type: string
                  pattern: ^[\da-z]{26}$
            itemVersion:
              type: integer
    ErrorResponse:
      type: object
      properties:
        status:
          type: integer
          description: HTTP Status Code
        message:
          type: string
          description: A message detailing the error
  securitySchemes:
    ConnectToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````