Count the resources of a spot its AI coach showed in the cards of its answers over a period of 366 days at most

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/coachRecommendedResources~count

Count the resources of a spot its AI coach showed in the cards of its answers over a period of 366 days at most, the 100 most recommended first, with their current state. The recommendations are reliable since 2026-09-14.

Query parameters

  • createdAt object

    Period of the messages. Both bounds are required (createdAt[after] and createdAt[before]), included, 366 days apart at most.

    Hide createdAt attributes Show createdAt attributes object
    • createdAt[after] integer

      Start of the period, included: only the messages written at or after this date (Unix timestamp format). Required.

    • createdAt[before] integer

      End of the period, included: only the messages written at or before this date (Unix timestamp format). Required.

  • mode object
    Hide mode attribute Show mode attribute object
    • mode[in] array[string]

      Only the conversations of one of these modes: Live (real members), Test (an admin testing the coach), Preview (an admin impersonating a member). Live only when omitted.

      Values are Live, Test, or Preview.

  • triggerType object
    Hide triggerType attribute Show triggerType attribute object
    • triggerType[in] array[string]

      Only the conversations started by one of these triggers. Every trigger but Onboarding when omitted.

      Values are Welcome, Resume, Discover, Recommend, UserInitiated, PlaybookIntent, or Onboarding.

  • role object
    Hide role attribute Show role attribute object
    • role[in] array[string]

      Only the conversations of the members having one of these roles now (their current role, whatever their custom role)

      Values are Member or Admin.

  • groupId object
    Hide groupId attribute Show groupId attribute object
    • groupId[in] array[string(uuid)]

      Only the conversations of the members of one of these groups, 20 at most

  • spotMemberId object
    Hide spotMemberId attribute Show spotMemberId attribute object
    • spotMemberId[in] array[string(uuid)]

      Only the conversations of these members (spot member ids), 20 at most

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • total integer Required

      The number of times the coach showed a resource in a card, all resources included. Reliable since 2026-09-14.

    • topShare number | null Required

      The share of the most recommended resource in total (between 0 and 1), null without recommendation

    • reliableSince string Required

      The first day the sources are stored reliably (YYYY-MM-DD)

    • periodStartsBeforeReliableSince boolean Required

      True when the period starts before reliableSince: the recommendations are under-counted

    • items array[object] Required

      The 100 most recommended resources at most, the most recommended first

      Hide items attributes Show items attributes object
      • resourceId string Required

        The id of the resource

      • type string Required

        The type of the resource

        Values are Channel, Collection, Course, Forum, GeneratedContent, Link, Live, LearningPath, Page, RichText, Roleplay, or Topic.

      • title string | null Required

        The title of the resource on the most recent card showing it (kept when the resource was deleted since), null when the cards have none

      • recommendationCount integer Required

        The number of times the coach showed the resource in a card of its answers

      • conversationCount integer Required

        The number of conversations where the resource was shown

      • updatedAt integer | null Required

        The last update of the resource, read now (Unix timestamp in milliseconds): lives and documents only, null for the other types and for a deleted resource

      • liveStatus string | null Required

        The status of a live, read now: null for the other types and for a deleted live

        Values are Ended, Planned, or Live.

  • 400

    Malformed payload, too many members or groups, missing or too long period

GET /v1/coachRecommendedResources~count
curl \
 --request GET 'https://openapi.meltingspot.io/v1/coachRecommendedResources~count'
Response examples (200)
{
  "total": 42,
  "topShare": 42.0,
  "reliableSince": "string",
  "periodStartsBeforeReliableSince": true,
  "items": [
    {
      "resourceId": "string",
      "type": "Channel",
      "title": "string",
      "recommendationCount": 42,
      "conversationCount": 42,
      "updatedAt": 42,
      "liveStatus": "Ended"
    }
  ]
}