Prime Intellect · Capability

Prime Intellect Platform API — User & Teams

Prime Intellect Platform API — User & Teams. 4 operations. Self-contained Naftiko capability covering one Prime Intellect business surface.

Prime Intellect Platform API — User & Teams is a Naftiko capability published by Prime Intellect, one of 13 capabilities the APIs.io network indexes for this provider. It bundles 4 operations across the GET and PUT methods rooted at /v1/api/v1.

The capability includes 3 read-only operations and 1 state-changing operation. Lead operation: Identify the authenticated user. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Prime Intellect and Platform.

Run with Naftiko Prime IntellectPlatform

What You Can Do

GET
Whoami — Identify the authenticated user.
/v1/api/v1/user/whoami
GET
Listmyteams — List teams the user belongs to.
/v1/api/v1/user/teams
PUT
Setslug — Set a username slug for the account.
/v1/api/v1/user/slug
GET
Listteammembers — List members of a team.
/v1/api/v1/teams/{team_id}/members

MCP Tools

prime-intellect-whoami

Identify the authenticated user.

read-only idempotent
prime-intellect-listmyteams

List teams the user belongs to.

read-only idempotent
prime-intellect-setslug

Set a username slug for the account.

idempotent
prime-intellect-listteammembers

List members of a team.

read-only idempotent

Capability Spec

platform-user.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Prime Intellect Platform API — User & Teams
  description: Prime Intellect Platform API — User & Teams. 4 operations. Self-contained Naftiko capability covering one Prime
    Intellect business surface.
  tags:
  - Prime Intellect
  - Platform
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    PRIME_API_KEY: PRIME_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-user
    baseUri: https://api.primeintellect.ai
    description: Prime Intellect Platform API — User & Teams business capability. Self-contained, no shared references.
    resources:
    - name: user-whoami
      path: /api/v1/user/whoami
      operations:
      - name: whoami
        method: GET
        description: Identify the authenticated user.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-teams
      path: /api/v1/user/teams
      operations:
      - name: listmyteams
        method: GET
        description: List teams the user belongs to.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-slug
      path: /api/v1/user/slug
      operations:
      - name: setslug
        method: PUT
        description: Set a username slug for the account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: teams-team_id-members
      path: /api/v1/teams/{team_id}/members
      operations:
      - name: listteammembers
        method: GET
        description: List members of a team.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: team_id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      value: '{{env.PRIME_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: platform-user-rest
    port: 8080
    description: REST adapter for Prime Intellect Platform API — User & Teams.
    resources:
    - path: /v1/api/v1/user/whoami
      name: user-whoami
      description: REST surface for user-whoami.
      operations:
      - method: GET
        name: whoami
        description: Identify the authenticated user.
        call: platform-user.whoami
        with: {}
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/user/teams
      name: user-teams
      description: REST surface for user-teams.
      operations:
      - method: GET
        name: listmyteams
        description: List teams the user belongs to.
        call: platform-user.listmyteams
        with: {}
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/user/slug
      name: user-slug
      description: REST surface for user-slug.
      operations:
      - method: PUT
        name: setslug
        description: Set a username slug for the account.
        call: platform-user.setslug
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/teams/{team_id}/members
      name: teams-team_id-members
      description: REST surface for teams-team_id-members.
      operations:
      - method: GET
        name: listteammembers
        description: List members of a team.
        call: platform-user.listteammembers
        with:
          team_id: rest.path.team_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-user-mcp
    port: 9090
    transport: http
    description: MCP adapter for Prime Intellect Platform API — User & Teams. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: prime-intellect-whoami
      description: Identify the authenticated user.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-user.whoami
      with: {}
      outputParameters:
      - type: object
        mapping: $.
    - name: prime-intellect-listmyteams
      description: List teams the user belongs to.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-user.listmyteams
      with: {}
      outputParameters:
      - type: object
        mapping: $.
    - name: prime-intellect-setslug
      description: Set a username slug for the account.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: platform-user.setslug
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: prime-intellect-listteammembers
      description: List members of a team.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-user.listteammembers
      with:
        team_id: tools.team_id
      outputParameters:
      - type: object
        mapping: $.