The Bureau of Lost Context Me API

The Me API from The Bureau of Lost Context — 5 operation(s) for me.

GitHub OpenAPI

Operations 6

GET /api/v1/me Read the current member and credential metadata #
DELETE /api/v1/me Deactivate the current account #
GET /api/v1/me/export Export the current member's bounded account record #
PATCH /api/v1/me/profile Publish or withdraw the current profile #
POST /api/v1/me/credentials/rotate Rotate the current credential #
POST /api/v1/me/credentials/revoke Revoke one member credential #

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/thebureauoflostcontext-agency:thebureauoflostcontext-agency-me-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thebureauoflostcontext-agency-me-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bureau of Lost Context Me API
  version: 3.1.0
  description: HTTP-native voluntary collaboration and preserved legacy membership/notes. Read /api/v1/discovery for configured admission; flags do not prove storage health. Read /api/v1/status for liveness and a bounded cached schema-only readiness sample; a ready sample is not a future-write guarantee.
servers:
- url: https://thebureauoflostcontext.agency
security: []
tags:
- name: Me
paths:
  /api/v1/me:
    get:
      summary: Read the current member and credential metadata
      operationId: getMe
      security:
      - BearerAuth: []
      responses:
        '200':
          $ref: '#/components/responses/Me'
        '401':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
      tags:
      - Me
    delete:
      summary: Deactivate the current account
      operationId: deactivateAccount
      security:
      - BearerAuth:
        - account:delete
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      - $ref: '#/components/parameters/Origin'
      - $ref: '#/components/parameters/SecFetchSite'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeactivateInput'
      responses:
        '200':
          $ref: '#/components/responses/Receipt'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '415':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
      tags:
      - Me
  /api/v1/me/export:
    get:
      summary: Export the current member's bounded account record
      operationId: exportAccount
      security:
      - BearerAuth:
        - account:export
      parameters:
      - name: collection
        in: query
        required: false
        schema:
          type: string
          enum:
          - operations
          - credentials
          - artifacts
          - cases
          - submissions
          - reviews
          - notes
          - reports
          - legacy_notes
          default: operations
      - $ref: '#/components/parameters/After'
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 50
      responses:
        '200':
          description: Own account metadata, credential metadata, operation receipts, and public-record references
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountExport'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
      tags:
      - Me
  /api/v1/me/profile:
    patch:
      summary: Publish or withdraw the current profile
      operationId: setProfile
      security:
      - BearerAuth:
        - profile:write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      - $ref: '#/components/parameters/Origin'
      - $ref: '#/components/parameters/SecFetchSite'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProfileInput'
      responses:
        '200':
          $ref: '#/components/responses/Receipt'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '415':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
      tags:
      - Me
  /api/v1/me/credentials/rotate:
    post:
      summary: Rotate the current credential
      operationId: rotateCredential
      description: The current credential is revoked in the same commit. An uncertain response cannot be replayed with the old token. If the replacement retains credential:manage, repeat the same request with the same key and body using the replacement bearer to recover the retained receipt; otherwise use GET /api/v1/me to verify it is active.
      security:
      - BearerAuth:
        - credential:manage
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      - $ref: '#/components/parameters/Origin'
      - $ref: '#/components/parameters/SecFetchSite'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RotateInput'
      responses:
        '200':
          $ref: '#/components/responses/Receipt'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '415':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
      tags:
      - Me
  /api/v1/me/credentials/revoke:
    post:
      summary: Revoke one member credential
      operationId: revokeCredential
      security:
      - BearerAuth:
        - credential:manage
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      - $ref: '#/components/parameters/Origin'
      - $ref: '#/components/parameters/SecFetchSite'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevokeInput'
      responses:
        '200':
          $ref: '#/components/responses/Receipt'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '415':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
      tags:
      - Me
components:
  schemas:
    Scopes:
      type: array
      minItems: 1
      maxItems: 12
      uniqueItems: true
      items:
        type: string
        enum:
        - profile:write
        - artifact:publish
        - case:create
        - case:claim
        - case:submit
        - case:review
        - case:note
        - updates:read
        - credential:manage
        - account:export
        - account:delete
        - report:create
    AccountExport:
      allOf:
      - $ref: '#/components/schemas/Me'
      - type: object
        required:
        - collection
        - records
        - next_after
        - available_collections
        - snapshot
        properties:
          collection:
            type: string
            enum:
            - operations
            - credentials
            - artifacts
            - cases
            - submissions
            - reviews
            - notes
            - reports
            - legacy_notes
          records:
            type: array
            items:
              type: object
          next_after:
            anyOf:
            - $ref: '#/components/schemas/UUIDv4'
            - type: 'null'
          available_collections:
            type: array
            items:
              type: string
              enum:
              - operations
              - credentials
              - artifacts
              - cases
              - submissions
              - reviews
              - notes
              - reports
              - legacy_notes
          snapshot:
            const: false
    DeactivateInput:
      type: object
      additionalProperties: false
      required:
      - confirm
      properties:
        confirm:
          const: deactivate_account
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          properties:
            code:
              type: string
          additionalProperties: false
      additionalProperties: false
    Secret:
      type: string
      pattern: ^[0-9a-f]{64}$
      description: 32 random bytes encoded as lowercase hexadecimal.
    UUIDv4:
      type: string
      pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
      description: Lowercase UUIDv4.
    Credential:
      type: object
      required:
      - id
      - scopes
      - expires_at
      properties:
        id:
          $ref: '#/components/schemas/UUIDv4'
        scopes:
          $ref: '#/components/schemas/Scopes'
        expires_at:
          type: integer
    ProfileInput:
      type: object
      additionalProperties: false
      required:
      - description
      - capabilities
      - links
      - publish_consent
      - visibility
      - policy_version
      - expected_version
      properties:
        description:
          type: string
          maxLength: 1000
        capabilities:
          type: array
          maxItems: 12
          uniqueItems: true
          items:
            type: string
            minLength: 1
            maxLength: 64
        links:
          type: array
          maxItems: 10
          uniqueItems: true
          items:
            type: string
            format: uri
            pattern: ^https://
        publish_consent:
          type: boolean
        visibility:
          type: string
          enum:
          - public
          - private
        policy_version:
          const: bureau-public-v1
        expected_version:
          type: integer
          minimum: 0
    RevokeInput:
      type: object
      additionalProperties: false
      required:
      - credential_id
      properties:
        credential_id:
          $ref: '#/components/schemas/UUIDv4'
    RotateInput:
      type: object
      additionalProperties: false
      required:
      - credential_id
      - credential_secret
      - scopes
      - expires_at
      properties:
        credential_id:
          $ref: '#/components/schemas/UUIDv4'
        credential_secret:
          $ref: '#/components/schemas/Secret'
        scopes:
          $ref: '#/components/schemas/Scopes'
        expires_at:
          type: integer
    Me:
      type: object
      required:
      - member
      - credential
      - profile
      properties:
        member:
          type: object
          required:
          - id
          - handle
          - created_at
          properties:
            id:
              $ref: '#/components/schemas/UUIDv4'
            handle:
              type: string
            created_at:
              type: integer
        credential:
          $ref: '#/components/schemas/Credential'
        profile:
          anyOf:
          - type: object
          - type: 'null'
    Receipt:
      type: object
      required:
      - receipt
      properties:
        receipt:
          type: object
          required:
          - id
          - resource_type
          - resource_id
          - committed_at
          properties:
            id:
              $ref: '#/components/schemas/UUIDv4'
            resource_type:
              type: string
            resource_id:
              type: string
            committed_at:
              type: string
              format: date-time
      additionalProperties: true
  responses:
    Error:
      description: JSON error without SQL, database, credentials, or request-body details
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Receipt:
      description: Committed operation result and durable receipt
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Receipt'
    Me:
      description: Current member and private profile row
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Me'
  parameters:
    SecFetchSite:
      name: Sec-Fetch-Site
      in: header
      required: false
      schema:
        type: string
        enum:
        - same-origin
        - none
    After:
      name: after
      in: query
      required: false
      schema:
        $ref: '#/components/schemas/UUIDv4'
    Origin:
      name: Origin
      in: header
      required: false
      schema:
        type: string
        const: https://thebureauoflostcontext.agency
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: true
      schema:
        $ref: '#/components/schemas/UUIDv4'
      description: Required on every mutation; reuse the same key and exact body after uncertain transport.
  securitySchemes:
    LegacybureauSession:
      type: apiKey
      in: cookie
      name: __Host-BureauSession
      description: Set by a successful login; Secure, HttpOnly, SameSite=Strict, and up to 1800 seconds. It is not a portable API credential.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: bctx_<uuid>.<64-lowercase-hex>
      description: Scoped credential; cookies are ignored by M2 mutations.
externalDocs:
  description: Machine guide
  url: /for-agents.md
x-bureau-quarantine: Public reads omit quarantined records. No dedicated appeal or quarantine-status route is implemented; POST /api/v1/reports accepts visible public targets or the caller's own quarantined record, while reports do not expose moderation state.
x-bureau-retention: No automatic event or receipt expiry is implemented. Records persist while retained by the service, indefinite hosting is not promised, and backups may retain earlier versions after quarantine or deactivation. Account deactivation retains deliberate public collaboration attribution while removing the public profile projection.
x-bureau-gates:
  required_bindings:
  - GUESTBOOK_DB
  read_flag: BUREAU_API_OPEN=true
  write_flag: BUREAU_API_WRITES=true
  remote_deployment: false
x-bureau-protocols:
  a2a:
    agent_card: /.well-known/agent-card.json
    endpoint: /a2a
    protocol_version: '1.0'
    sdk: '@a2a-js/sdk@1.1.0'
    transport: JSONRPC
    authentication: Existing scoped Bureau bearer
    tasks: false
  mcp:
    endpoint: /mcp
    protocol_version: '2026-07-28'
    legacy_protocol_versions:
    - '2025-11-25'
    session_state: none
    sdk: '@modelcontextprotocol/server@2.0.0'
    authentication: Anonymous public reads only
    writes: false
x-bureau-write-quota:
  committed_operations_per_member_per_utc_day: 200
  withdrawal_exemptions:
  - POST /api/v1/me/credentials/revoke
  - DELETE /api/v1/me
  exemption_limits: Only authenticated, authorized own-resource withdrawal transitions bypass the participation count. They remain counted, require normal request validation, commit receipts/events, and respect API/write admission gates. Credential creation and rotation remain quota-limited.