AimRank Game Sessions API
The Game Sessions API from AimRank — 3 operation(s) for game sessions.
The Game Sessions API from AimRank — 3 operation(s) for game sessions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/aimrank-io:aimrank-io-game-sessions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: AimRank Game Sessions API
description: Ranking-as-a-Service API — Turn binary comparisons into calibrated rankings with Glicko-2, Bradley-Terry, TrueSkill, and cross-domain transfer learning. Includes webhooks, API keys, RLHF exports, and embeddable widgets.
version: 4.12.0
tags:
- name: Game Sessions
paths:
/api/v1/game-sessions:
post:
tags:
- Game Sessions
summary: Create Game Session
description: 'Record a multi-player game session.
Creates the GameSession + SessionPlayer rows AND fans out pairwise Vote
rows so the ranking''s existing leaderboard pipeline updates correctly.'
operationId: create_game_session_api_v1_game_sessions_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateSessionRequest'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/SessionResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/game-sessions/ranking/{ranking_id}:
get:
tags:
- Game Sessions
summary: List Sessions For Ranking
description: List recent game sessions for a ranking (most-recent first).
operationId: list_sessions_for_ranking_api_v1_game_sessions_ranking__ranking_id__get
parameters:
- name: ranking_id
in: path
required: true
schema:
type: string
title: Ranking Id
- name: limit
in: query
required: false
schema:
type: integer
default: 50
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/game-sessions/{session_id}:
get:
tags:
- Game Sessions
summary: Get Game Session
description: Fetch a single game session by id.
operationId: get_game_session_api_v1_game_sessions__session_id__get
parameters:
- name: session_id
in: path
required: true
schema:
type: string
title: Session Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
SessionPlayerResponse:
properties:
entity_id:
type: string
title: Entity Id
placement:
type: integer
title: Placement
score:
anyOf:
- type: number
- type: 'null'
title: Score
rating_before:
anyOf:
- type: number
- type: 'null'
title: Rating Before
rating_after:
anyOf:
- type: number
- type: 'null'
title: Rating After
type: object
required:
- entity_id
- placement
- score
- rating_before
- rating_after
title: SessionPlayerResponse
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
SessionResponse:
properties:
id:
type: string
title: Id
ranking_id:
type: string
title: Ranking Id
title:
anyOf:
- type: string
- type: 'null'
title: Title
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
location:
anyOf:
- type: string
- type: 'null'
title: Location
played_at:
type: string
format: date-time
title: Played At
created_at:
type: string
format: date-time
title: Created At
recorded_by:
anyOf:
- type: string
- type: 'null'
title: Recorded By
players:
items:
$ref: '#/components/schemas/SessionPlayerResponse'
type: array
title: Players
pairwise_votes_created:
type: integer
title: Pairwise Votes Created
type: object
required:
- id
- ranking_id
- title
- notes
- location
- played_at
- created_at
- recorded_by
- players
- pairwise_votes_created
title: SessionResponse
SessionPlayerInput:
properties:
entity_id:
type: string
maxLength: 36
minLength: 36
title: Entity Id
placement:
type: integer
minimum: 1.0
title: Placement
description: 1=first place, 2=second, etc.
score:
anyOf:
- type: number
- type: 'null'
title: Score
type: object
required:
- entity_id
- placement
title: SessionPlayerInput
CreateSessionRequest:
properties:
ranking_id:
type: string
maxLength: 36
minLength: 36
title: Ranking Id
players:
items:
$ref: '#/components/schemas/SessionPlayerInput'
type: array
maxItems: 32
minItems: 2
title: Players
title:
anyOf:
- type: string
maxLength: 200
- type: 'null'
title: Title
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
location:
anyOf:
- type: string
maxLength: 200
- type: 'null'
title: Location
played_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Played At
type: object
required:
- ranking_id
- players
title: CreateSessionRequest
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key