Search sessions
Search for sessions
- application/json
- application/grpc
- application/grpc-web+proto
Request Body required
query object
queries object[]
Request Body required
query object
queries object[]
Request Body required
query object
queries object[]
Responses
- 200
- 400
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details object
sessions object[]
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"timestamp": "2023-05-12"
},
"sessions": [
{
"id": "string",
"creationDate": "2023-05-12",
"changeDate": "2023-05-12",
"sequence": "string",
"factors": {
"user": {
"verifiedAt": "2023-05-12",
"id": "string",
"loginName": "string",
"displayName": "string"
},
"password": {
"verifiedAt": "2023-05-12"
}
},
"metadata": {}
}
]
}
- Schema
- Example (from schema)
Schema
details object
sessions object[]
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"timestamp": "2023-05-12"
},
"sessions": [
{
"id": "string",
"creationDate": "2023-05-12",
"changeDate": "2023-05-12",
"sequence": "string",
"factors": {
"user": {
"verifiedAt": "2023-05-12",
"id": "string",
"loginName": "string",
"displayName": "string"
},
"password": {
"verifiedAt": "2023-05-12"
}
},
"metadata": {}
}
]
}
- Schema
- Example (from schema)
Schema
details object
sessions object[]
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"timestamp": "2023-05-12"
},
"sessions": [
{
"id": "string",
"creationDate": "2023-05-12",
"changeDate": "2023-05-12",
"sequence": "string",
"factors": {
"user": {
"verifiedAt": "2023-05-12",
"id": "string",
"loginName": "string",
"displayName": "string"
},
"password": {
"verifiedAt": "2023-05-12"
}
},
"metadata": {}
}
]
}
invalid list query
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
POST /v2alpha/sessions/_search
Request
Request
curl -L -X POST 'https://$ZITADEL_DOMAIN/v2alpha/sessions/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"queries": [
{
"idsQuery": {
"ids": [
"string"
]
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/v2alpha/sessions/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"queries": [
{
"idsQuery": {
"ids": [
"string"
]
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/v2alpha/sessions/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"queries": [
{
"idsQuery": {
"ids": [
"string"
]
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/v2alpha/sessions/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"queries": [
{
"idsQuery": {
"ids": [
"string"
]
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/v2alpha/sessions/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"queries": [
{
"idsQuery": {
"ids": [
"string"
]
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/v2alpha/sessions/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"queries": [
{
"idsQuery": {
"ids": [
"string"
]
}
}
]
}'
curl -L -X POST 'https://$ZITADEL_DOMAIN/v2alpha/sessions/_search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"query": {
"offset": "0",
"limit": 100,
"asc": true
},
"queries": [
{
"idsQuery": {
"ids": [
"string"
]
}
}
]
}'