Search executions
POST/resources/v3alpha/actions/executions/_search
Search 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.
Request​
Query Parameters
Maximum amount of events returned. If not configured otherwise, the default is 100, the maximum is 1000. If the limit exceeds the maximum, ZITADEL throws an error.
default is ascending, because together with the creation date sorting column, this returns the most deterministic pagination results.
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.
- application/json
- application/grpc
- application/grpc-web+proto
Body
required
Define the criteria to query for.
Array [
Array [
]
]
inConditionsFilter
object
conditions
object[]
Defines the conditions to query for.
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.
executionTypeFilter
object
Possible values: [EXECUTION_TYPE_UNSPECIFIED
, EXECUTION_TYPE_REQUEST
, EXECUTION_TYPE_RESPONSE
, EXECUTION_TYPE_EVENT
, EXECUTION_TYPE_FUNCTION
]
Default value: EXECUTION_TYPE_UNSPECIFIED
Defines the type to query for.
targetFilter
object
the id of the targets to include
includeFilter
object
include
object
the id of the include
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.
Body
required
Define the criteria to query for.
Array [
Array [
]
]
inConditionsFilter
object
conditions
object[]
Defines the conditions to query for.
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.
executionTypeFilter
object
Possible values: [EXECUTION_TYPE_UNSPECIFIED
, EXECUTION_TYPE_REQUEST
, EXECUTION_TYPE_RESPONSE
, EXECUTION_TYPE_EVENT
, EXECUTION_TYPE_FUNCTION
]
Default value: EXECUTION_TYPE_UNSPECIFIED
Defines the type to query for.
targetFilter
object
the id of the targets to include
includeFilter
object
include
object
the id of the include
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.
Body
required
Define the criteria to query for.
Array [
Array [
]
]
inConditionsFilter
object
conditions
object[]
Defines the conditions to query for.
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.
executionTypeFilter
object
Possible values: [EXECUTION_TYPE_UNSPECIFIED
, EXECUTION_TYPE_REQUEST
, EXECUTION_TYPE_RESPONSE
, EXECUTION_TYPE_EVENT
, EXECUTION_TYPE_FUNCTION
]
Default value: EXECUTION_TYPE_UNSPECIFIED
Defines the type to query for.
targetFilter
object
the id of the targets to include
includeFilter
object
include
object
the id of the include
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.
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 [
]
]
details
object
the last time the projection got updated
result
object[]
details
object
the timestamp of the first event applied to the object.
the timestamp of the last event applied to the object.
owner
object
the parent object representing the returned objects context.
Possible values: [OWNER_TYPE_UNSPECIFIED
, OWNER_TYPE_SYSTEM
, OWNER_TYPE_INSTANCE
, OWNER_TYPE_ORG
]
Default value: OWNER_TYPE_UNSPECIFIED
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.
execution
object
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.
{
"details": {
"appliedLimit": 100,
"totalResult": "2",
"timestamp": "2024-11-22T09:27:09.847Z"
},
"result": [
{
"details": {
"id": "69629012906488334",
"created": "2024-11-22T09:27:09.847Z",
"changed": "2024-11-22T09:27:09.847Z",
"owner": "69629023906488334"
},
"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
}
},
"execution": {
"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 [
]
]
details
object
the last time the projection got updated
result
object[]
details
object
the timestamp of the first event applied to the object.
the timestamp of the last event applied to the object.
owner
object
the parent object representing the returned objects context.
Possible values: [OWNER_TYPE_UNSPECIFIED
, OWNER_TYPE_SYSTEM
, OWNER_TYPE_INSTANCE
, OWNER_TYPE_ORG
]
Default value: OWNER_TYPE_UNSPECIFIED
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.
execution
object
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.
{
"details": {
"appliedLimit": 100,
"totalResult": "2",
"timestamp": "2024-11-22T09:27:09.850Z"
},
"result": [
{
"details": {
"id": "69629012906488334",
"created": "2024-11-22T09:27:09.850Z",
"changed": "2024-11-22T09:27:09.850Z",
"owner": "69629023906488334"
},
"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
}
},
"execution": {
"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 [
]
]
details
object
the last time the projection got updated
result
object[]
details
object
the timestamp of the first event applied to the object.
the timestamp of the last event applied to the object.
owner
object
the parent object representing the returned objects context.
Possible values: [OWNER_TYPE_UNSPECIFIED
, OWNER_TYPE_SYSTEM
, OWNER_TYPE_INSTANCE
, OWNER_TYPE_ORG
]
Default value: OWNER_TYPE_UNSPECIFIED
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.
execution
object
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.
{
"details": {
"appliedLimit": 100,
"totalResult": "2",
"timestamp": "2024-11-22T09:27:09.853Z"
},
"result": [
{
"details": {
"id": "69629012906488334",
"created": "2024-11-22T09:27:09.853Z",
"changed": "2024-11-22T09:27:09.853Z",
"owner": "69629023906488334"
},
"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
}
},
"execution": {
"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
- 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 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"
}
]
}