Statistics of a custom property among the accepted members of the spot: how many filled it

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://help-api.meltingspot.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "API MCP server": {
    "url": "https://help-api.meltingspot.io/mcp"
  }
}

Close
GET /v1/customProperties/{customPropertyId}/values~count

Statistics of a custom property among the accepted members of the spot: how many filled it (fill rate), the number of members by value, the options of a select nobody chose and the sources of the values.

Path parameters

  • customPropertyId string Required

    The id of the custom property

Responses

  • 200 application/json

    Values counted successfully

    Hide response attributes Show response attributes object
    • memberCount number Required

      The number of accepted members of the spot.

    • filledCount number Required

      The number of accepted members with a value (an empty text or select does not count).

    • fillRate number Required

      The percentage of the accepted members with a value, rounded; 0 without member.

    • values array[object] Required

      The values of the accepted members, by count descending, ties broken by value, 100 at most.

      Hide values attributes Show values attributes object
      • value string | number | boolean Required

        The value: slug of the option for a select (each option of a multiple select counts), true or false for a boolean, timestamp in ms for a date, the raw value otherwise.

      • count number Required

        The number of accepted members with it.

    • unusedOptions array[string] Required

      The slugs of the options of a select chosen by no accepted member, in the order of the options. Empty for another type.

    • sourceCounts array[object] Required

      The filled values by source, the biggest first.

      Hide sourceCounts attributes Show sourceCounts attributes object
      • source string Required

        How the values were written: Manual (in the app), Sso (identity provider) or Api.

        Values are Manual, Sso, or Api.

      • count number Required

        The number of filled values from it.

  • 400

    Malformed payload

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Custom property not found in the spot

GET /v1/customProperties/{customPropertyId}/values~count
curl \
 --request GET 'https://openapi.meltingspot.io/v1/customProperties/{customPropertyId}/values~count'
Response examples (200)
{
  "memberCount": 42.0,
  "filledCount": 42.0,
  "fillRate": 42.0,
  "values": [
    {
      "value": "string",
      "count": 42.0
    }
  ],
  "unusedOptions": [
    "string"
  ],
  "sourceCounts": [
    {
      "source": "Manual",
      "count": 42.0
    }
  ]
}