Get session details
const url = 'https://api.aggregator.gg/v1/sessions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?sub_operator_ref=brand-01';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.aggregator.gg/v1/sessions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?sub_operator_ref=brand-01' \ --header 'Authorization: Bearer <token>'Retrieve metadata about a previously-created session.
Platform accounts send sub_operator_ref to pick the brand: the one
the session was launched with. Without it the read resolves your default
brand and answers 404; see
Platform accounts for the
default brand.
A provider that requires access approval needs current support approval
for the exact organization bound to the authenticated operator key.
Unbound keys cannot infer an organization.
For a platform key, the approval of the platform’s organization covers
its brands; a suspended or retired brand is refused.
The default catalog omits unapproved games (direct game/stakes lookup returns 404).
Launches and launcher re-reads return PROVIDER_ACCESS_REQUIRED (403) on
denial; storage uncertainty returns PROVIDER_ACCESS_UNAVAILABLE (503).
Requests for other providers keep their existing access policy.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Example
brand-01Platform accounts only. The brand that owns this session -
the same ref you sent on POST /v1/sessions. Omitting it
resolves your platform’s default brand (404 unless the
session belongs to that brand); sending it from a non-platform
key is a 400 (E6006).
Same format and error codes as sub_operator_ref on
POST /v1/sessions.
Responses
Section titled “Responses”Session details.
object
Example
{ "status": "open"}Missing, invalid, or revoked API key.
object
object
Machine-parseable error code. See https://hub.aggregator.gg/error-reference/.
Correlation ID for support escalation.
object
Example
{ "error": { "code": "E0001" }}The session’s provider requires access approval and is not approved for the authenticated operator organization or session context (PROVIDER_ACCESS_REQUIRED).
object
object
Machine-parseable error code. See https://hub.aggregator.gg/error-reference/.
Correlation ID for support escalation.
object
Example
{ "error": { "code": "E0001" }}Session not found.
object
object
Machine-parseable error code. See https://hub.aggregator.gg/error-reference/.
Correlation ID for support escalation.
object
Example
{ "error": { "code": "E0001" }}Provider access or session authorization storage is temporarily unavailable.
object
object
Machine-parseable error code. See https://hub.aggregator.gg/error-reference/.
Correlation ID for support escalation.
object
Example
{ "error": { "code": "E0001" }}