Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
  • Event actions
  • Events
  • Event queries
Cloud
Audit Log / Reference / REST API

About

Postman Collection
OpenAPI

Generally available November 30, 2026

The Workspace Events API is published for pre-release review and is not yet supported for production use. API details may change before general availability.

Audit Log is a public Cloud Admin API collection for developers, security teams, and compliance teams that integrate Atlassian audit activity with monitoring, investigation, reporting, and compliance workflows.

The Workspace Events API is the first API in the collection. This public v1 API provides a common event model for retrieving audit events from Jira and Confluence workspaces.

Use the synchronous events endpoint to retrieve a page of matching events immediately. Use event queries to create and manage an asynchronous search, then retrieve its results when processing is complete.

Requests are scoped to the workspace identified in the path. The API enforces tenant and workspace boundaries, authentication, and authorization for every request. Data residency for audit data follows the organization's data residency configuration.

Version and URI

Workspace Events resources use the /audit-log/v1 path. Send requests through the Atlassian global API gateway:

1
2
https://api.atlassian.com/audit-log/v1/<resource>

You can also use the site-based gateway:

1
2
https://<site>.atlassian.net/gateway/api/audit-log/v1/<resource>

Response links and Location headers are absolute URLs rooted at the gateway used for the request.

Authentication and authorization

The Workspace Events API supports these authentication methods:

  • Basic authentication: Use an Atlassian account email address and API token.
  • OAuth 2.0 for Jira: Use manage:jira-configuration, or use both read:audit-log:jira and read:user:jira.
  • OAuth 2.0 for Confluence: Use read:audit-log:confluence.
  • Jira Connect: Authenticate with JWT and the READ scope.

Confluence Connect authentication is not supported.

Authentication and scopes do not grant access by themselves. The user must have permission to administer the requested Jira or Confluence workspace. An OAuth app can only access workspaces and data that the authorizing user can access. A request fails with 403 Forbidden when the caller lacks a required scope, permission, or eligible workspace edition.

Workspaces and workspace IDs

A workspace is a Jira or Confluence site. Workspace-scoped operations identify the site with a URL-encoded workspace ARI in the workspaceId path parameter.

To create a workspace ID:

  1. Get the cloud ID for the site.
    • For OAuth 2.0, call GET https://api.atlassian.com/oauth/token/accessible-resources with the access token. Select the site from the response and use its id.
    • If you know the site URL, call GET https://<site>.atlassian.net/_edge/tenant_info and use the returned cloudId.
  2. Create the ARI for the product:
    • Jira: ari:cloud:jira::site/<cloudId>
    • Confluence: ari:cloud:confluence::site/<cloudId>
  3. URL-encode the complete ARI once and supply the result as workspaceId. Do not supply the cloud ID by itself.

For example, the Jira workspace ARI ari:cloud:jira::site/11223344-a1b2-3b33-c444-def123456789 becomes:

1
2
ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789

Make a workspace request to validate the ID and the caller's access. A malformed ID returns 400 Bad Request. A workspace that does not exist or is not visible to the caller returns 404 Not Found.

Make your first request

The following OAuth 2.0 request uses Get workspace events to retrieve one event from a Jira workspace. Replace ACCESS_TOKEN and the example workspace ID:

1
2
3
4
5
curl --request GET \
  --url 'https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/events?limit=1' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN'

A successful request returns a cursor-paginated event page. This response is illustrative; optional event properties can be absent, and properties explicitly marked nullable can be null.

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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
  "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"
            }
          }
        ],
        "container": [
          {
            "id": "11223344-a1b2-3b33-c444-def123456789",
            "type": "site"
          }
        ],
        "location": {
          "ip": "203.0.113.10",
          "city": "Atlanta",
          "regionName": "Georgia",
          "countryName": "United States"
        }
      },
      "links": {
        "self": "https://api.atlassian.com/admin/v1/orgs/example-org/events/0199d36a-08a1-7f04-9505-1f6d0a64de55",
        "alt": "https://api.atlassian.com/ex/jira/11223344-a1b2-3b33-c444-def123456789/rest/api/3/project/PROJECT-123"
      },
      "message": {
        "content": "Example User updated Example project",
        "format": "simple"
      }
    }
  ],
  "links": {
    "self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/events?limit=1"
  },
  "meta": {
    "total": 1
  }
}

Event actions

Event actions identify the activity recorded by an audit event. Get the available event-action catalog before constructing an action filter. The catalog is unpaginated, can be empty, and has no guaranteed order. It is scoped to a workspace, and the API infers the Jira or Confluence product from the workspace ARI. The caller must have access to the workspace.

For example, use Get event actions to retrieve the catalog for a Jira workspace:

1
2
3
4
5
curl --request GET \
  --url 'https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-actions' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN'

Use the lower-case, de-duplicated id of a returned event action as an action filter. Display and group names are localized labels, can be empty, and are not accepted as filter values.

Send one BCP 47 language tag in Accept-Language to request localized action labels and event content. Omit the header to use US English. Weighted language lists and quality values are not negotiated.

Retrieving and filtering events

Retrieve events synchronously for one workspace with Get workspace events. The endpoint supports these filters:

  • from and to: Optional lower and upper event-time bounds. Values can be Unix epoch timestamps in milliseconds or ISO 8601 timestamps. When both are present, from must not be later than to.
  • action: An event-action ID from the event-action catalog.
  • actors: A URL-percent-encoded JSON array of 1 to 10 unique actor objects. An object can contain an id, name, email, or any combination of these properties.
  • ip: An actor IP address. You can supply up to 10 values.
  • locations: A URL-percent-encoded JSON array of 1 to 10 unique location objects. An object can contain city, regionName, countryName, or any combination of these properties.
  • q: Attribute-based search that matches the complete input against context attribute values.

Actor and location objects within their arrays are combined with OR. Populated properties within one object are combined with AND and matched exactly. Repeated values within the other filters are combined with OR, and different filters are combined with AND. Send actors and locations at most once; repeat action and ip instead of sending comma-separated values.

The q filter is not an unrestricted free-text search: it matches the complete supplied value against context attributes. The endpoint returns events in descending time order, newest first, and does not provide a parameter for changing the order.

Filter Jira events

For Jira OAuth 2.0, use manage:jira-configuration, or use both read:audit-log:jira and read:user:jira. This request returns Jira project-update events performed by either of two actors during a time range:

1
2
3
4
5
curl --request GET \
  --url 'https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/events?from=2026-08-01T00%3A00%3A00Z&to=2026-08-02T00%3A00%3A00Z&action=project_updated&actors=%5B%7B%22id%22%3A%22712020%3Aabc123%22%7D%2C%7B%22id%22%3A%22712020%3Adef456%22%7D%5D&limit=100' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN'

The two objects in the actors array are ORed. The actor, action, and time filters are ANDed. The response has the same data and links structure as the response in Make your first request.

Filter Confluence events

Use a Confluence workspace ARI and the read:audit-log:confluence OAuth 2.0 scope to retrieve Confluence events. This request retrieves page-creation events from Australia for 27 August 2026 UTC:

1
2
3
4
5
curl --request GET \
  --url 'https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Aconfluence%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/events?from=1787788800000&to=1787875200000&action=confluence_page_created&locations=%5B%7B%22countryName%22%3A%22Australia%22%7D%5D&limit=100' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN'

A matching page-creation event can produce this response:

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
36
37
{
  "data": [
    {
      "id": "confluence-page-created-001",
      "type": "events",
      "attributes": {
        "time": "2026-08-27T14:00:00Z",
        "action": "confluence_page_created",
        "actor": {
          "id": "712020:def456",
          "name": "Example User"
        },
        "context": [
          {
            "id": "9338910",
            "type": "page",
            "attributes": {
              "contentTitle": "Project plan",
              "spaceId": "33333"
            }
          }
        ],
        "location": {
          "ip": "203.0.113.10",
          "countryName": "Australia"
        }
      }
    }
  ],
  "links": {
    "self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Aconfluence%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/events?from=1787788800000&to=1787875200000&action=confluence_page_created&locations=%5B%7B%22countryName%22%3A%22Australia%22%7D%5D&limit=100"
  },
  "meta": {
    "total": 1
  }
}

Understanding event responses

Each item in a synchronous event page follows the WorkspaceEvent schema in the Get workspace events response. Every event has an id, a type, and attributes. The attributes always include:

  • time: The event time in ISO 8601 format.
  • action: The stable event-action ID.
  • actor: The account or application that caused the event. Only its id is required.
  • context: Resources that provide context for the event. Each object has an id and type; its attributes depend on the object and product.

Other event, actor, location, link, and message fields are optional. Code that consumes events should allow optional properties to be absent and properties explicitly marked nullable to be null. Do not assume that Jira and Confluence events populate the same fields.

A successful request with no matches returns 200 OK, an empty data array, and a links.self URL:

1
2
3
4
5
6
7
8
9
10
{
  "data": [],
  "links": {
    "self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/events?action=project_updated&limit=100"
  },
  "meta": {
    "total": 0
  }
}

Asynchronous event queries

Use the synchronous events endpoint when you need one bounded page of events immediately. Use an asynchronous event query for a larger search that can finish in the background. An asynchronous query captures its filters when you create it and materializes a result set for later retrieval.

Create an event query

Use Create an event query with at least one of these filters:

  • from and to: A time range in Unix epoch milliseconds or ISO 8601 timestamps. Include both values or omit both.
  • action: One or more event-action IDs.
  • actors: 1 to 10 unique actor objects containing id, name, email, or any combination of these properties.
  • ip: Up to 10 actor IP addresses.
  • locations: 1 to 10 unique location objects containing city, regionName, countryName, or any combination of these properties.
  • q: Attribute-based search that matches the complete input against context attribute values.

Actor and location objects within their arrays are ORed. Populated properties within one object are ANDed and matched exactly. Values within the other filter arrays are ORed, and different filters are ANDed.

This request creates a Jira project-update query for one day:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
curl --request POST \
  --url 'https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "filters": {
      "from": "2026-08-01T00:00:00Z",
      "to": "2026-08-02T00:00:00Z",
      "action": [
        "project_updated"
      ],
      "actors": [
        {
          "id": "712020:abc123"
        }
      ],
      "q": "PROJECT-123"
    }
  }'

A successful request returns 202 Accepted. Save the query resource URL from the Location header. The response body also contains the query ID and links for checking status, retrieving results, and cancelling the query. Response filters always represent event times as Unix epoch milliseconds:

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
HTTP/1.1 202 Accepted
Location: https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55
Content-Type: application/json

{
  "data": {
    "id": "0199d36a-08a1-7f04-9505-1f6d0a64de55",
    "type": "eventQueries",
    "attributes": {
      "status": "QUEUED",
      "filters": {
        "from": 1785542400000,
        "to": 1785628800000,
        "action": [
          "project_updated"
        ],
        "actors": [
          {
            "id": "712020:abc123"
          }
        ],
        "q": "PROJECT-123"
      }
    },
    "links": {
      "self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55",
      "results": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/results",
      "cancel": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/cancel"
    }
  }
}

Query creation does not support an idempotency key. Do not automatically retry a create request when the outcome is unknown, because a retry can create another query.

List event queries

Use List event queries to find event queries visible to the caller in a workspace. Use the returned status and links to resume polling or retrieving results. Follow links.next to list additional queries.

Check status and retrieve results

A query has one of these statuses:

  • QUEUED or IN_PROGRESS: The query is still running.
  • COMPLETED: Results are available.
  • FAILED: The query did not complete.
  • CANCELLED: The query was cancelled.

COMPLETED, FAILED, and CANCELLED are terminal states. Do not assume that a query passes through every in-flight state before it reaches a terminal state.

You can check the query's links.self URL for its current status or poll its links.results URL directly. A results request returns 202 Accepted and a Retry-After header while the query is still running:

1
2
3
4
5
curl --include --request GET \
  --url 'https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/results?limit=100' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN'
1
2
3
HTTP/1.1 202 Accepted
Retry-After: 5

Wait for the number of seconds in Retry-After before requesting results again. For network failures and transient 429 or 5xx responses, use bounded exponential backoff with jitter. If a transient response includes Retry-After, wait at least that long. Set a client-side timeout for the complete polling operation. When the timeout is reached, stop polling and optionally cancel the query.

A completed query returns 200 OK and a cursor-paginated event page:

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
36
37
{
  "data": [
    {
      "id": "0199d36a-08a1-7f04-9505-1f6d0a64de56",
      "type": "events",
      "attributes": {
        "time": "2026-08-01T12: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%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/results?limit=100",
    "next": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/results?cursor=opaque-token&limit=100"
  },
  "meta": {
    "total": 1
  }
}

Follow links.next without modifying it until the response no longer contains a next link. For more information, see Pagination.

Cancel a query

You can cancel a query while its status is QUEUED or IN_PROGRESS. Send a request to its links.cancel URL:

1
2
3
4
curl --request POST \
  --url 'https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/cancel' \
  --header 'Authorization: Bearer ACCESS_TOKEN'

A successful cancellation request returns 202 Accepted with an empty body. A subsequent request to the query's links.self URL returns its terminal status:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "data": {
    "id": "0199d36a-08a1-7f04-9505-1f6d0a64de55",
    "type": "eventQueries",
    "attributes": {
      "status": "CANCELLED"
    },
    "links": {
      "self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55",
      "results": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/results",
      "cancel": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/cancel"
    }
  }
}

Cancelling a query that is already in a terminal state returns 409 Conflict with the QUERY_STATE_CONFLICT error code.

Handle failed, cancelled, and expired results

Check links.self when a results request returns 409 Conflict. A query with a FAILED or CANCELLED status has no results to retrieve. For example, a query that did not complete has this terminal status:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "data": {
    "id": "0199d36a-08a1-7f04-9505-1f6d0a64de55",
    "type": "eventQueries",
    "attributes": {
      "status": "FAILED"
    },
    "links": {
      "self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55",
      "results": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/results",
      "cancel": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries/0199d36a-08a1-7f04-9505-1f6d0a64de55/cancel"
    }
  }
}

Stop polling a failed query. Creating another query starts a separate operation. A results request for a failed or cancelled query returns:

1
2
3
4
5
6
{
  "errorCode": "QUERY_STATE_CONFLICT",
  "message": "The requested operation is not valid for the query's current state.",
  "timestamp": "2026-11-02T12:00:00Z"
}

An event query materializes up to 10,000 matching events. Completed query results are retained for 7 days. The API does not return an exact expiry timestamp, so retrieve and persist all result pages promptly. If a search can return more than 10,000 events, use narrower filters and run additional queries. After the results expire, the results endpoint returns 410 Gone:

1
2
3
4
5
6
{
  "errorCode": "QUERY_RESULTS_EXPIRED",
  "message": "The event query results have expired.",
  "timestamp": "2026-11-02T12:00:00Z"
}

The service also limits the number of event queries that can be in flight. If a create request returns 429 Too Many Requests, wait for an existing query to reach a terminal state before creating another query.

Migrating from product audit APIs

Workspace Events replaces product-specific audit retrieval with workspace ARIs, cursor pagination, published event-action identifiers, and a common event model. Existing action names, fields, filters, and response shapes do not necessarily map one-to-one. Update request construction and response parsing before switching an integration.

Choose the retrieval mode based on the workflow and expected result volume:

  • Use synchronous workspace events for interactive, recent, or narrowly filtered retrieval.
  • Use asynchronous event queries for exports, backfills, or larger, bounded result sets that can run in the background.

Both modes support comparable filters, so complex filtering alone doesn't require an asynchronous query. If a result set can exceed the 10,000-event query limit, partition it with narrower time ranges or additional filters.

Jira

Migrate from Get audit records to Get workspace events. Use Get event actions to identify supported Jira action filters.

Confluence

When migrating from the Confluence Audit API:

  • Replace GET /wiki/rest/api/audit and GET /wiki/rest/api/audit/since with Get workspace events.
  • Replace GET /wiki/rest/api/audit/export with an asynchronous event query, then retrieve each result page.
  • Confluence audit-retention configuration and audit-record creation do not have Workspace Events migration paths. These capabilities aren't supported long term.

Pagination

Event pages, event-query lists, and event-query results use cursor pagination. When a page has more results, links.next contains the complete URL for the next page:

1
2
3
4
5
6
7
{
  "links": {
    "self": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/events?action=project_updated&limit=100",
    "next": "https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/events?action=project_updated&cursor=opaque-token&limit=100"
  }
}

Follow links.next without changing it. Cursors are opaque and are valid for the filter set that produced them. Do not construct, decode, or reuse a cursor with different filters. The absence of links.next means that the current traversal has no more pages.

Event and result pages contain up to 1,000 items and default to 100. Event-query lists contain up to 500 items and default to 100.

Rate limits

Creating an event query can return 429 Too Many Requests when the caller reaches the in-flight event-query limit. Wait for an existing query to reach a terminal state before creating another query, and wait at least the number of seconds in the required Retry-After header.

Errors and troubleshooting

Check the documented responses for the operation you are calling. Handle the HTTP status first. Errors generated by the Workspace Events service use the PublicApiError schema with errorCode, message, and timestamp fields. Errors returned by gateway or edge infrastructure before a request reaches the service follow those infrastructure contracts. Do not make decisions by matching error-message text.

StatusLikely causeDeveloper action
400 Bad RequestThe workspace ID, cursor, limit, filter, time range, or request body is malformed or unsupported.Correct the request before retrying. URL-encode the complete workspace ARI once, use an unmodified cursor from links.next, and check the operation's parameter constraints.
401 UnauthorizedAuthentication is missing, expired, or invalid.Create or refresh the credential and send it using the authentication method required by the app. Do not retry with the same credential.
403 ForbiddenThe caller lacks a required scope, workspace administration permission, or eligible product edition.Check the app scopes, the authorizing user's access, the workspace product, and its edition. Retrying without changing access does not resolve this response.
404 Not FoundThe workspace or event query does not exist or is not visible to the caller.Verify the workspace and query IDs and use the same caller that created the query. Do not retry an unchanged request.
409 ConflictThe requested operation is not valid for the event query's current state.Get the query and inspect its status. Stop requesting results for a failed or cancelled query, and do not cancel a terminal query.
410 GoneMaterialized event-query results have passed their 7-day retention period.Create a new query. Retrieve and persist every result page promptly after a query completes.
429 Too Many RequestsThe caller has reached the service-managed in-flight event-query limit.Wait for an existing query to reach a terminal state before creating another one, and honor the required Retry-After header.
5xxA gateway or service failure prevented the request from completing.Check Atlassian Status, then retry idempotent requests with bounded exponential backoff and jitter. Stop after a client-defined retry limit or timeout.

Application-generated errors use these stable public error codes:

  • INVALID_PARAMETER: A request parameter or request-body value is invalid. Correct the request before retrying. For an invalid cursor, restart pagination without that cursor.
  • UNAUTHORIZED: Authentication is missing or invalid. Create or refresh the credential before retrying.
  • FORBIDDEN: The caller lacks required access. Check app scopes, workspace permissions, and product eligibility.
  • NOT_FOUND: The workspace or event query does not exist or is not visible to the caller. Verify the workspace and query IDs and caller access.
  • QUERY_STATE_CONFLICT: The operation is not valid for the query's current state. Get the query status before taking another action.
  • QUERY_RESULTS_EXPIRED: The materialized results are no longer available. Create a new query and retrieve its results promptly.
  • TOO_MANY_REQUESTS: The caller has reached the in-flight query limit. Wait for capacity and honor Retry-After.
  • INTERNAL_ERROR: The service could not complete the request. Retry idempotent requests with bounded backoff.

Retry safely

A results request for a query that is still running returns 202 Accepted, not an error. Wait for the number of seconds in Retry-After before polling again.

For transient network failures, 429 responses, and 5xx responses, use bounded exponential backoff with jitter. A create-query 429 response includes Retry-After; wait at least that long. If another transient response includes Retry-After, honor it. Set a maximum number of attempts or an overall timeout.

Do not automatically retry a create-query request when its outcome is unknown. Query creation does not support an idempotency key, so another request can create a duplicate query. Do not retry other 4xx responses until you have corrected the request, access, or query state.

Diagnose unexpected results

A 200 OK response with an empty data array is successful. Check the workspace, event-action IDs, time range, filters, and every page before concluding that events are missing. Optional event fields can be absent, while fields explicitly marked nullable can be null. Jira and Confluence events do not always populate the same fields.

When troubleshooting, record the operation, timestamp, HTTP status, response body, and any request or trace identifier returned in the headers. Never record or share API tokens, authorization headers, or sensitive event data. Check Atlassian Status for incidents. If the problem continues, use the Audit Log support resources and provide the non-sensitive diagnostic details.

Vocabulary

Audit event: A record of an activity in a Jira or Confluence workspace.

Event action: The published identifier for the activity represented by an audit event.

Workspace: A Jira or Confluence site, identified in request paths by a URL-encoded workspace ARI.

Event query: An asynchronous, workspace-scoped search whose results are retrieved after processing completes.

Resources and support

Rate this page: