Asynchronous workspace event-query lifecycle.
Returns event queries visible to the caller in the workspace.
manage:jira-configurationConnect app scope required: READ
string
Requiredstring
integer
A page of event queries.
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/audit-log/v1/workspaces/{workspaceId}/event-queries' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"data": [
{
"id": "0199d36a-08a1-7f04-9505-1f6d0a64de55",
"type": "eventQueries",
"attributes": {
"status": "IN_PROGRESS",
"filters": {
"action": [
"project_updated"
],
"q": "PROJECT-123"
}
},
"links": {
"self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55",
"results": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/results",
"cancel": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/cancel"
}
}
],
"links": {
"self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries?limit=100"
}
}Creates and queues an asynchronous workspace event query. The from
and to filters must either both be supplied or both be omitted.
manage:jira-configurationConnect app scope required: READ
string
RequiredoneOf [any, not [anyOf [object, object]]]
RequiredThe event query was accepted.
string
Required1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
curl --request POST \
--url 'https://api.atlassian.com/audit-log/v1/workspaces/{workspaceId}/event-queries' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"filters": {
"from": 1785542400000,
"to": 1785628800000,
"action": [
"project_updated"
],
"actors": [
{
"id": "712020:abc123",
"name": "Example User",
"email": "example@atlassian.com"
}
],
"q": "PROJECT-123",
"ip": [
"203.0.113.10"
],
"locations": [
{
"city": "Atlanta",
"regionName": "Georgia",
"countryName": "United States"
}
]
}
}'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"data": {
"id": "0199d36a-08a1-7f04-9505-1f6d0a64de55",
"type": "eventQueries",
"attributes": {
"status": "QUEUED",
"filters": {
"action": [
"project_updated"
],
"q": "PROJECT-123"
}
},
"links": {
"self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55",
"results": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/results",
"cancel": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/cancel"
}
}
}Returns the current status and details of an event query.
manage:jira-configurationConnect app scope required: READ
string
Requiredstring
RequiredThe event query.
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/audit-log/v1/workspaces/{workspaceId}/event-queries/{queryId}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"data": {
"id": "0199d36a-08a1-7f04-9505-1f6d0a64de55",
"type": "eventQueries",
"attributes": {
"status": "QUEUED",
"filters": {
"action": [
"project_updated"
],
"q": "PROJECT-123"
}
},
"links": {
"self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55",
"results": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/results",
"cancel": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/cancel"
}
}
}Returns a page of results for a completed event query. While the query
is queued or in progress, the response is 202 Accepted with a
Retry-After header.
manage:jira-configurationConnect app scope required: READ
string
Requiredstring
Requiredstring
integer
string
A page of matching events.
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/audit-log/v1/workspaces/{workspaceId}/event-queries/{queryId}/results' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"data": [
{
"id": "0199d36a-08a1-7f04-9505-1f6d0a64de55",
"type": "events",
"attributes": {
"time": "2026-11-02T12:00:00Z",
"action": "project_updated",
"actor": {
"id": "712020:abc123",
"name": "Example User"
},
"context": [
{
"id": "PROJECT-123",
"type": "project",
"attributes": {
"name": "Example project"
}
}
]
},
"message": {
"content": "Example User updated Example project",
"format": "text"
}
}
],
"links": {
"self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/results?limit=100"
},
"meta": {
"total": 1
}
}Cancels an event query that has not reached a terminal state.
manage:jira-configurationConnect app scope required: READ
string
Requiredstring
RequiredThe cancellation request was accepted.
1
2
3
curl --request POST \
--url 'https://api.atlassian.com/audit-log/v1/workspaces/{workspaceId}/event-queries/{queryId}/cancel' \
--user 'email@example.com:<api_token>'Rate this page: