Lium Team API

The Team API from Lium — 5 operation(s) for team.

GitHub OpenAPI

Operations 6

GET /team/members List Members #
POST /team/members Invite Member #
DELETE /team/members/{member_id} Remove Member #
POST /team/accept Accept Invite #
GET /team/accounts List Accounts #
POST /team/accounts/{miner_id}/open Open Account #

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/lium-io:lium-io-team-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

lium-io-team-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lium Miner Portal Team API
  version: 0.1.0
servers:
- url: /api
tags:
- name: Team
paths:
  /team/members:
    get:
      tags:
      - Team
      summary: List Members
      description: The account's members and open invitations, newest first.
      operationId: list_members_team_members_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailResponse_list_MemberResponse__'
      security:
      - HTTPBearer: []
      - JwtAccessBearer: []
    post:
      tags:
      - Team
      summary: Invite Member
      description: Invites an address, or mails a pending invitation again with a new link; 502 when the mail could not be sent.
      operationId: invite_member_team_members_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InviteMemberRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailResponse_MemberResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - JwtAccessBearer: []
  /team/members/{member_id}:
    delete:
      tags:
      - Team
      summary: Remove Member
      description: Removes a member (their sessions of this account end at once) or cancels an invitation.
      operationId: remove_member_team_members__member_id__delete
      security:
      - HTTPBearer: []
      - JwtAccessBearer: []
      parameters:
      - name: member_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Member Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_dict_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /team/accept:
    post:
      tags:
      - Team
      summary: Accept Invite
      description: Accepts an invitation with the invited address's own session; answers a member session of the account.
      operationId: accept_invite_team_accept_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptInviteRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailResponse_MemberSessionResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - JwtAccessBearer: []
  /team/accounts:
    get:
      tags:
      - Team
      summary: List Accounts
      description: The provider accounts the caller is a member of.
      operationId: list_accounts_team_accounts_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailResponse_list_TeamAccountResponse__'
      security:
      - HTTPBearer: []
      - JwtAccessBearer: []
  /team/accounts/{miner_id}/open:
    post:
      tags:
      - Team
      summary: Open Account
      description: A member session of an account the caller is a member of.
      operationId: open_account_team_accounts__miner_id__open_post
      security:
      - HTTPBearer: []
      - JwtAccessBearer: []
      parameters:
      - name: miner_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Miner Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailResponse_MemberSessionResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
          description: Error code identifier
        message:
          type: string
          title: Message
          description: Human readable error message
        details:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Details
          description: Additional error details
      type: object
      required:
      - code
      - message
      title: ErrorDetail
      description: Standard error detail structure
    MemberResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        email:
          type: string
          title: Email
        status:
          type: string
          title: Status
        invited_at:
          type: string
          format: date-time
          title: Invited At
        accepted_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Accepted At
      type: object
      required:
      - id
      - email
      - status
      - invited_at
      - accepted_at
      title: MemberResponse
    MemberSessionResponse:
      properties:
        token:
          type: string
          title: Token
        account:
          $ref: '#/components/schemas/TeamAccountResponse'
      type: object
      required:
      - token
      - account
      title: MemberSessionResponse
      description: 'A team member''s session of the account: the portal stores it as its token.'
    TeamAccountResponse:
      properties:
        miner_id:
          type: string
          format: uuid
          title: Miner Id
        miner_hotkey:
          type: string
          title: Miner Hotkey
        email:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      type: object
      required:
      - miner_id
      - miner_hotkey
      - email
      title: TeamAccountResponse
    DetailResponse_MemberResponse_:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the request was successful
          default: true
        data:
          $ref: '#/components/schemas/MemberResponse'
          description: Single item data
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Response timestamp
      type: object
      required:
      - data
      title: DetailResponse[MemberResponse]
    AcceptInviteRequest:
      properties:
        token:
          type: string
          title: Token
      type: object
      required:
      - token
      title: AcceptInviteRequest
    InviteMemberRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
      type: object
      required:
      - email
      title: InviteMemberRequest
    ApiResponse_dict_:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the request was successful
        data:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Data
          description: Response data
        error:
          anyOf:
          - $ref: '#/components/schemas/ErrorDetail'
          - type: 'null'
          description: Error details if unsuccessful
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Response timestamp
      type: object
      required:
      - success
      title: ApiResponse[dict]
    DetailResponse_MemberSessionResponse_:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the request was successful
          default: true
        data:
          $ref: '#/components/schemas/MemberSessionResponse'
          description: Single item data
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Response timestamp
      type: object
      required:
      - data
      title: DetailResponse[MemberSessionResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DetailResponse_list_TeamAccountResponse__:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the request was successful
          default: true
        data:
          items:
            $ref: '#/components/schemas/TeamAccountResponse'
          type: array
          title: Data
          description: Single item data
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Response timestamp
      type: object
      required:
      - data
      title: DetailResponse[list[TeamAccountResponse]]
    DetailResponse_list_MemberResponse__:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the request was successful
          default: true
        data:
          items:
            $ref: '#/components/schemas/MemberResponse'
          type: array
          title: Data
          description: Single item data
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Response timestamp
      type: object
      required:
      - data
      title: DetailResponse[list[MemberResponse]]
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    JwtAccessBearer:
      type: http
      scheme: bearer
    HTTPBearer:
      type: http
      scheme: bearer