Get current session
GET
header
X-Session-Token<token>Kratos session JWT token. Alternative to cookie authentication for non-browser clients.
OK
application/json- response
identity*session*tenant?curl -X GET 'https://api.omnibase.tech/api/v1/auth/session'Example Response
{ "identity": { "AdditionalProperties": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "credentials": { "property1": { "AdditionalProperties": { "property1": null, "property2": null }, "config": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "identifiers": [ "string" ], "type": "string", "updated_at": "2019-08-24T14:15:22Z", "version": 0 }, "property2": { "AdditionalProperties": { "property1": null, "property2": null }, "config": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "identifiers": [ "string" ], "type": "string", "updated_at": "2019-08-24T14:15:22Z", "version": 0 } }, "id": "string", "metadata_admin": null, "metadata_public": null, "organization_id": {}, "recovery_addresses": [ { "AdditionalProperties": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "id": "string", "updated_at": "2019-08-24T14:15:22Z", "value": "string", "via": "string" } ], "schema_id": "string", "schema_url": "string", "state": "string", "state_changed_at": "2019-08-24T14:15:22Z", "traits": null, "updated_at": "2019-08-24T14:15:22Z", "verifiable_addresses": [ { "AdditionalProperties": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "id": "string", "status": "string", "updated_at": "2019-08-24T14:15:22Z", "value": "string", "verified": true, "verified_at": "2019-08-24T14:15:22Z", "via": "string" } ] }, "session": { "AdditionalProperties": { "property1": null, "property2": null }, "active": true, "authenticated_at": "2019-08-24T14:15:22Z", "authentication_methods": [ { "AdditionalProperties": { "property1": null, "property2": null }, "aal": "string", "completed_at": "2019-08-24T14:15:22Z", "method": "string", "organization": "string", "provider": "string" } ], "authenticator_assurance_level": "string", "devices": [ { "AdditionalProperties": { "property1": null, "property2": null }, "id": "string", "ip_address": "string", "location": "string", "user_agent": "string" } ], "expires_at": "2019-08-24T14:15:22Z", "id": "string", "identity": { "AdditionalProperties": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "credentials": { "property1": { "AdditionalProperties": { "property1": null, "property2": null }, "config": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "identifiers": [ "string" ], "type": "string", "updated_at": "2019-08-24T14:15:22Z", "version": 0 }, "property2": { "AdditionalProperties": { "property1": null, "property2": null }, "config": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "identifiers": [ "string" ], "type": "string", "updated_at": "2019-08-24T14:15:22Z", "version": 0 } }, "id": "string", "metadata_admin": null, "metadata_public": null, "organization_id": {}, "recovery_addresses": [ { "AdditionalProperties": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "id": "string", "updated_at": "2019-08-24T14:15:22Z", "value": "string", "via": "string" } ], "schema_id": "string", "schema_url": "string", "state": "string", "state_changed_at": "2019-08-24T14:15:22Z", "traits": null, "updated_at": "2019-08-24T14:15:22Z", "verifiable_addresses": [ { "AdditionalProperties": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "id": "string", "status": "string", "updated_at": "2019-08-24T14:15:22Z", "value": "string", "verified": true, "verified_at": "2019-08-24T14:15:22Z", "via": "string" } ] }, "issued_at": "2019-08-24T14:15:22Z", "tokenized": "string" }, "tenant": { "created_at": "2019-08-24T14:15:22Z", "enterprise_id": "string", "enterprise_template": "string", "id": "string", "name": "string", "stripe_customer_id": "string", "type": "string", "updated_at": "2019-08-24T14:15:22Z" }}