API reference
Objects
The objects the endpoints return, each described once. Responses carry the full stored document, so an object can hold fields that aren't listed here: those belong to the Inhouse consumer app or the portal. Build on the fields below.
Pool
group in responses. A pool's _id is its poolId: the one id it has,
and what every call names it by.
Inhouse stores a pool as a group, so the objects on this page that belong
to a pool have group names: group, groupRank, groupRanks,
groupSeason. A pool's id is sent under both names, poolId and
groupId. See
A pool is also called a group.
{
"_id": "6b01eb7991a8d0c2e72af67e",
"kind": "community",
"mmrConfig": {
"kind": "elo",
"initialMmr": 1500,
"elo": {
"kFactor": {
"priority": "mmr",
"mmrRanges": [
{ "min": 0, "max": 1500, "value": 36 },
{ "min": 1500, "max": 2500, "value": 32 },
{ "min": 2500, "max": null, "value": 24 }
],
"matchCountRanges": []
},
"scaleFactor": 400,
"exponentBase": 10
},
"glicko2": null,
"hideRatingUnderMatchCount": null,
"hideRatingUnderWinCount": null,
"bonuses": []
},
"name": "Ranked 1v1",
"description": null,
"archived": null,
"config": { "trackMode": "solo", "rankMode": null, "groupRanks": [] },
"projectId": "6b01eb7991a8d0c2e72af669",
"organizationId": "6b01eb7991a8d0c2e72af668",
"externalId": null,
"matchmakingRules": [
{
"id": "ranked-1v1",
"default": true,
"minTeams": 2,
"maxTeams": 2,
"targetTeams": 2,
"minPlayersPerTeam": 1,
"maxPlayersPerTeam": 1,
"targetPlayersPerTeam": 1,
"maxPartySize": 1,
"initialSkillGap": 100,
"skillGapGrowthPerSecond": 10,
"maxSkillGap": 400,
"skillGapOpenedBy": "longestWait",
"waitWeight": 0.5,
"lobbyOptionsPerParty": 3,
"relaxLobbySizeAfterSeconds": null,
"maxTeamWinProbability": null,
"maxQueueSeconds": 300,
"teamPositions": null,
"minPositionsPerPlayer": null,
"regionIds": null
}
],
"matchmakingRegionIds": null
// ...
}| Field | Meaning |
|---|---|
_id |
The pool's id. Send it as poolId. |
externalId |
_default_ on your project's default pool, and null on any other. A pool created before 18 November 2026 may still hold the id you gave it then, which no call takes any more. |
name, description |
Display name and description. |
kind |
friends, community or competitive. |
archived |
true once archived. |
projectId, organizationId |
The project and organization that own the pool. |
mmrConfig |
The rating settings. kind is elo or glicko2, and initialMmr is the starting rating. The block for the kind in use (elo or glicko2) holds that engine's settings. Hidden-rating thresholds, rating windows and streak bonuses (bonuses) live here too. |
config |
What you sent as groupConfig: rankMode, and the rank bands, highest first, as groupRanks. trackMode is always solo. |
matchmakingRules |
The pool's matchmaking rules. |
matchmakingRegionIds |
The regions the pool's queues match in, in place of the project's. null means the project's, and [] turns regions off for the pool. A rule's own regionIds overrides it. The ids follow the same rules as a rule's regionIds. |
Rated user
mmrEntity in responses: one player's rating and record in one pool. Every
endpoint that returns a player returns this object.
{
"_id": "6b01eb7991a8d0c2e72af676",
"archived": null,
"name": "Carol C.",
"poolId": "6b01eb7991a8d0c2e72af66b",
"stats": [
{
"positionId": null,
"mmr": {
"value": 1600,
"ratingDeviation": null,
"volatility": null,
"lastRatedAt": null
},
"wins": 1,
"losses": 0,
"ties": 0,
"matchCount": 1,
"winStreak": 1,
"currentStreak": 1,
"loseStreak": 0,
"streakIgnoringTies": 1,
"seasonStartWins": null,
"seasonStartMatchCount": null,
"lastPlayedAt": "2026-11-21T19:05:29.559434Z",
"groupRank": {
"lower": 1500,
"upper": null,
"rank": "Gold",
"tier": null,
"image": "https://assets.example.com/ranks/gold.png"
},
"hideRating": false
}
],
"externalId": "carol",
"lastActiveMonth": null,
"ratingWindowMmrs": []
// ...
}| Field | Meaning |
|---|---|
_id |
Inhouse's id for the player. Send it as mmrEntityId (or userId). It's null for a player shown before they exist: one queued in matchmaking who hasn't played in the pool yet. |
externalId |
Your id for the player: what you send as mmrEntityExternalId (or userExternalId). |
name |
Display name. The mmrEntityExternalId until you set one. |
poolId |
The id of the player's pool. |
archived |
true once archived. |
stats |
The ratings and records: one stats block per position, plus the overall one. |
lastActiveMonth |
The billing month (YYYYMM, UTC) the player was last counted in. null on test projects. |
ratingWindowMmrs |
Open rating windows, at most one per stats block. Empty outside a window. |
Stats block
One entry of stats. The block with positionId: null is the player's
overall rating, which every ranked match moves. A pool whose game declares
positions keeps one more block per position played: a match played in a
position moves that block as well.
| Field | Meaning |
|---|---|
positionId |
The position this block rates, or null for the overall block. |
mmr.value |
The rating. |
mmr.ratingDeviation |
Glicko-2 only: how far the true rating may be from value. null on Elo. |
mmr.volatility |
Glicko-2 only: how consistent the player's results are. null on Elo. |
mmr.lastRatedAt |
Glicko-2 only: when the rating last changed. null on Elo, and before a first ranked match. |
wins, losses, ties |
The all-time ranked record. |
matchCount |
Matches played, ranked or not. |
currentStreak |
The current streak, signed: 3 is three wins in a row, -2 two losses, 0 after a tie. |
winStreak, loseStreak |
The current run of ranked wins, and of ranked losses: 0 when the player isn't on one. A tie ends both. |
streakIgnoringTies |
Like currentStreak, but a tie neither ends nor extends it: win, win, tie, win is 3. Read by streak bonuses with tiesBreakStreaks: false. null until the block's first ranked match since this field was added. |
seasonStartWins, seasonStartMatchCount |
wins and matchCount when the current season began, so this season's count is the difference. null on a block that hasn't been through a season end. |
lastPlayedAt |
When the block last played a ranked match. null before the first, or if it hasn't played since this field was added. |
groupRank |
The rank band the rating falls in: { rank, tier, image, lower, upper }. null when the pool has no bands or none covers the rating. Worked out on every read. |
hideRating |
true when the pool's settings say not to show this rating yet. The rating is still returned. See Hidden ratings. |
Rating window
One entry of ratingWindowMmrs: an open Glicko-2
rating window. While it's open, mmr here
moves and the stats block's stored rating waits.
{
"positionId": null,
"trigger": "hoursSinceLastPlayed",
"startedAt": "2026-11-21T19:05:29.738553Z",
"lastPlayedAt": "2026-11-21T19:05:29.738553Z",
"hidesRating": true,
"matchIds": ["6b01eb7991a8d0c2e72af68e"],
"matchCount": 1,
"wins": 1,
"startMmr": 1500,
"startRatingDeviation": 350,
"startVolatility": 0.06,
"mmr": 1663.9483363044524,
"ratingDeviation": 294.6523787689481,
"volatility": 0.05999967537233814
}| Field | Meaning |
|---|---|
positionId |
The stats block the window rates. null is the overall block. |
trigger |
What opened it: seasonStart, hoursSinceLastPlayed or always. |
startedAt, lastPlayedAt |
When the window's first and latest matches were recorded. |
hidesRating |
true when the player's rating is hidden while the window is open. |
matchIds, matchCount, wins |
The window's matches so far, oldest first, and how many of them were wins. |
startMmr, startRatingDeviation, startVolatility |
The stored rating when the window opened. |
mmr, ratingDeviation, volatility |
The window's rating as of its latest match. The stored rating takes these when the window closes. |
Match
match in responses.
{
"_id": "6b01eb7991a8d0c2e72af670",
"thumbnail": null,
"name": "Grand Final",
"description": null,
"poolId": "6b01eb7991a8d0c2e72af66b",
"gameId": "6b01eb7991a8d0c2e72af66c",
"createdAt": "2026-11-21T19:05:29.446480Z",
"recordedAt": "2026-11-21T19:05:29.463796Z",
"status": "recorded",
"ranked": true,
"result": {
"teams": [
{
"id": "<teamAId>",
"place": 1,
"pointsScored": null,
"caption": null,
"constituents": [
{
"mmrEntityId": "6b01eb7991a8d0c2e72af66e",
"mmrEntityExternalId": "alice",
"positionId": null,
"caption": null
// ...
}
],
"calculations": {
"startingMmr": 1500,
"originalPlace": 1,
"reassignedPlace": 1,
"normalizedPlace": 1,
"teamAdvantage": 0,
"playerAdvantages": 0,
"mmrWithAdvantages": 1500,
"outcome": "win",
"finalMmr": 1516
}
}
// ... 1 more
]
},
"projectId": "6b01eb7991a8d0c2e72af669",
"externalId": "m_1042",
"matchmaking": null
// ...
}| Field | Meaning |
|---|---|
_id |
Inhouse's id for the match. Send it as matchId. |
externalId |
Your id for the match: what you send as matchExternalId. |
name, description |
Optional labels. |
poolId |
The id of the match's pool. |
status |
pending until the match is rated, then recorded. |
ranked |
Whether the match moves ratings. |
createdAt, recordedAt |
When the match was written, and when it was rated. |
result.teams |
The teams as stored: what you sent as a match result, plus each team's server-given id. Each player is named by mmrEntityId (Inhouse's id for them) and mmrEntityExternalId (yours, when you named them by it), and by their user names, userId and userExternalId. Once the match is recorded, each team also has calculations: its rating going in (startingMmr), its outcome and its rating coming out (finalMmr). |
mmrConfig, gameConfig |
The pool's rating and game settings as they were when the match was created. The match is rated with these. |
matchmaking |
{ matchmakingRuleId, playerCount, regionId } when the matchmaker formed the match, otherwise null. regionId is the region the lobby formed in, and is left out when its queue had no regions. |
Match result
matchResult in requests: the teams of a match.
{
"teams": [
{
"place": 1,
"pointsScored": 12,
"constituents": [
{ "mmrEntityExternalId": "alice", "positionId": "optional", "caption": "optional" }
]
}
]
}A team is a placement bucket: one entry per side, or per player in a free-for-all. Teams need no id: the server labels them for you.
| Field | Rule |
|---|---|
teams[].place |
Starts at 1, and lower is better. Equal places are a draw. Every team needs a place before the match can be rated, unless places come from pointsScored. |
teams[].pointsScored |
Optional score. Ignored when every team has a place. When any team has none, places are worked out from the scores by the pool's winCondition, and a missing or 0 score ranks tied last. |
teams[].caption |
Optional free-form note on the team. It's what caption in scores sets. Doesn't affect ratings. |
teams[].constituents |
One entry per player on that side. |
constituents[].mmrEntityExternalId |
Your id for the player. A player the pool hasn't seen is created when the match is recorded. Also taken as userExternalId. |
constituents[].mmrEntityId |
Instead of mmrEntityExternalId: Inhouse's id for the player, the _id of their rated user in this pool. Also taken as userId. |
constituents[].positionId |
Optional: the position the player played. Must be one of the positions in the pool's gameConfig.positions. The match then moves their rating in that position as well as their overall rating. |
constituents[].caption |
Optional free-form note on the player, such as "MVP". Doesn't affect ratings. |
teams[].id |
Leave it out. Only a pool whose gameConfig.teams declares teams needs it, set to one of those keys. |
A match holds at most 100 teams, and a team at most 50 players.
A match you read back names each player by mmrEntityId and
mmrEntityExternalId: the same two ids, under the names they're stored by,
and again as userId and userExternalId. A matchResult takes them under
those names too, and both names of an id with the same value, so one you
read can be sent again as it is.
Scores
scores in requests: results set on teams or players that are already in a
match, or being added to one.
| Field | /match/record |
/match/score |
|---|---|---|
teamId |
Names a team, by the id match.found gives it. |
Not accepted. |
mmrEntityExternalId or mmrEntityId (or userExternalId, userId) |
Names a player. The result goes to their team. | The same. A player not in the match is added. |
place |
Sets the team's place: a whole number from 1 up. | Ignored: /score never sets a place. |
pointsScored |
Sets the team's score, a number. | The same. |
caption |
Sets the team's caption, a string. | The same. |
On /match/record:
- Each entry names exactly one team or one player, and it must already
be in the match. An unknown team is
400 team-not-in-matchand an unknown player400 player-not-in-match. - Only what an entry carries is written. Teams that no entry names keep what they had.
- When any team is left without a place, the places come from the
points, by the pool's
winCondition. - Two entries that give one team different places or points (two
teammates reported differently) are
400 conflicting-scores. - A refused entry writes no scores and rates nothing. A
matchResult,ranked,nameordescriptionin the same call is applied beforescoresare checked, so on a match that already exists those stay written. - On a new match,
scoresapply to thematchResultyou send with them.
Match player
One row of matchPlayers: one player's part in one match, written when the
match is rated.
{
"_id": "6b01eb7991a8d0c2e72af671",
"teamId": "<teamAId>",
"positionId": null,
"matchId": "6b01eb7991a8d0c2e72af670",
"mmrEntityId": "6b01eb7991a8d0c2e72af66e",
"mmrEntityExternalId": "alice",
"poolId": "6b01eb7991a8d0c2e72af66b",
"mmrChanges": [
{
"positionId": null,
"multiplier": null,
"advantage": null,
"before": 1500,
"after": 1516,
"bonus": null
}
],
"pointsScored": null,
"outcome": "win",
"ratingWindow": null
// ...
}| Field | Meaning |
|---|---|
mmrEntityId |
Inhouse's id for the player: the _id of their rated user. Every row has it. |
userId |
The same as mmrEntityId: its user names. |
mmrEntityExternalId |
Your id for the player. |
userExternalId |
The same as mmrEntityExternalId. |
teamId |
The team they were on, as in match.result.teams[].id. |
outcome |
win, tie or lose. |
mmrChanges |
The rating change, one entry per stats block the match moved: before and after. The first, with positionId: null, is the overall rating. A player who played a position has a second entry for that position's rating. bonus is the streak bonus the match paid on that rating, { kind, streak, mmr, mmrMultiplier }, already counted in after, or null when it paid none. mmr is the rating it added, and mmrMultiplier the multiplier it used (null for a fixed bonus). |
ratingWindow |
The player's rating window as this match left it, or null when they weren't in one. |
matchId, poolId |
The ids of the match and the pool. |
A team's score is on the match, in match.result.teams[].pointsScored.
A row names its player by both ids: mmrEntityId, Inhouse's, and
mmrEntityExternalId, yours, each also under its user name. Read through
GET /v1/match/get, each row also carries
the player's mmrEntity.
Party
party in responses: players queued together. A party exists only while it
waits in the queue.
{
"_id": "6b01eb7991a8d0c2e72af691",
"poolId": "6b01eb7991a8d0c2e72af66b",
"matchmakingRuleId": "ranked-1v1",
"externalId": "party-alice",
"players": [
{
"mmrEntityExternalId": "alice",
"mmrEntity": {
"_id": "6b01eb7991a8d0c2e72af66e",
"name": "alice",
"stats": [
{
"positionId": null,
"mmr": { "value": 1545.086633573829 /* ... */ },
"wins": 3,
"losses": 0,
"ties": 0,
"matchCount": 3,
"groupRank": {
"lower": 1500,
"upper": null,
"rank": "Gold",
"tier": null,
"image": "https://assets.example.com/ranks/gold.png"
},
"hideRating": false
// ...
}
],
"externalId": "alice"
// ...
}
// ...
}
],
"regionIds": [],
"enqueuedAt": "2026-11-21T19:05:29.758581Z",
"status": "searching"
// ...
}| Field | Meaning |
|---|---|
_id |
The party's id: partyId in events and in /queue/leave. |
externalId |
Your id for the party: the partyExternalId it joined with, or null. |
poolId |
The id of the pool it queued in. |
matchmakingRuleId |
The matchmaking rule it queued under: the rule's id. |
players |
One { mmrEntityExternalId, userExternalId, mmrEntity } per player: the rated user as it was when they joined. Under a rule with positions, each also has positionIds: the ones they listed, first choice first. |
regionIds |
The regions the party will play in, as it listed them. Its lobby only forms in one of these. [] means any region the queue offers, and is what every party holds in a queue without regions. |
enqueuedAt |
When the party joined. |
status |
searching, or cancelled in the reply to /queue/leave. |
Matchmaking rule
One entry of a pool's matchmakingRules: a queue the pool offers. This is
the rule every pool starts with:
{
"id": "ranked-1v1",
"default": true,
"minTeams": 2,
"maxTeams": 2,
"targetTeams": 2,
"minPlayersPerTeam": 1,
"maxPlayersPerTeam": 1,
"targetPlayersPerTeam": 1,
"maxPartySize": 1,
"initialSkillGap": 100,
"skillGapGrowthPerSecond": 10,
"maxSkillGap": 400,
"skillGapOpenedBy": "longestWait",
"waitWeight": 0.5,
"lobbyOptionsPerParty": 3,
"relaxLobbySizeAfterSeconds": null,
"maxTeamWinProbability": null,
"maxQueueSeconds": 300,
"teamPositions": null,
"minPositionsPerPlayer": null,
"regionIds": null
}id, the three team counts, the three per-team counts, initialSkillGap
and skillGapGrowthPerSecond are required.
| Field | Meaning |
|---|---|
id |
Your name for the rule, unique within the pool, at most 50 characters. Parties reference it as matchmakingRuleId. |
default |
true makes this the pool's default rule: /queue/join without a matchmakingRuleId uses it. At most one rule per pool. false when left out. |
minTeams, maxTeams, targetTeams |
Teams per lobby: at least 2. |
minPlayersPerTeam, maxPlayersPerTeam, targetPlayersPerTeam |
Players per team. Every team in a lobby is the same size, and a free-for-all is one player per team. At most 200 players per lobby. |
maxPartySize |
Most players in one party (default 1). A party always lands on one team, so this can't exceed maxPlayersPerTeam. |
initialSkillGap |
The widest skill gap a lobby may have before anyone has waited: the highest-rated player in the lobby minus the lowest-rated, in rating points. Every player counts individually, party members included. |
skillGapGrowthPerSecond |
Points the allowed gap widens per second of waiting. Whose wait counts is skillGapOpenedBy. |
maxSkillGap |
The widest the gap ever gets. Leave it out to keep widening until parties expire. |
skillGapOpenedBy |
Whose wait opens a lobby's gap. longestWait (the default): the party in the lobby that has waited longest, so a party that just joined can be placed in a wide lobby an older one opened. shortestWait: the party that has waited least, so every party in a lobby is inside the gap its own wait allows. See Whose wait opens the gap. |
waitWeight |
How much time in queue counts against match quality when a round chooses which lobbies to form, 0–1 (default 0.5). See How a round chooses lobbies. |
lobbyOptionsPerParty |
How many lobbies a round considers for each party it builds from, 1–8 (default 3): the closest-rated lobby above the party, then ones that reach a little further up the ratings. Under a rule with several lobby sizes, each size gets this many. The default suits nearly every game. See How many lobbies a round considers. |
relaxLobbySizeAfterSeconds |
A lobby keeps the target shape (targetTeams × targetPlayersPerTeam) until a party in it has waited this long. From then on that lobby may take any shape within the min and max bounds, whichever leaves the fewest players waiting. Leave it out to form only the target shape. |
maxTeamWinProbability |
Each lobby is split into the most even teams possible, then refused if the favored team's predicted win probability is still above this (0.5–1). Leave it out to skip the check. |
maxQueueSeconds |
A party still searching after this long ends as expired (default 300, at most 3600). |
teamPositions |
The slots every team must fill: each position id and how many players a team has in it, for example { "tank": 1, "damage": 2, "support": 2 }. The counts add up to the team size, so the three per-team counts must all equal their total. Players then join with the positions they'll play and are only ever given one of those. They're still matched on their overall rating. At most 50 positions; an id is at most 50 characters, with no . and no leading $. Saving the rule adds its positions to the pool's gameConfig.positions. Leave it out for a rule without positions. See Positions. |
minPositionsPerPlayer |
With teamPositions: how many of the rule's positions each player must list to join, from 1 to the number of positions. Left out, it is 1. |
regionIds |
The regions this queue matches in, in place of the pool's matchmakingRegionIds and the project's, for example ["eu-west", "us-east"]. Left out, the queue uses the pool's, or the project's when the pool sets none. [] turns regions off for this queue: it matches everyone together, whatever the pool and the project list. At most 20 regions, none twice. An id is 1–50 characters, with no leading or trailing spaces, no . and no leading $. See Regions. |
A rule with positions:
{
"id": "ranked-5v5",
"default": true,
"minTeams": 2,
"maxTeams": 2,
"targetTeams": 2,
"minPlayersPerTeam": 5,
"maxPlayersPerTeam": 5,
"targetPlayersPerTeam": 5,
"maxPartySize": 5,
"initialSkillGap": 100,
"skillGapGrowthPerSecond": 5,
"maxSkillGap": 500,
"skillGapOpenedBy": "longestWait",
"waitWeight": 0.5,
"lobbyOptionsPerParty": 3,
"relaxLobbySizeAfterSeconds": null,
"maxTeamWinProbability": null,
"maxQueueSeconds": 300,
"teamPositions": { "top": 1, "jungle": 1, "mid": 1, "bot": 1, "support": 1 },
"minPositionsPerPlayer": null,
"regionIds": null
}Season
groupSeason, endedSeason and currentSeason in responses.
{
"_id": "6b01eb7991a8d0c2e72af686",
"poolId": "6b01eb7991a8d0c2e72af67e",
"value": 2,
"startDate": "2026-11-21T19:05:29.675365Z",
"endDate": null
// ...
}| Field | Meaning |
|---|---|
poolId |
The id of the pool whose season it is. |
value |
The season's number, starting at 1. |
startDate, endDate |
When the season began and ended. endDate is null on the current season. |
mmrEntities |
On an ended season: every rated user as they stood when it ended. Empty on the current season. |