Appwrite Activities API

The Activities service allows you to list and inspect project activity events. 2 operations across 2 paths in the Appwrite 2.0.0 OpenAPI.

Operations 2

GET /activities/events List events #
GET /activities/events/{eventId} Get event #

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/appwrite-activities-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

appwrite-activities-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Appwrite Activities API
  description: Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
  version: 2.0.0
  termsOfService: https://appwrite.io/policy/terms
  contact:
    name: Appwrite Team
    url: https://appwrite.io/support
    email: team@appwrite.io
  license:
    name: BSD-3-Clause
    url: https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE
servers:
- url: https://cloud.appwrite.io/v1
  description: Appwrite Cloud endpoint.
- url: https://{region}.cloud.appwrite.io/v1
  description: Appwrite Cloud regional endpoint. Replace `{region}` with your project region.
  variables:
    region:
      default: fra
      description: Appwrite Cloud region.
tags:
- name: activities
  description: The Activities service allows you to list and inspect project activity events.
paths:
  /activities/events:
    get:
      summary: List events
      operationId: activitiesListEvents
      tags:
      - activities
      description: List all events for selected filters.
      responses:
        '200':
          description: Activity event list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/activityEventList'
      deprecated: false
      x-appwrite:
        group: null
        demo: activities/list-events.md
        rate-limit: 0
        rate-time: 3600
        rate-key: url:{url},ip:{ip}
        scope: events.read
        platforms:
        - console
        - server
        packaging: false
        public: true
        auth:
          console:
            Project: []
          server:
            Project: []
            Key: []
      security:
      - Project: []
        Key: []
      parameters:
      - name: queries
        description: Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/databases#querying-documents). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on attributes such as userId, teamId, etc.
        required: false
        schema:
          type: array
          items:
            type: string
          default: []
        in: query
  /activities/events/{eventId}:
    get:
      summary: Get event
      operationId: activitiesGetEvent
      tags:
      - activities
      description: 'Get event by ID.

        '
      responses:
        '200':
          description: ActivityEvent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/activityEvent'
      deprecated: false
      x-appwrite:
        group: events
        demo: activities/get-event.md
        rate-limit: 0
        rate-time: 3600
        rate-key: url:{url},ip:{ip}
        scope: events.read
        platforms:
        - console
        - server
        packaging: false
        public: true
        auth:
          console:
            Project: []
          server:
            Project: []
            Key: []
      security:
      - Project: []
        Key: []
      parameters:
      - name: eventId
        description: Event ID.
        required: true
        schema:
          type: string
          example: <EVENT_ID>
        in: path
components:
  schemas:
    activityEvent:
      description: ActivityEvent
      type: object
      properties:
        $id:
          type: string
          description: Event ID.
          example: 5e5ea5c16897e
        actorType:
          type: string
          description: Actor type.
          example: user
        actorId:
          type: string
          description: Actor ID.
          example: 610fc2f985ee0
        actorEmail:
          type: string
          description: Actor Email.
          example: john@appwrite.io
        actorName:
          type: string
          description: Actor Name.
          example: John Doe
        resourceParent:
          type: string
          description: Resource parent.
          example: database/ID
        resourceType:
          type: string
          description: Resource type.
          example: collection
        resourceId:
          type: string
          description: Resource ID.
          example: 610fc2f985ee0
        resource:
          type: string
          description: Resource.
          example: collections/610fc2f985ee0
        event:
          type: string
          description: Event name.
          example: account.sessions.create
        userAgent:
          type: string
          description: User agent.
          example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
        ip:
          type: string
          description: IP address.
          example: 127.0.0.1
        mode:
          type: string
          description: API mode when event triggered.
          example: admin
        country:
          type: string
          description: Location.
          example: US
        continentCode:
          type: string
          description: Continent code.
          example: NA
        city:
          type: string
          description: City name.
          example: Mountain View
        subdivisions:
          type: string
          description: Region/state chain.
          example: California
        isp:
          type: string
          description: Internet service provider.
          example: Google
        autonomousSystemNumber:
          type: string
          description: Autonomous System Number (ASN).
          example: '15169'
        autonomousSystemOrganization:
          type: string
          description: Organization that owns the ASN.
          example: GOOGLE
        connectionType:
          type: string
          description: Connection type (e.g. cable, cellular, corporate).
          example: cable
        connectionUsageType:
          type: string
          description: User type (e.g. residential, business, hosting).
          example: residential
        connectionOrganization:
          type: string
          description: Registered organization of the IP.
          example: Google LLC
        time:
          type: string
          description: Log creation date in ISO 8601 format.
          example: '2020-10-15T06:38:00.000+00:00'
        projectId:
          type: string
          description: Project ID.
          example: 610fc2f985ee0
        teamId:
          type: string
          description: Team ID.
          example: 610fc2f985ee0
        hostname:
          type: string
          description: Hostname.
          example: appwrite.io
        sdk:
          type: string
          description: Name of the SDK that triggered the event.
          example: web
        sdkVersion:
          type: string
          description: Version of the SDK that triggered the event.
          example: 14.0.0
      required:
      - $id
      - actorType
      - actorId
      - actorEmail
      - actorName
      - resourceParent
      - resourceType
      - resourceId
      - resource
      - event
      - userAgent
      - ip
      - mode
      - country
      - continentCode
      - city
      - subdivisions
      - isp
      - autonomousSystemNumber
      - autonomousSystemOrganization
      - connectionType
      - connectionUsageType
      - connectionOrganization
      - time
      - projectId
      - teamId
      - hostname
      - sdk
      - sdkVersion
      example:
        $id: 5e5ea5c16897e
        actorType: user
        actorId: 610fc2f985ee0
        actorEmail: john@appwrite.io
        actorName: John Doe
        resourceParent: database/ID
        resourceType: collection
        resourceId: 610fc2f985ee0
        resource: collections/610fc2f985ee0
        event: account.sessions.create
        userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
        ip: 127.0.0.1
        mode: admin
        country: US
        continentCode: NA
        city: Mountain View
        subdivisions: California
        isp: Google
        autonomousSystemNumber: '15169'
        autonomousSystemOrganization: GOOGLE
        connectionType: cable
        connectionUsageType: residential
        connectionOrganization: Google LLC
        time: '2020-10-15T06:38:00.000+00:00'
        projectId: 610fc2f985ee0
        teamId: 610fc2f985ee0
        hostname: appwrite.io
        sdk: web
        sdkVersion: 14.0.0
    activityEventList:
      description: Activity event list
      type: object
      properties:
        total:
          type: integer
          description: Total number of events that matched your query.
          format: int32
          example: 5
        events:
          type: array
          description: List of events.
          items:
            $ref: '#/components/schemas/activityEvent'
          example: []
      required:
      - total
      - events
      example:
        total: 5
        events: ''
  securitySchemes:
    Key:
      type: apiKey
      name: X-Appwrite-Key
      description: Your secret API key
      in: header
      x-appwrite:
        platforms:
        - server
        - console
        - manager
        demo: <YOUR_API_KEY>
    Project:
      type: apiKey
      name: X-Appwrite-Project
      description: Your project ID
      in: header
      x-appwrite:
        platforms:
        - client
        - server
        - console
        demo: <YOUR_PROJECT_ID>
externalDocs:
  description: Full API docs, specs and tutorials
  url: https://appwrite.io/docs