SessionInfo
Session related information returned in responses. Note that the device object is defined as optional and will only to be returned if provided in createSession. If more than one type of device identifier was provided, only one identifier will be returned (at implementation choice and with the original value provided in createSession). Please note that IP addresses of devices can change and get reused, so the original values may no longer identify the same device. They identified the device at the time of session creation.
Properties
| Name | Type | Description |
|---|---|---|
| device | object | |
| applicationServer | object | |
| devicePorts | object | The ports used locally by the device for flows to which the requested QoS profile should apply. If omitted, then the qosProfile will apply to all flows between the device and the specified application |
| applicationServerPorts | object | A list of single ports or port ranges on the application server |
| qosProfile | object | |
| sink | string | The address to which events about all status changes of the session (e.g. session termination) shall be delivered, using the HTTP protocol. |
| sinkCredential | object | A sink credential provides authentication or authorization information necessary to enable delivery of events to a target. |
| sessionId | object | |
| duration | integer | Session duration in seconds. Implementations can grant the requested session duration or set a different duration, based on network policies or conditions. - When `qosStatus` is "REQUESTED", the value |
| startedAt | string | Date and time when the QoS status became "AVAILABLE". Not to be returned when `qosStatus` is "REQUESTED". Format must follow RFC 3339 and must indicate time zone (UTC or local). |
| expiresAt | string | Date and time of the QoS session expiration. Format must follow RFC 3339 and must indicate time zone (UTC or local). - When `qosStatus` is "AVAILABLE", it is the limit time when the session is schedul |
| qosStatus | object | |
| statusInfo | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/gsma/json-schema/gsma-session-info-schema.json",
"title": "SessionInfo",
"description": "Session related information returned in responses.\nNote that the device object is defined as optional and will only to be returned if provided in createSession. If more than one type of device identifier was provided, only one identifier will be returned (at implementation choice and with the original value provided in createSession).\nPlease note that IP addresses of devices can change and get reused, so the original values may no longer identify the same device. They identified the device at the time of session creation.\n",
"x-generated": "2026-11-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/gsma-qos-sessions-api-openapi.yml#/components/schemas/SessionInfo",
"allOf": [
{
"$ref": "#/$defs/BaseSessionInfo"
},
{
"type": "object",
"properties": {
"sessionId": {
"$ref": "#/$defs/SessionId"
},
"duration": {
"description": "Session duration in seconds. Implementations can grant the requested session duration or set a different duration, based on network policies or conditions.\n- When `qosStatus` is \"REQUESTED\", the value is the duration to be scheduled, granted by the implementation.\n- When `qosStatus` is AVAILABLE\", the value is the overall duration since `startedAt. When the session is extended, the value is the new overall duration of the session.\n- When `qosStatus` is \"UNAVAILABLE\", the value is the overall effective duration since `startedAt` until the session was terminated.\n",
"type": "integer",
"format": "int32",
"minimum": 1
},
"startedAt": {
"description": "Date and time when the QoS status became \"AVAILABLE\". Not to be returned when `qosStatus` is \"REQUESTED\". Format must follow RFC 3339 and must indicate time zone (UTC or local).",
"type": "string",
"format": "date-time"
},
"expiresAt": {
"description": "Date and time of the QoS session expiration. Format must follow RFC 3339 and must indicate time zone (UTC or local).\n- When `qosStatus` is \"AVAILABLE\", it is the limit time when the session is scheduled to finnish, if not terminated by other means.\n- When `qosStatus` is \"UNAVAILABLE\", it is the time when the session was terminated.\n- Not to be returned when `qosStatus` is \"REQUESTED\".\nWhen the session is extended, the value is the new expiration time of the session.\n",
"type": "string",
"format": "date-time"
},
"qosStatus": {
"$ref": "#/$defs/QosStatus"
},
"statusInfo": {
"$ref": "#/$defs/StatusInfo"
}
},
"required": [
"sessionId",
"duration",
"qosStatus"
]
}
],
"$defs": {
"ApplicationServer": {
"description": "A server hosting backend applications to deliver some business logic to clients.\n\nThe developer can choose to provide the below specified device identifiers:\n\n* `ipv4Address`\n* `ipv6Address`\n",
"type": "object",
"properties": {
"ipv4Address": {
"$ref": "#/$defs/ApplicationServerIpv4Address"
},
"ipv6Address": {
"$ref": "#/$defs/ApplicationServerIpv6Address"
}
},
"minProperties": 1
},
"ApplicationServerIpv4Address": {
"type": "string",
"description": "IPv4 address may be specified in form <address/mask> as:\n - address - an IPv4 number in dotted-quad form 1.2.3.4. Only this exact IP number will match the flow control rule.\n - address/mask - an IP number as above with a mask width of the form 1.2.3.4/24.\n In this case, all IP numbers from 1.2.3.0 to 1.2.3.255 will match. The bit width MUST be valid for the IP version.\n"
},
"ApplicationServerIpv6Address": {
"type": "string",
"description": "IPv6 address may be specified in form <address/mask> as:\n - address - The /128 subnet is optional for single addresses:\n - 2001:db8:85a3:8d3:1319:8a2e:370:7344\n - 2001:db8:85a3:8d3:1319:8a2e:370:7344/128\n - address/mask - an IP v6 number with a mask:\n - 2001:db8:85a3:8d3::0/64\n - 2001:db8:85a3:8d3::/64\n"
},
"BaseSessionInfo": {
"description": "Common attributes of a QoD session",
"type": "object",
"properties": {
"device": {
"$ref": "#/$defs/Device"
},
"applicationServer": {
"$ref": "#/$defs/ApplicationServer"
},
"devicePorts": {
"description": "The ports used locally by the device for flows to which the requested QoS profile should apply. If omitted, then the qosProfile will apply to all flows between the device and the specified application server address and ports",
"allOf": [
{
"$ref": "#/$defs/PortsSpec"
}
]
},
"applicationServerPorts": {
"description": "A list of single ports or port ranges on the application server",
"allOf": [
{
"$ref": "#/$defs/PortsSpec"
}
]
},
"qosProfile": {
"$ref": "#/$defs/QosProfileName"
},
"sink": {
"type": "string",
"format": "url",
"description": "The address to which events about all status changes of the session (e.g. session termination) shall be delivered, using the HTTP protocol."
},
"sinkCredential": {
"description": "A sink credential provides authentication or authorization information necessary to enable delivery of events to a target.",
"allOf": [
{
"$ref": "#/$defs/SinkCredential"
}
]
}
},
"required": [
"applicationServer",
"qosProfile"
]
},
"Device": {
"description": "End-user equipment able to connect to a mobile network. Examples of devices include smartphones or IoT sensors/actuators.\n\nThe developer can choose to provide the below specified device identifiers:\n\n* `ipv4Address`\n* `ipv6Address`\n* `phoneNumber`\n* `networkAccessIdentifier`\n\nNOTE1: the network operator might support only a subset of these options. The API invoker can provide multiple identifiers to be compatible across different network operators. In this case the identifiers MUST belong to the same device\nNOTE2: for the Commonalities release v0.4, we are enforcing that the networkAccessIdentifier is only part of the schema for future-proofing, and CAMARA does not currently allow its use. After the CAMARA meta-release work is concluded and the relevant issues are resolved, its use will need to be explicitly documented in the guidelines.\n",
"type": "object",
"properties": {
"phoneNumber": {
"$ref": "#/$defs/PhoneNumber"
},
"networkAccessIdentifier": {
"$ref": "#/$defs/NetworkAccessIdentifier"
},
"ipv4Address": {
"$ref": "#/$defs/DeviceIpv4Addr"
},
"ipv6Address": {
"$ref": "#/$defs/DeviceIpv6Address"
}
},
"minProperties": 1
},
"DeviceIpv4Addr": {
"type": "object",
"description": "The device should be identified by either the public (observed) IP address and port as seen by the application server, or the private (local) and any public (observed) IP addresses in use by the device (this information can be obtained by various means, for example from some DNS servers).\n\nIf the allocated and observed IP addresses are the same (i.e. NAT is not in use) then the same address should be specified for both publicAddress and privateAddress.\n\nIf NAT64 is in use, the device should be identified by its publicAddress and publicPort, or separately by its allocated IPv6 address (field ipv6Address of the Device object)\n\nIn all cases, publicAddress must be specified, along with at least one of either privateAddress or publicPort, dependent upon which is known. In general, mobile devices cannot be identified by their public IPv4 address alone.\n",
"properties": {
"publicAddress": {
"$ref": "#/$defs/SingleIpv4Addr"
},
"privateAddress": {
"$ref": "#/$defs/SingleIpv4Addr"
},
"publicPort": {
"$ref": "#/$defs/Port"
}
},
"anyOf": [
{
"required": [
"publicAddress",
"privateAddress"
]
},
{
"required": [
"publicAddress",
"publicPort"
]
}
]
},
"DeviceIpv6Address": {
"description": "The device should be identified by the observed IPv6 address, or by any single IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to the /64 prefix).\n\nThe session shall apply to all IP flows between the device subnet and the specified application server, unless further restricted by the optional parameters devicePorts or applicationServerPorts.\n",
"type": "string",
"format": "ipv6"
},
"NetworkAccessIdentifier": {
"description": "A public identifier addressing a subscription in a mobile network. In 3GPP terminology, it corresponds to the GPSI formatted with the External Identifier ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the network access identifier is not subjected to portability ruling in force, and is individually managed by each operator.",
"type": "string"
},
"PhoneNumber": {
"description": "A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.",
"type": "string",
"pattern": "^\\+[1-9][0-9]{4,14}$"
},
"Port": {
"description": "TCP or UDP port number",
"type": "integer",
"minimum": 0,
"maximum": 65535
},
"PortsSpec": {
"description": "Specification of several TCP or UDP ports",
"type": "object",
"minProperties": 1,
"properties": {
"ranges": {
"description": "Range of TCP or UDP ports",
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"from": {
"$ref": "#/$defs/Port"
},
"to": {
"$ref": "#/$defs/Port"
}
}
}
},
"ports": {
"description": "Array of TCP or UDP ports",
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/Port"
}
}
}
},
"QosProfileName": {
"description": "A unique name for identifying a specific QoS profile.\nThis may follow different formats depending on the service providers implementation.\nSome options addresses:\n - A UUID style string\n - Support for predefined profiles QOS_S, QOS_M, QOS_L, and QOS_E\n - A searchable descriptive name\nThe set of QoS Profiles that an operator is offering can be retrieved by means of the [QoS Profile API](link TBC).\n",
"type": "string",
"minLength": 3,
"maxLength": 256,
"format": "string",
"pattern": "^[a-zA-Z0-9_.-]+$"
},
"QosStatus": {
"description": "The current status of the requested QoS session. The status can be one of the following:\n* `REQUESTED` - QoS has been requested by creating a session\n* `AVAILABLE` - The requested QoS has been provided by the network\n* `UNAVAILABLE` - The requested QoS cannot be provided by the network due to some reason\n",
"type": "string",
"enum": [
"REQUESTED",
"AVAILABLE",
"UNAVAILABLE"
]
},
"SessionId": {
"description": "Session ID in UUID format",
"type": "string",
"format": "uuid"
},
"SingleIpv4Addr": {
"description": "A single IPv4 address with no subnet mask",
"type": "string",
"format": "ipv4"
},
"SinkCredential": {
"type": "object",
"properties": {
"credentialType": {
"type": "string",
"enum": [
"PLAIN",
"ACCESSTOKEN",
"REFRESHTOKEN"
],
"description": "The type of the credential. With the current API version the type MUST be set to `ACCESSTOKEN`"
}
},
"required": [
"credentialType"
]
},
"StatusInfo": {
"description": "Reason for the new `qosStatus`. Currently `statusInfo` is only applicable when `qosStatus` is 'UNAVAILABLE'.\n* `DURATION_EXPIRED` - Session terminated due to requested duration expired\n* `NETWORK_TERMINATED` - Network terminated the session before the requested duration expired\n* `DELETE_REQUESTED`- User requested the deletion of the session before the requested duration expired\n",
"type": "string",
"enum": [
"DURATION_EXPIRED",
"NETWORK_TERMINATED",
"DELETE_REQUESTED"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/gsma-session-info"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.