Maia-analytics project-lock API

The project-lock API from Maia-analytics — 2 operation(s) for project-lock.

Operations 4

GET /api/v1/project/{project_id}/lock Get Lock Status #
POST /api/v1/project/{project_id}/lock Acquire Lock #
DELETE /api/v1/project/{project_id}/lock Release Lock #
POST /api/v1/project/{project_id}/lock/heartbeat Lock Heartbeat #

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/maia-analytics-project-lock-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

maia-analytics-project-lock-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MAIA Ah Project Lock API
  description: API for MAIA application (migrated from Firebase)
  version: 0.1.0
servers:
- url: https://api.maia-analytics.com
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: project-lock
paths:
  /api/v1/project/{project_id}/lock:
    get:
      tags:
      - project-lock
      summary: Get Lock Status
      description: Get current lock status (who holds it, if anyone). Read access only.
      operationId: get_lock_status_api_v1_project__project_id__lock_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectLockStatus'
      security:
      - FirebaseAuthMiddleware: []
    post:
      tags:
      - project-lock
      summary: Acquire Lock
      description: Acquire the project editing lock. Refreshes TTL if already held by caller.
      operationId: acquire_lock_api_v1_project__project_id__lock_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectLockStatus'
      security:
      - FirebaseAuthMiddleware: []
    delete:
      tags:
      - project-lock
      summary: Release Lock
      description: Release the project editing lock. Only the holder can release.
      operationId: release_lock_api_v1_project__project_id__lock_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  type: boolean
                type: object
                title: Response Release Lock Api V1 Project  Project Id  Lock Delete
      security:
      - FirebaseAuthMiddleware: []
  /api/v1/project/{project_id}/lock/heartbeat:
    post:
      tags:
      - project-lock
      summary: Lock Heartbeat
      description: Refresh the lock TTL. Call every ~30s while holding the lock.
      operationId: lock_heartbeat_api_v1_project__project_id__lock_heartbeat_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectLockStatus'
      security:
      - FirebaseAuthMiddleware: []
components:
  schemas:
    ProjectLockStatus:
      properties:
        is_locked:
          type: boolean
          title: Is Locked
          description: Whether the project is currently locked.
        locked_by_user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Locked By User Id
          description: User ID of the lock holder, if locked.
        locked_by_display_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Locked By Display Name
          description: Display name of the lock holder for UI.
        locked_by_avatar_color:
          anyOf:
          - type: string
          - type: 'null'
          title: Locked By Avatar Color
          description: Avatar color name of the lock holder for UI.
        is_current_user:
          type: boolean
          title: Is Current User
          description: True when the current user holds the lock.
          default: false
        ttl_seconds:
          anyOf:
          - type: integer
          - type: 'null'
          title: Ttl Seconds
          description: Remaining TTL of the lock in seconds, if locked.
      type: object
      required:
      - is_locked
      title: ProjectLockStatus
      description: Status of the project editing lock.
  securitySchemes:
    FirebaseAuthMiddleware:
      type: http
      scheme: bearer