List Executions
POST/v2beta/actions/executions/_search
List all matching executions. By default all executions of the instance are returned that have at least one execution target. Make sure to include a limit and sorting for pagination.
Required permission:
action.execution.read
Required feature flag:
actions
Request​
Query Parameters
Starting point for retrieval, in combination of offset used to query a set list of objects.
limit is the maximum amount of objects returned. The default is set to 100 with a maximum of 1000 in the runtime configuration. If the limit exceeds the maximum configured ZITADEL will throw an error. If no limit is present the default is taken.
Asc is the sorting order. If true the list is sorted ascending, if false the list is sorted descending. The default is descending.
Possible values: [EXECUTION_FIELD_NAME_UNSPECIFIED
, EXECUTION_FIELD_NAME_ID
, EXECUTION_FIELD_NAME_CREATED_DATE
, EXECUTION_FIELD_NAME_CHANGED_DATE
]
Default value: EXECUTION_FIELD_NAME_UNSPECIFIED
The field the result is sorted by. The default is the creation date. Beware that if you change this, your result pagination might be inconsistent.
Responses​
- 200
- 400
- 403
- 404
- default
A list of all non noop executions matching the query
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
pagination
object
Absolute number of objects matching the query, regardless of applied limit.
Applied limit from query, defines maximum amount of objects per request, to compare if all objects are returned.
result
object[]
condition
object
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
The timestamp of the execution creation.
The timestamp of the last change to the execution.
targets
object[]
Ordered list of targets/includes called during the execution.
Unique identifier of existing target to call.
include
object
Unique identifier of existing execution to include targets of.
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
{
"pagination": {
"totalResult": "100",
"appliedLimit": "100"
},
"result": [
{
"condition": {
"request": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"response": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"function": {
"name": "string"
},
"event": {
"event": "user.human.added",
"group": "user.human",
"all": true
}
},
"creationDate": "2024-12-18T07:50:47.492Z",
"changeDate": "2025-01-23T10:34:18.051Z",
"targets": [
{
"target": "string",
"include": {
"request": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"response": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"function": {
"name": "string"
},
"event": {
"event": "user.human.added",
"group": "user.human",
"all": true
}
}
}
]
}
]
}
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
pagination
object
Absolute number of objects matching the query, regardless of applied limit.
Applied limit from query, defines maximum amount of objects per request, to compare if all objects are returned.
result
object[]
condition
object
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
The timestamp of the execution creation.
The timestamp of the last change to the execution.
targets
object[]
Ordered list of targets/includes called during the execution.
Unique identifier of existing target to call.
include
object
Unique identifier of existing execution to include targets of.
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
{
"pagination": {
"totalResult": "100",
"appliedLimit": "100"
},
"result": [
{
"condition": {
"request": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"response": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"function": {
"name": "string"
},
"event": {
"event": "user.human.added",
"group": "user.human",
"all": true
}
},
"creationDate": "2024-12-18T07:50:47.492Z",
"changeDate": "2025-01-23T10:34:18.051Z",
"targets": [
{
"target": "string",
"include": {
"request": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"response": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"function": {
"name": "string"
},
"event": {
"event": "user.human.added",
"group": "user.human",
"all": true
}
}
}
]
}
]
}
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
pagination
object
Absolute number of objects matching the query, regardless of applied limit.
Applied limit from query, defines maximum amount of objects per request, to compare if all objects are returned.
result
object[]
condition
object
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
The timestamp of the execution creation.
The timestamp of the last change to the execution.
targets
object[]
Ordered list of targets/includes called during the execution.
Unique identifier of existing target to call.
include
object
Unique identifier of existing execution to include targets of.
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
{
"pagination": {
"totalResult": "100",
"appliedLimit": "100"
},
"result": [
{
"condition": {
"request": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"response": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"function": {
"name": "string"
},
"event": {
"event": "user.human.added",
"group": "user.human",
"all": true
}
},
"creationDate": "2024-12-18T07:50:47.492Z",
"changeDate": "2025-01-23T10:34:18.051Z",
"targets": [
{
"target": "string",
"include": {
"request": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"response": {
"method": "/zitadel.session.v2.SessionService/ListSessions",
"service": "zitadel.session.v2.SessionService",
"all": true
},
"function": {
"name": "string"
},
"event": {
"event": "user.human.added",
"group": "user.human",
"all": true
}
}
}
]
}
]
}
Invalid list query or the feature flag actions
is not enabled.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
Schema
any
- Schema
Schema
any
- Schema
Schema
any
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
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
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
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
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
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}