Magic Moment Performance Target API

The performance-target API from Magic Moment — 2 operation(s) for performance-target.

Operations 3

GET /performance-target/unit #
GET /performance-target/user #
PUT /performance-target/user #

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/magic-moment-performance-target-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

magic-moment-performance-target-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 集計基盤連携API仕様
  title: 集計基盤連携アプリケーション Performance Target API
  version: 1.0.0
servers:
- url: https://report.magicmoment.co.jp/
tags:
- name: performance-target
paths:
  /performance-target/unit:
    get:
      security:
      - accessToken: []
      tags:
      - performance-target
      operationId: getUnitPerformanceTarget
      parameters:
      - $ref: '#/components/parameters/requiredTargetTypeInQuery'
      - $ref: '#/components/parameters/unitIdInQuery'
      - $ref: '#/components/parameters/requiredPhaseValueInQuery'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PerformanceTarget'
  /performance-target/user:
    get:
      security:
      - accessToken: []
      tags:
      - performance-target
      operationId: getUserPerformanceTarget
      parameters:
      - $ref: '#/components/parameters/requiredTargetTypeInQuery'
      - $ref: '#/components/parameters/unitIdInQuery'
      - $ref: '#/components/parameters/requiredPhaseValueInQuery'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PerformanceTarget'
    put:
      security:
      - accessToken: []
      tags:
      - performance-target
      operationId: savePerformanceTarget
      responses:
        '200':
          description: OK
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - target
              - targetType
              - unitId
              - phaseValue
              properties:
                phaseValue:
                  $ref: '#/components/schemas/PhaseValue'
                target:
                  type: integer
                  maximum: 1000000000
                targetType:
                  $ref: '#/components/schemas/PerformanceTargetType'
                unitId:
                  $ref: '#/components/schemas/UUID'
components:
  parameters:
    requiredTargetTypeInQuery:
      name: targetType
      in: query
      required: true
      schema:
        type: string
        enum:
        - achievedPhase
        - requiredItem
        - optionalItem
        - winned
        - mrr
        - contractValue
    unitIdInQuery:
      name: unitId
      in: query
      schema:
        type: string
        format: uuid
    requiredPhaseValueInQuery:
      name: phaseValue
      in: query
      required: true
      schema:
        type: string
        enum:
        - nurturing
        - qualification
        - closing
        - onboarding
        - adoption
        - expansion
  schemas:
    UUID:
      type: string
      format: uuid
      example: 550e8400-e29b-41d4-a716-446655440000
    PhaseValue:
      type: string
      enum:
      - nurturing
      - qualification
      - closing
      - onboarding
      - adoption
      - expansion
    PerformanceTargetType:
      type: string
      enum:
      - achievedPhase
      - requiredItem
      - optionalItem
      - winned
      - mrr
      - contractValue
    PerformanceTarget:
      type: object
      properties:
        phaseValue:
          $ref: '#/components/schemas/PhaseValue'
        target:
          type: number
          x-omitempty: false
          example: 10
        targetType:
          $ref: '#/components/schemas/PerformanceTargetType'
        unitId:
          $ref: '#/components/schemas/UUID'
  securitySchemes:
    accessToken:
      type: apiKey
      name: x-access-token
      in: header
    apiKey:
      type: apiKey
      name: x-api-key
      in: header