{"openapi":"3.0.3","info":{"title":"Workspace Events API","version":"1.0.0","description":"Retrieve audit events and manage asynchronous event queries for a Jira or\nConfluence workspace.\n\nA workspace is identified by a URL-encoded workspace ARI. Jira Connect\nauthentication is supported with the `READ` scope. Confluence Connect\nauthentication is not supported.\n\nApplication-generated errors use the `PublicApiError` schema. Errors\ngenerated by gateway or edge infrastructure before a request reaches this\nservice are governed by those infrastructure contracts.\n","license":{"name":"Atlassian Developer Terms","url":"https://developer.atlassian.com/platform/marketplace/atlassian-developer-terms/"}},"servers":[{"url":"https://api.atlassian.com","description":"Canonical Atlassian global API gateway. Response links and `Location`\nheaders are absolute URLs rooted at this entry point.\n"},{"url":"https://{site}.atlassian.net/gateway/api","description":"Site-based Atlassian API gateway. Workspace Events response links and\n`Location` headers are absolute URLs rooted at this entry point.\n","variables":{"site":{"default":"your-domain","description":"Atlassian site name."}}}],"tags":[{"name":"Event actions","description":"Published event-action metadata."},{"name":"Events","description":"Synchronous workspace event retrieval."},{"name":"Event queries","description":"Asynchronous workspace event-query lifecycle."}],"security":[{"basicAuth":[]},{"oauth2":["manage:jira-configuration"]},{"oauth2":["read:audit-log:jira","read:user:jira"]},{"oauth2":["read:audit-log:confluence"]},{"jiraConnectJwt":[]}],"paths":{"/audit-log/v1/workspaces/{workspaceId}/event-actions":{"parameters":[{"$ref":"#/components/parameters/WorkspaceId"}],"get":{"tags":["Event actions"],"summary":"Get event actions","description":"Returns the event actions available for the workspace. The application\nis inferred from the workspace ARI supplied in the request path.\n","operationId":"getEventActions","x-atlassian-connect-scope":"READ","parameters":[{"$ref":"#/components/parameters/AcceptLanguage"}],"responses":{"200":{"description":"Event-action catalog available for the workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventActionPage"},"examples":{"jiraCatalog":{"$ref":"#/components/examples/JiraEventActionPage"},"confluenceCatalog":{"$ref":"#/components/examples/ConfluenceEventActionPage"},"localizedCatalog":{"$ref":"#/components/examples/LocalizedEventActionPage"},"emptyCatalog":{"$ref":"#/components/examples/EmptyEventActionPage"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}}}},"/audit-log/v1/workspaces/{workspaceId}/events":{"parameters":[{"$ref":"#/components/parameters/WorkspaceId"}],"get":{"tags":["Events"],"summary":"Get workspace events","description":"Returns a cursor-paginated page of events for a Jira or Confluence\nworkspace. Actor and location objects are ORed within their arrays,\nwhile properties within one object are ANDed. Other repeated values\nwithin one filter are ORed, and different filters are ANDed.\n","operationId":"getWorkspaceEvents","x-atlassian-connect-scope":"READ","parameters":[{"$ref":"#/components/parameters/From"},{"$ref":"#/components/parameters/To"},{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Actors"},{"$ref":"#/components/parameters/Ip"},{"$ref":"#/components/parameters/Locations"},{"$ref":"#/components/parameters/Q"},{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/AcceptLanguage"}],"responses":{"200":{"description":"A page of matching workspace events.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceEventPage"},"examples":{"events":{"$ref":"#/components/examples/WorkspaceEventPage"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}}}},"/audit-log/v1/workspaces/{workspaceId}/event-queries":{"parameters":[{"$ref":"#/components/parameters/WorkspaceId"}],"post":{"tags":["Event queries"],"summary":"Create an event query","description":"Creates and queues an asynchronous workspace event query. The `from`\nand `to` filters must either both be supplied or both be omitted.\n","operationId":"createWorkspaceEventQuery","x-atlassian-connect-scope":"READ","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventQueryCreateRequest"},"examples":{"epochMillis":{"$ref":"#/components/examples/EventQueryCreateRequest"},"iso8601":{"$ref":"#/components/examples/EventQueryCreateRequestIso8601"}}}}},"responses":{"202":{"description":"The event query was accepted.","headers":{"Location":{"description":"Absolute public API URL of the accepted event-query resource.","required":true,"schema":{"type":"string","format":"uri"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventQueryEnvelope"},"examples":{"accepted":{"$ref":"#/components/examples/EventQueryEnvelope"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"}}},"get":{"tags":["Event queries"],"summary":"List event queries","description":"Returns event queries visible to the caller in the workspace.","operationId":"listWorkspaceEventQueries","x-atlassian-connect-scope":"READ","parameters":[{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/EventQueryListLimit"}],"responses":{"200":{"description":"A page of event queries.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventQueryPage"},"examples":{"queries":{"$ref":"#/components/examples/EventQueryPage"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}}}},"/audit-log/v1/workspaces/{workspaceId}/event-queries/{queryId}":{"parameters":[{"$ref":"#/components/parameters/WorkspaceId"},{"$ref":"#/components/parameters/QueryId"}],"get":{"tags":["Event queries"],"summary":"Get an event query","description":"Returns the current status and details of an event query.","operationId":"getWorkspaceEventQuery","x-atlassian-connect-scope":"READ","responses":{"200":{"description":"The event query.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventQueryEnvelope"},"examples":{"query":{"$ref":"#/components/examples/EventQueryEnvelope"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}}}},"/audit-log/v1/workspaces/{workspaceId}/event-queries/{queryId}/results":{"parameters":[{"$ref":"#/components/parameters/WorkspaceId"},{"$ref":"#/components/parameters/QueryId"}],"get":{"tags":["Event queries"],"summary":"Get event-query results","description":"Returns a page of results for a completed event query. While the query\nis queued or in progress, the response is `202 Accepted` with a\n`Retry-After` header.\n","operationId":"getWorkspaceEventQueryResults","x-atlassian-connect-scope":"READ","parameters":[{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/AcceptLanguage"}],"responses":{"200":{"description":"A page of matching events.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceEventPage"},"examples":{"results":{"$ref":"#/components/examples/WorkspaceEventQueryResultPage"}}}}},"202":{"description":"The event query is queued or in progress.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","required":true,"schema":{"type":"integer","minimum":1},"example":5}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/QueryStateConflict"},"410":{"$ref":"#/components/responses/QueryResultsExpired"},"500":{"$ref":"#/components/responses/InternalServerError"}}}},"/audit-log/v1/workspaces/{workspaceId}/event-queries/{queryId}/cancel":{"parameters":[{"$ref":"#/components/parameters/WorkspaceId"},{"$ref":"#/components/parameters/QueryId"}],"post":{"tags":["Event queries"],"summary":"Cancel an event query","description":"Cancels an event query that has not reached a terminal state.","operationId":"cancelWorkspaceEventQuery","x-atlassian-connect-scope":"READ","responses":{"202":{"description":"The cancellation request was accepted."},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/QueryStateConflict"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}},"x-atlassian-narrative":{"documents":[{"title":"About","anchor":"about","body":"> **Generally available November 30, 2026**\n>\n> The Workspace Events API is published for pre-release review and is\n> not yet supported for production use. API details may change before\n> general availability.\n\nAudit Log is a public Cloud Admin API collection for developers,\nsecurity teams, and compliance teams that integrate Atlassian audit\nactivity with monitoring, investigation, reporting, and compliance\nworkflows.\n\nThe Workspace Events API is the first API in the collection. This\npublic v1 API provides a common event model for retrieving audit events\nfrom Jira and Confluence workspaces.\n\nUse the synchronous events endpoint to retrieve a page of matching\nevents immediately. Use event queries to create and manage an\nasynchronous search, then retrieve its results when processing is\ncomplete.\n\nRequests are scoped to the workspace identified in the path. The API\nenforces tenant and workspace boundaries, authentication, and\nauthorization for every request. Data residency for audit data follows\nthe organization's data residency configuration."},{"title":"Version and URI","anchor":"version-and-uri","body":"Workspace Events resources use the `/audit-log/v1` path. Send requests\nthrough the Atlassian global API gateway:\n\n```\nhttps://api.atlassian.com/audit-log/v1/<resource>\n```\n\nYou can also use the site-based gateway:\n\n```\nhttps://<site>.atlassian.net/gateway/api/audit-log/v1/<resource>\n```\n\nResponse links and `Location` headers are absolute URLs rooted at the\ngateway used for the request."},{"title":"Authentication and authorization","anchor":"authentication-and-authorization","body":"The Workspace Events API supports these authentication methods:\n\n- **Basic authentication:** Use an Atlassian account email address and\n  API token.\n- **OAuth 2.0 for Jira:** Use `manage:jira-configuration`, or use both\n  `read:audit-log:jira` and `read:user:jira`.\n- **OAuth 2.0 for Confluence:** Use\n  `read:audit-log:confluence`.\n- **Jira Connect:** Authenticate with JWT and the `READ` scope.\n\nConfluence Connect authentication is not supported.\n\nAuthentication and scopes do not grant access by themselves. The user\nmust have permission to administer the requested Jira or Confluence\nworkspace. An OAuth app can only access workspaces and data that the\nauthorizing user can access. A request fails with `403 Forbidden` when\nthe caller lacks a required scope, permission, or eligible workspace\nedition."},{"title":"Workspaces and workspace IDs","anchor":"workspaces-and-workspace-ids","body":"A workspace is a Jira or Confluence site. Workspace-scoped operations\nidentify the site with a URL-encoded workspace ARI in the `workspaceId`\npath parameter.\n\nTo create a workspace ID:\n\n1. Get the cloud ID for the site.\n   - For OAuth 2.0, call\n     `GET https://api.atlassian.com/oauth/token/accessible-resources`\n     with the access token. Select the site from the response and use\n     its `id`.\n   - If you know the site URL, call\n     `GET https://<site>.atlassian.net/_edge/tenant_info` and use the\n     returned `cloudId`.\n2. Create the ARI for the product:\n   - Jira: `ari:cloud:jira::site/<cloudId>`\n   - Confluence: `ari:cloud:confluence::site/<cloudId>`\n3. URL-encode the complete ARI once and supply the result as\n   `workspaceId`. Do not supply the cloud ID by itself.\n\nFor example, the Jira workspace ARI\n`ari:cloud:jira::site/11223344-a1b2-3b33-c444-def123456789` becomes:\n\n```\nari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789\n```\n\nMake a workspace request to validate the ID and the caller's access. A\nmalformed ID returns `400 Bad Request`. A workspace that does not exist\nor is not visible to the caller returns `404 Not Found`."},{"title":"Make your first request","anchor":"make-your-first-request","body":"The following OAuth 2.0 request uses\n[Get workspace events](/cloud/admin/audit-log/rest/v1/api-group-events/#api-audit-log-v1-workspaces-workspace-id-events-get)\nto retrieve one event from a Jira workspace. Replace `ACCESS_TOKEN` and\nthe example workspace ID:\n\n```bash\ncurl --request GET \\\n  --url 'https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/events?limit=1' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer ACCESS_TOKEN'\n```\n\nA successful request returns a cursor-paginated event page. This\nresponse is illustrative; optional event properties can be absent, and\nproperties explicitly marked nullable can be `null`.\n\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"0199d36a-08a1-7f04-9505-1f6d0a64de55\",\n      \"type\": \"events\",\n      \"attributes\": {\n        \"time\": \"2026-11-02T12:00:00Z\",\n        \"action\": \"project_updated\",\n        \"actor\": {\n          \"id\": \"712020:abc123\",\n          \"name\": \"Example User\"\n        },\n        \"context\": [\n          {\n            \"id\": \"PROJECT-123\",\n            \"type\": \"project\",\n            \"attributes\": {\n              \"name\": \"Example project\"\n            }\n          }\n        ],\n        \"container\": [\n          {\n            \"id\": \"11223344-a1b2-3b33-c444-def123456789\",\n            \"type\": \"site\"\n          }\n        ],\n        \"location\": {\n          \"ip\": \"203.0.113.10\",\n          \"city\": \"Atlanta\",\n          \"regionName\": \"Georgia\",\n          \"countryName\": \"United States\"\n        }\n      },\n      \"links\": {\n        \"self\": \"https://api.atlassian.com/admin/v1/orgs/example-org/events/0199d36a-08a1-7f04-9505-1f6d0a64de55\",\n        \"alt\": \"https://api.atlassian.com/ex/jira/11223344-a1b2-3b33-c444-def123456789/rest/api/3/project/PROJECT-123\"\n      },\n      \"message\": {\n        \"content\": \"Example User updated Example project\",\n        \"format\": \"simple\"\n      }\n    }\n  ],\n  \"links\": {\n    \"self\": \"https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/events?limit=1\"\n  },\n  \"meta\": {\n    \"total\": 1\n  }\n}\n```"},{"title":"Event actions","anchor":"event-actions","body":"Event actions identify the activity recorded by an audit event. Get\nthe available event-action catalog before constructing an action\nfilter. The catalog is unpaginated, can be empty, and has no guaranteed\norder. It is scoped to a workspace, and the API infers the Jira or\nConfluence product from the workspace ARI. The caller must have access\nto the workspace.\n\nFor example, use\n[Get event actions](/cloud/admin/audit-log/rest/v1/api-group-event-actions/#api-audit-log-v1-workspaces-workspace-id-event-actions-get)\nto retrieve the catalog for a Jira workspace:\n\n```bash\ncurl --request GET \\\n  --url 'https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-actions' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer ACCESS_TOKEN'\n```\n\nUse the lower-case, de-duplicated `id` of a returned event action as an\n`action` filter. Display and group names are localized labels, can be\nempty, and are not accepted as filter values.\n\nSend one BCP 47 language tag in `Accept-Language` to request localized\naction labels and event content. Omit the header to use US English.\nWeighted language lists and quality values are not negotiated."},{"title":"Retrieving and filtering events","anchor":"retrieving-and-filtering-events","body":"Retrieve events synchronously for one workspace with\n[Get workspace events](/cloud/admin/audit-log/rest/v1/api-group-events/#api-audit-log-v1-workspaces-workspace-id-events-get).\nThe endpoint supports these filters:\n\n- `from` and `to`: Optional lower and upper event-time bounds. Values\n  can be Unix epoch timestamps in milliseconds or ISO 8601 timestamps.\n  When both are present, `from` must not be later than `to`.\n- `action`: An event-action ID from the event-action catalog.\n- `actors`: A URL-percent-encoded JSON array of 1 to 10 unique actor\n  objects. An object can contain an `id`, `name`, `email`, or any\n  combination of these properties.\n- `ip`: An actor IP address. You can supply up to 10 values.\n- `locations`: A URL-percent-encoded JSON array of 1 to 10 unique\n  location objects. An object can contain `city`, `regionName`,\n  `countryName`, or any combination of these properties.\n- `q`: Attribute-based search that matches the complete input against\n  context attribute values.\n\nActor and location objects within their arrays are combined with OR.\nPopulated properties within one object are combined with AND and\nmatched exactly. Repeated values within the other filters are combined\nwith OR, and different filters are combined with AND. Send `actors` and\n`locations` at most once; repeat `action` and `ip` instead of sending\ncomma-separated values.\n\nThe `q` filter is not an unrestricted free-text search: it matches the\ncomplete supplied value against context attributes. The endpoint\nreturns events in descending time order, newest first, and does not\nprovide a parameter for changing the order.\n\n### Filter Jira events\n\nFor Jira OAuth 2.0, use `manage:jira-configuration`, or use both\n`read:audit-log:jira` and `read:user:jira`. This request returns Jira\nproject-update events performed by either of two actors during a time\nrange:\n\n```bash\ncurl --request GET \\\n  --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' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer ACCESS_TOKEN'\n```\n\nThe two objects in the `actors` array are ORed. The actor, action, and\ntime filters are ANDed. The response has the same `data` and `links`\nstructure as the response in\n[Make your first request](#make-your-first-request).\n\n### Filter Confluence events\n\nUse a Confluence workspace ARI and the\n`read:audit-log:confluence` OAuth 2.0 scope to retrieve Confluence\nevents. This request retrieves page-creation events from Australia for\n27 August 2026 UTC:\n\n```bash\ncurl --request GET \\\n  --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' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer ACCESS_TOKEN'\n```\n\nA matching page-creation event can produce this response:\n\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"confluence-page-created-001\",\n      \"type\": \"events\",\n      \"attributes\": {\n        \"time\": \"2026-08-27T14:00:00Z\",\n        \"action\": \"confluence_page_created\",\n        \"actor\": {\n          \"id\": \"712020:def456\",\n          \"name\": \"Example User\"\n        },\n        \"context\": [\n          {\n            \"id\": \"9338910\",\n            \"type\": \"page\",\n            \"attributes\": {\n              \"contentTitle\": \"Project plan\",\n              \"spaceId\": \"33333\"\n            }\n          }\n        ],\n        \"location\": {\n          \"ip\": \"203.0.113.10\",\n          \"countryName\": \"Australia\"\n        }\n      }\n    }\n  ],\n  \"links\": {\n    \"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\"\n  },\n  \"meta\": {\n    \"total\": 1\n  }\n}\n```"},{"title":"Understanding event responses","anchor":"understanding-event-responses","body":"Each item in a synchronous event page follows the `WorkspaceEvent`\nschema in the\n[Get workspace events response](/cloud/admin/audit-log/rest/v1/api-group-events/#api-audit-log-v1-workspaces-workspace-id-events-get).\nEvery event has an `id`, a `type`, and `attributes`. The attributes\nalways include:\n\n- `time`: The event time in ISO 8601 format.\n- `action`: The stable event-action ID.\n- `actor`: The account or application that caused the event. Only its\n  `id` is required.\n- `context`: Resources that provide context for the event. Each object\n  has an `id` and `type`; its `attributes` depend on the object and\n  product.\n\nOther event, actor, location, link, and message fields are optional.\nCode that consumes events should allow optional properties to be\nabsent and properties explicitly marked nullable to be `null`. Do not\nassume that Jira and Confluence events populate the same fields.\n\nA successful request with no matches returns `200 OK`, an empty `data`\narray, and a `links.self` URL:\n\n```json\n{\n  \"data\": [],\n  \"links\": {\n    \"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\"\n  },\n  \"meta\": {\n    \"total\": 0\n  }\n}\n```"},{"title":"Asynchronous event queries","anchor":"asynchronous-event-queries","body":"Use the synchronous events endpoint when you need one bounded page of\nevents immediately. Use an asynchronous event query for a larger search\nthat can finish in the background. An asynchronous query captures its\nfilters when you create it and materializes a result set for later\nretrieval.\n\n### Create an event query\n\nUse\n[Create an event query](/cloud/admin/audit-log/rest/v1/api-group-event-queries/#api-audit-log-v1-workspaces-workspace-id-event-queries-post)\nwith at least one of these filters:\n\n- `from` and `to`: A time range in Unix epoch milliseconds or ISO 8601\n  timestamps. Include both values or omit both.\n- `action`: One or more event-action IDs.\n- `actors`: 1 to 10 unique actor objects containing `id`, `name`,\n  `email`, or any combination of these properties.\n- `ip`: Up to 10 actor IP addresses.\n- `locations`: 1 to 10 unique location objects containing `city`,\n  `regionName`, `countryName`, or any combination of these properties.\n- `q`: Attribute-based search that matches the complete input against\n  context attribute values.\n\nActor and location objects within their arrays are ORed. Populated\nproperties within one object are ANDed and matched exactly. Values\nwithin the other filter arrays are ORed, and different filters are\nANDed.\n\nThis request creates a Jira project-update query for one day:\n\n```bash\ncurl --request POST \\\n  --url 'https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2F11223344-a1b2-3b33-c444-def123456789/event-queries' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer ACCESS_TOKEN' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n    \"filters\": {\n      \"from\": \"2026-08-01T00:00:00Z\",\n      \"to\": \"2026-08-02T00:00:00Z\",\n      \"action\": [\n        \"project_updated\"\n      ],\n      \"actors\": [\n        {\n          \"id\": \"712020:abc123\"\n        }\n      ],\n      \"q\": \"PROJECT-123\"\n    }\n  }'\n```\n\nA successful request returns `202 Accepted`. Save the query resource\nURL from the `Location` header. The response body also contains the\nquery ID and links for checking status, retrieving results, and\ncancelling the query. Response filters always represent event times as\nUnix epoch milliseconds:\n\n```http\nHTTP/1.1 202 Accepted\nLocation: 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\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"id\": \"0199d36a-08a1-7f04-9505-1f6d0a64de55\",\n    \"type\": \"eventQueries\",\n    \"attributes\": {\n      \"status\": \"QUEUED\",\n      \"filters\": {\n        \"from\": 1785542400000,\n        \"to\": 1785628800000,\n        \"action\": [\n          \"project_updated\"\n        ],\n        \"actors\": [\n          {\n            \"id\": \"712020:abc123\"\n          }\n        ],\n        \"q\": \"PROJECT-123\"\n      }\n    },\n    \"links\": {\n      \"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\",\n      \"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\",\n      \"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\"\n    }\n  }\n}\n```\n\nQuery creation does not support an idempotency key. Do not\nautomatically retry a create request when the outcome is unknown,\nbecause a retry can create another query.\n\n### List event queries\n\nUse\n[List event queries](/cloud/admin/audit-log/rest/v1/api-group-event-queries/#api-audit-log-v1-workspaces-workspace-id-event-queries-get)\nto find event queries visible to the caller in a workspace. Use the\nreturned status and links to resume polling or retrieving results.\nFollow `links.next` to list additional queries.\n\n### Check status and retrieve results\n\nA query has one of these statuses:\n\n- `QUEUED` or `IN_PROGRESS`: The query is still running.\n- `COMPLETED`: Results are available.\n- `FAILED`: The query did not complete.\n- `CANCELLED`: The query was cancelled.\n\n`COMPLETED`, `FAILED`, and `CANCELLED` are terminal states. Do not\nassume that a query passes through every in-flight state before it\nreaches a terminal state.\n\nYou can check the query's `links.self` URL for its current status or\npoll its `links.results` URL directly. A results request returns\n`202 Accepted` and a `Retry-After` header while the query is still\nrunning:\n\n```bash\ncurl --include --request GET \\\n  --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' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer ACCESS_TOKEN'\n```\n\n```http\nHTTP/1.1 202 Accepted\nRetry-After: 5\n```\n\nWait for the number of seconds in `Retry-After` before requesting\nresults again. For network failures and transient `429` or `5xx`\nresponses, use bounded exponential backoff with jitter. If a transient\nresponse includes `Retry-After`, wait at least that long. Set a\nclient-side timeout for the complete polling operation. When the\ntimeout is reached, stop polling and optionally cancel the query.\n\nA completed query returns `200 OK` and a cursor-paginated event page:\n\n```json\n{\n  \"data\": [\n    {\n      \"id\": \"0199d36a-08a1-7f04-9505-1f6d0a64de56\",\n      \"type\": \"events\",\n      \"attributes\": {\n        \"time\": \"2026-08-01T12:00:00Z\",\n        \"action\": \"project_updated\",\n        \"actor\": {\n          \"id\": \"712020:abc123\",\n          \"name\": \"Example User\"\n        },\n        \"context\": [\n          {\n            \"id\": \"PROJECT-123\",\n            \"type\": \"project\",\n            \"attributes\": {\n              \"name\": \"Example project\"\n            }\n          }\n        ]\n      },\n      \"message\": {\n        \"content\": \"Example User updated Example project\",\n        \"format\": \"text\"\n      }\n    }\n  ],\n  \"links\": {\n    \"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\",\n    \"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\"\n  },\n  \"meta\": {\n    \"total\": 1\n  }\n}\n```\n\nFollow `links.next` without modifying it until the response no longer\ncontains a next link. For more information, see\n[Pagination](#pagination).\n\n### Cancel a query\n\nYou can cancel a query while its status is `QUEUED` or `IN_PROGRESS`.\nSend a request to its `links.cancel` URL:\n\n```bash\ncurl --request POST \\\n  --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' \\\n  --header 'Authorization: Bearer ACCESS_TOKEN'\n```\n\nA successful cancellation request returns `202 Accepted` with an empty\nbody. A subsequent request to the query's `links.self` URL returns its\nterminal status:\n\n```json\n{\n  \"data\": {\n    \"id\": \"0199d36a-08a1-7f04-9505-1f6d0a64de55\",\n    \"type\": \"eventQueries\",\n    \"attributes\": {\n      \"status\": \"CANCELLED\"\n    },\n    \"links\": {\n      \"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\",\n      \"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\",\n      \"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\"\n    }\n  }\n}\n```\n\nCancelling a query that is already in a terminal state returns\n`409 Conflict` with the `QUERY_STATE_CONFLICT` error code.\n\n### Handle failed, cancelled, and expired results\n\nCheck `links.self` when a results request returns `409 Conflict`. A\nquery with a `FAILED` or `CANCELLED` status has no results to retrieve.\nFor example, a query that did not complete has this terminal status:\n\n```json\n{\n  \"data\": {\n    \"id\": \"0199d36a-08a1-7f04-9505-1f6d0a64de55\",\n    \"type\": \"eventQueries\",\n    \"attributes\": {\n      \"status\": \"FAILED\"\n    },\n    \"links\": {\n      \"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\",\n      \"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\",\n      \"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\"\n    }\n  }\n}\n```\n\nStop polling a failed query. Creating another query starts a separate\noperation. A results request for a failed or cancelled query returns:\n\n```json\n{\n  \"errorCode\": \"QUERY_STATE_CONFLICT\",\n  \"message\": \"The requested operation is not valid for the query's current state.\",\n  \"timestamp\": \"2026-11-02T12:00:00Z\"\n}\n```\n\nAn event query materializes up to 10,000 matching events. Completed\nquery results are retained for 7 days. The API does not return an exact\nexpiry timestamp, so retrieve and persist all result pages promptly.\nIf a search can return more than 10,000 events, use narrower filters\nand run additional queries. After the results expire, the results\nendpoint returns `410 Gone`:\n\n```json\n{\n  \"errorCode\": \"QUERY_RESULTS_EXPIRED\",\n  \"message\": \"The event query results have expired.\",\n  \"timestamp\": \"2026-11-02T12:00:00Z\"\n}\n```\n\nThe service also limits the number of event queries that can be in\nflight. If a create request returns `429 Too Many Requests`, wait for\nan existing query to reach a terminal state before creating another\nquery."},{"title":"Migrating from product audit APIs","anchor":"migrating-from-product-audit-apis","body":"Workspace Events replaces product-specific audit retrieval with\nworkspace ARIs, cursor pagination, published event-action identifiers,\nand a common event model. Existing action names, fields, filters, and\nresponse shapes do not necessarily map one-to-one. Update request\nconstruction and response parsing before switching an integration.\n\nChoose the retrieval mode based on the workflow and expected result\nvolume:\n\n- Use synchronous workspace events for interactive, recent, or\n  narrowly filtered retrieval.\n- Use asynchronous event queries for exports, backfills, or larger,\n  bounded result sets that can run in the background.\n\nBoth modes support comparable filters, so complex filtering alone\ndoesn't require an asynchronous query. If a result set can exceed the\n10,000-event query limit, partition it with narrower time ranges or\nadditional filters.\n\n### Jira\n\nMigrate from\n[Get audit records](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-audit-records/#api-rest-api-3-auditing-record-get)\nto\n[Get workspace events](/cloud/admin/audit-log/rest/v1/api-group-events/#api-audit-log-v1-workspaces-workspace-id-events-get).\nUse\n[Get event actions](/cloud/admin/audit-log/rest/v1/api-group-event-actions/#api-audit-log-v1-workspaces-workspace-id-event-actions-get)\nto identify supported Jira action filters.\n\n### Confluence\n\nWhen migrating from the\n[Confluence Audit API](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit/#api-wiki-rest-api-audit-get):\n\n- Replace `GET /wiki/rest/api/audit` and\n  `GET /wiki/rest/api/audit/since` with\n  [Get workspace events](/cloud/admin/audit-log/rest/v1/api-group-events/#api-audit-log-v1-workspaces-workspace-id-events-get).\n- Replace `GET /wiki/rest/api/audit/export` with an asynchronous\n  [event query](#asynchronous-event-queries), then retrieve each result\n  page.\n- Confluence audit-retention configuration and audit-record creation\n  do not have Workspace Events migration paths. These capabilities\n  aren't supported long term."},{"title":"Pagination","anchor":"pagination","body":"Event pages, event-query lists, and event-query results use cursor\npagination. When a page has more results, `links.next` contains the\ncomplete URL for the next page:\n\n```json\n{\n  \"links\": {\n    \"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\",\n    \"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\"\n  }\n}\n```\n\nFollow `links.next` without changing it. Cursors are opaque and are\nvalid for the filter set that produced them. Do not construct, decode,\nor reuse a cursor with different filters. The absence of `links.next`\nmeans that the current traversal has no more pages.\n\nEvent and result pages contain up to 1,000 items and default to 100.\nEvent-query lists contain up to 500 items and default to 100."},{"title":"Rate limits","anchor":"rate-limits","body":"Creating an event query can return `429 Too Many Requests` when the\ncaller reaches the in-flight event-query limit. Wait for an existing\nquery to reach a terminal state before creating another query, and wait\nat least the number of seconds in the required `Retry-After` header."},{"title":"Errors and troubleshooting","anchor":"errors-and-troubleshooting","body":"Check the documented responses for the operation you are calling.\nHandle the HTTP status first. Errors generated by the Workspace Events\nservice use the `PublicApiError` schema with `errorCode`, `message`,\nand `timestamp` fields. Errors returned by gateway or edge\ninfrastructure before a request reaches the service follow those\ninfrastructure contracts. Do not make decisions by matching\nerror-message text.\n\n| Status | Likely cause | Developer action |\n| --- | --- | --- |\n| `400 Bad Request` | The 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. |\n| `401 Unauthorized` | Authentication 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. |\n| `403 Forbidden` | The 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. |\n| `404 Not Found` | The 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. |\n| `409 Conflict` | The 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. |\n| `410 Gone` | Materialized 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. |\n| `429 Too Many Requests` | The 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. |\n| `5xx` | A 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. |\n\nApplication-generated errors use these stable public error codes:\n\n- `INVALID_PARAMETER`: A request parameter or request-body value is\n  invalid. Correct the request before retrying. For an invalid cursor,\n  restart pagination without that cursor.\n- `UNAUTHORIZED`: Authentication is missing or invalid. Create or\n  refresh the credential before retrying.\n- `FORBIDDEN`: The caller lacks required access. Check app scopes,\n  workspace permissions, and product eligibility.\n- `NOT_FOUND`: The workspace or event query does not exist or is not\n  visible to the caller. Verify the workspace and query IDs and caller\n  access.\n- `QUERY_STATE_CONFLICT`: The operation is not valid for the query's\n  current state. Get the query status before taking another action.\n- `QUERY_RESULTS_EXPIRED`: The materialized results are no longer\n  available. Create a new query and retrieve its results promptly.\n- `TOO_MANY_REQUESTS`: The caller has reached the in-flight query\n  limit. Wait for capacity and honor `Retry-After`.\n- `INTERNAL_ERROR`: The service could not complete the request. Retry\n  idempotent requests with bounded backoff.\n\n### Retry safely\n\nA results request for a query that is still running returns\n`202 Accepted`, not an error. Wait for the number of seconds in\n`Retry-After` before polling again.\n\nFor transient network failures, `429` responses, and `5xx` responses,\nuse bounded exponential backoff with jitter. A create-query `429`\nresponse includes `Retry-After`; wait at least that long. If another\ntransient response includes `Retry-After`, honor it. Set a maximum\nnumber of attempts or an overall timeout.\n\nDo not automatically retry a create-query request when its outcome is\nunknown. Query creation does not support an idempotency key, so another\nrequest can create a duplicate query. Do not retry other `4xx`\nresponses until you have corrected the request, access, or query\nstate.\n\n### Diagnose unexpected results\n\nA `200 OK` response with an empty `data` array is successful. Check the\nworkspace, event-action IDs, time range, filters, and every page before\nconcluding that events are missing. Optional event fields can be\nabsent, while fields explicitly marked nullable can be `null`. Jira\nand Confluence events do not always populate the same fields.\n\nWhen troubleshooting, record the operation, timestamp, HTTP status,\nresponse body, and any request or trace identifier returned in the\nheaders. Never record or share API tokens, authorization headers, or\nsensitive event data. Check\n[Atlassian Status](https://status.atlassian.com/) for incidents. If the\nproblem continues, use the\n[Audit Log support resources](/cloud/admin/audit-log/get-help/) and\nprovide the non-sensitive diagnostic details."},{"title":"Vocabulary","anchor":"vocabulary","body":"**Audit event:** A record of an activity in a Jira or Confluence\nworkspace.\n\n**Event action:** The published identifier for the activity represented\nby an audit event.\n\n**Workspace:** A Jira or Confluence site, identified in request paths\nby a URL-encoded workspace ARI.\n\n**Event query:** An asynchronous, workspace-scoped search whose results\nare retrieved after processing completes."},{"title":"Resources and support","anchor":"resources-and-support","body":"- Review the [Workspace Events API reference](/cloud/admin/audit-log/rest/)\n  for operations, request parameters, schemas, and errors.\n- Use the **OpenAPI** link in the API reference to access the\n  machine-readable Workspace Events contract.\n- Follow the [Atlassian developer changelog](https://developer.atlassian.com/changelog/)\n  for API announcements and changes.\n- Check [Atlassian Status](https://status.atlassian.com/) for product\n  availability and incidents.\n- See [Audit Log resources](/cloud/admin/audit-log/get-help/) for\n  support options.\n- Ask questions and share feedback in the\n  [Atlassian Developer Community](https://community.developer.atlassian.com/)."}]},"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Atlassian account email address and API token."},"oauth2":{"type":"oauth2","description":"OAuth 2.0 authorization for Jira or Confluence.","flows":{"authorizationCode":{"authorizationUrl":"https://auth.atlassian.com/authorize","tokenUrl":"https://auth.atlassian.com/oauth/token","scopes":{"manage:jira-configuration":"Manage Jira configuration.","read:audit-log:jira":"Read the Jira audit log.","read:user:jira":"Read Jira user information.","read:audit-log:confluence":"Read the Confluence audit log."}}}},"jiraConnectJwt":{"type":"apiKey","in":"header","name":"Authorization","description":"Jira Connect JWT authentication with the `READ` scope. Confluence\nConnect is not supported.\n"}},"parameters":{"WorkspaceId":{"name":"workspaceId","in":"path","required":true,"description":"Jira or Confluence workspace ARI, such as\n`ari:cloud:jira::site/abc-123`. Send it URL-encoded in the path\n(`ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123`).\n","schema":{"type":"string"},"example":"ari:cloud:jira::site/abc-123"},"QueryId":{"name":"queryId","in":"path","required":true,"description":"Unique event-query identifier.","schema":{"type":"string"},"example":"0199d36a-08a1-7f04-9505-1f6d0a64de55"},"AcceptLanguage":{"name":"Accept-Language","in":"header","required":false,"description":"A single BCP 47 language tag used to localize display content, for\nexample `de-DE`. Omit the header to use US English. Weighted language\nlists and quality values are not negotiated.\n","schema":{"type":"string"},"example":"en-US"},"From":{"name":"from","in":"query","required":false,"description":"Earliest event time, as Unix epoch milliseconds or an ISO-8601 timestamp.","schema":{"$ref":"#/components/schemas/EventTimeInput"},"examples":{"epochMillis":{"value":1785542400000},"iso8601":{"value":"2026-08-01T00:00:00Z"}}},"To":{"name":"to","in":"query","required":false,"description":"Latest event time, as Unix epoch milliseconds or an ISO-8601 timestamp.","schema":{"$ref":"#/components/schemas/EventTimeInput"},"examples":{"epochMillis":{"value":1785628800000},"iso8601":{"value":"2026-08-02T00:00:00Z"}}},"Action":{"name":"action","in":"query","required":false,"description":"Event action identifier. Repeat the query parameter to request more\nthan one action.\n","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"example":["project_updated"]},"Actors":{"name":"actors","in":"query","required":false,"description":"A non-repeatable, URL-percent-encoded JSON array of actor objects.\nObjects are ORed; populated properties within one object are ANDed and\nmatched exactly.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActorFilterArray"},"example":[{"id":"712020:abc123","name":"Example User","email":"example@atlassian.com"}]}}},"Ip":{"name":"ip","in":"query","required":false,"description":"Actor IP address. Repeat the query parameter for up to 10 addresses.","schema":{"type":"array","maxItems":10,"items":{"type":"string"}},"style":"form","explode":true,"example":["203.0.113.10"]},"Locations":{"name":"locations","in":"query","required":false,"description":"A non-repeatable, URL-percent-encoded JSON array of location objects.\nObjects are ORed; populated properties within one object are ANDed and\nmatched exactly.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationFilterArray"},"example":[{"city":"Atlanta","regionName":"Georgia","countryName":"United States"}]}}},"Q":{"name":"q","in":"query","required":false,"description":"Attribute-based search that matches the complete input against context\nattribute values.\n","schema":{"type":"string","minLength":1},"example":"PROJECT-123"},"Cursor":{"name":"cursor","in":"query","required":false,"description":"Opaque pagination cursor returned by a previous request.","schema":{"type":"string"}},"Limit":{"name":"limit","in":"query","required":false,"description":"Maximum number of resources to return.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":1000,"default":100}},"EventQueryListLimit":{"name":"limit","in":"query","required":false,"description":"Maximum number of event queries to return.","schema":{"type":"integer","format":"int32","minimum":1,"maximum":500,"default":100}}},"responses":{"BadRequest":{"description":"The request is malformed or contains an invalid parameter.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"errorCode":"INVALID_PARAMETER","message":"Invalid workspace ARI format: not-a-valid-ari","timestamp":"2026-11-02T12:00:00Z"}}}},"Unauthorized":{"description":"Authentication is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"errorCode":"UNAUTHORIZED","message":"Authentication is required to access this resource.","timestamp":"2026-11-02T12:00:00Z"}}}},"Forbidden":{"description":"The caller lacks a required scope, permission, or eligible workspace edition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"errorCode":"FORBIDDEN","message":"The caller is not permitted to access this resource.","timestamp":"2026-11-02T12:00:00Z"}}}},"NotFound":{"description":"The workspace or event query does not exist or is not visible to the caller.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"errorCode":"NOT_FOUND","message":"The requested resource was not found.","timestamp":"2026-11-02T12:00:00Z"}}}},"TooManyRequests":{"description":"The caller has reached the in-flight event-query limit.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","required":true,"schema":{"type":"integer","minimum":1},"example":5}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"}}}},"QueryStateConflict":{"description":"The requested operation is invalid for the event query's current state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"errorCode":"QUERY_STATE_CONFLICT","message":"The requested operation is not valid for the query's current state.","timestamp":"2026-11-02T12:00:00Z"}}}},"QueryResultsExpired":{"description":"The materialized event-query results have expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"errorCode":"QUERY_RESULTS_EXPIRED","message":"The event query results have expired.","timestamp":"2026-11-02T12:00:00Z"}}}},"InternalServerError":{"description":"The request could not be completed because of an internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"errorCode":"INTERNAL_ERROR","message":"The request could not be completed because of an internal error.","timestamp":"2026-11-02T12:00:00Z"}}}}},"schemas":{"EventActionPage":{"type":"object","required":["data","links","meta"],"additionalProperties":false,"properties":{"data":{"type":"array","description":"Unpaginated product catalog. The array is empty when no eligible\nactions are available and has no guaranteed order.\n","items":{"$ref":"#/components/schemas/EventAction"}},"links":{"$ref":"#/components/schemas/SelfLink"},"meta":{"$ref":"#/components/schemas/TotalMeta"}}},"EventAction":{"type":"object","required":["id","type","attributes"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"Lower-case, de-duplicated identifier accepted by the `action`\nevent filter.\n"},"type":{"type":"string","description":"Resource type for every event-action catalog entry.","enum":["event_actions"]},"attributes":{"$ref":"#/components/schemas/EventActionAttributes"}}},"EventActionAttributes":{"type":"object","required":["displayName","groupDisplayNames"],"additionalProperties":false,"properties":{"displayName":{"type":"string","description":"Localized action name, or an empty string when no label is registered."},"groupDisplayNames":{"type":"array","description":"Localized filter-group names; may be empty.","items":{"type":"string"}}}},"WorkspaceEventPage":{"type":"object","required":["data","links","meta"],"additionalProperties":false,"properties":{"data":{"type":"array","description":"Events on the current page.","items":{"$ref":"#/components/schemas/WorkspaceEvent"}},"links":{"$ref":"#/components/schemas/PageLinks"},"meta":{"$ref":"#/components/schemas/WorkspaceEventPageMeta"}}},"WorkspaceEventPageMeta":{"type":"object","additionalProperties":true,"properties":{"total":{"type":"integer","format":"int64","minimum":0,"description":"Total number of matching events when the retrieval backend can\nprovide it reliably. Omitted for cursor pages without an exact count.\n"}}},"WorkspaceEvent":{"type":"object","required":["id","type","attributes"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"Unique event identifier."},"type":{"type":"string","description":"Resource type for workspace audit events.","enum":["events"]},"attributes":{"$ref":"#/components/schemas/WorkspaceEventAttributes"},"links":{"$ref":"#/components/schemas/ApiLinks"},"message":{"$ref":"#/components/schemas/Message"}}},"WorkspaceEventAttributes":{"type":"object","required":["time","action","actor","context"],"additionalProperties":false,"description":"Public workspace event attributes.","properties":{"time":{"type":"string","format":"date-time","description":"Time at which the event occurred."},"action":{"type":"string","description":"Stable action identifier for the event."},"actor":{"$ref":"#/components/schemas/Actor"},"container":{"type":"array","nullable":true,"description":"Containers to which the event belongs, when available.","items":{"$ref":"#/components/schemas/EventObject"}},"context":{"type":"array","description":"Resources that provide context for the event.","items":{"$ref":"#/components/schemas/EventObject"}},"location":{"$ref":"#/components/schemas/EventLocation"}}},"Actor":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"picture":{"type":"string","format":"uri","nullable":true},"links":{"$ref":"#/components/schemas/ApiLinks"},"auth":{"$ref":"#/components/schemas/ActorAuth"},"onBehalfOf":{"$ref":"#/components/schemas/OnBehalfOf"},"app":{"$ref":"#/components/schemas/EventObject"}}},"ActorAuth":{"type":"object","nullable":true,"properties":{"authType":{"type":"string","nullable":true},"tokenId":{"type":"string","nullable":true},"tokenName":{"type":"string","nullable":true}}},"OnBehalfOf":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true}}},"EventObject":{"type":"object","required":["id","type"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"attributes":{"type":"object","additionalProperties":{"type":"string"}},"links":{"$ref":"#/components/schemas/ApiLinks"}}},"EventLocation":{"type":"object","nullable":true,"required":["ip"],"properties":{"ip":{"type":"string"},"countryName":{"type":"string","nullable":true},"regionName":{"type":"string","nullable":true},"city":{"type":"string","nullable":true}}},"ApiLinks":{"type":"object","nullable":true,"description":"Resource links that are included when available.","properties":{"self":{"type":"string","nullable":true,"description":"Canonical API URL for the resource."},"alt":{"type":"string","nullable":true,"description":"Alternate destination URL for the resource. This link is not currently returned for events in asynchronous query results."}}},"Message":{"type":"object","nullable":true,"required":["content","format"],"properties":{"content":{"type":"string"},"format":{"type":"string"}}},"EventTimeInput":{"description":"Event time supplied as Unix epoch milliseconds or an ISO-8601 timestamp.\nEpoch milliseconds are the canonical representation.\n","oneOf":[{"type":"integer","format":"int64","minimum":0},{"type":"string","format":"date-time"}]},"EventQueryCreateRequest":{"type":"object","required":["filters"],"additionalProperties":false,"properties":{"filters":{"$ref":"#/components/schemas/EventQueryFilters"}}},"EventQueryFilters":{"type":"object","additionalProperties":false,"minProperties":1,"description":"Public asynchronous event-query filters. `from` and `to` must be\nprovided together.\n","oneOf":[{"required":["from","to"]},{"not":{"anyOf":[{"type":"object","properties":{"from":{}},"required":["from"]},{"type":"object","properties":{"to":{}},"required":["to"]}]}}],"properties":{"from":{"$ref":"#/components/schemas/EventTimeInput"},"to":{"$ref":"#/components/schemas/EventTimeInput"},"action":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string"}},"actors":{"$ref":"#/components/schemas/ActorFilterArray"},"q":{"type":"string","minLength":1,"description":"Attribute-based search that matches the complete input against\ncontext attribute values.\n"},"ip":{"type":"array","minItems":1,"maxItems":10,"uniqueItems":true,"items":{"type":"string"}},"locations":{"$ref":"#/components/schemas/LocationFilterArray"}}},"EventQueryResponseFilters":{"type":"object","additionalProperties":false,"minProperties":1,"description":"Canonical filters returned for an asynchronous event query. Event times\nare always returned as Unix epoch milliseconds.\n","oneOf":[{"required":["from","to"]},{"not":{"anyOf":[{"type":"object","properties":{"from":{}},"required":["from"]},{"type":"object","properties":{"to":{}},"required":["to"]}]}}],"properties":{"from":{"type":"integer","format":"int64","minimum":0},"to":{"type":"integer","format":"int64","minimum":0},"action":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string"}},"actors":{"$ref":"#/components/schemas/ActorFilterArray"},"q":{"type":"string","minLength":1,"description":"Attribute-based search that matches the complete input against\ncontext attribute values.\n"},"ip":{"type":"array","minItems":1,"maxItems":10,"uniqueItems":true,"items":{"type":"string"}},"locations":{"$ref":"#/components/schemas/LocationFilterArray"}}},"ActorFilterArray":{"type":"array","description":"One to 10 unique actor objects. Objects are ORed; populated properties\nwithin one object are ANDed and matched exactly.\n","minItems":1,"maxItems":10,"uniqueItems":true,"items":{"$ref":"#/components/schemas/ActorFilter"}},"ActorFilter":{"type":"object","minProperties":1,"additionalProperties":false,"properties":{"id":{"type":"string","description":"Atlassian account or application actor identifier.","minLength":1,"pattern":"\\S"},"name":{"type":"string","description":"Human-readable actor name.","minLength":1,"pattern":"\\S"},"email":{"type":"string","description":"Actor email address.","minLength":1,"pattern":"\\S"}}},"LocationFilterArray":{"type":"array","description":"One to 10 unique location objects. Objects are ORed; populated\nproperties within one object are ANDed and matched exactly.\n","minItems":1,"maxItems":10,"uniqueItems":true,"items":{"$ref":"#/components/schemas/LocationFilter"}},"LocationFilter":{"type":"object","minProperties":1,"additionalProperties":false,"properties":{"city":{"type":"string","description":"City name.","minLength":1,"pattern":"\\S"},"regionName":{"type":"string","description":"Region or first-level administrative area name.","minLength":1,"pattern":"\\S"},"countryName":{"type":"string","description":"Country name.","minLength":1,"pattern":"\\S"}}},"EventQueryEnvelope":{"type":"object","required":["data"],"additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/EventQuery"}}},"EventQueryPage":{"type":"object","required":["data","links"],"additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/EventQuery"}},"links":{"$ref":"#/components/schemas/PageLinks"}}},"EventQuery":{"type":"object","required":["id","type","attributes","links"],"additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["eventQueries"]},"attributes":{"$ref":"#/components/schemas/EventQueryAttributes"},"links":{"$ref":"#/components/schemas/EventQueryLinks"}}},"EventQueryAttributes":{"type":"object","required":["status"],"additionalProperties":false,"properties":{"status":{"type":"string","enum":["QUEUED","IN_PROGRESS","COMPLETED","FAILED","CANCELLED"]},"filters":{"$ref":"#/components/schemas/EventQueryResponseFilters"}}},"EventQueryLinks":{"type":"object","required":["self","results","cancel"],"additionalProperties":false,"properties":{"self":{"type":"string","format":"uri","description":"Absolute public API URL for retrieving this query."},"results":{"type":"string","format":"uri","description":"Absolute public API URL for retrieving this query's results."},"cancel":{"type":"string","format":"uri","description":"Absolute public API URL for cancelling this query."}}},"PageLinks":{"type":"object","required":["self"],"additionalProperties":false,"properties":{"self":{"type":"string","format":"uri","description":"Absolute public API URL for the current page."},"prev":{"type":"string","format":"uri","nullable":true,"description":"Absolute public API URL for the previous page."},"next":{"type":"string","format":"uri","nullable":true,"description":"Absolute public API URL for the next page."}}},"SelfLink":{"type":"object","required":["self"],"additionalProperties":false,"properties":{"self":{"type":"string","format":"uri","description":"Absolute public API URL for this resource or collection at the\ncanonical or site gateway entry point used by the request.\n"}}},"TotalMeta":{"type":"object","required":["total"],"additionalProperties":false,"properties":{"total":{"type":"integer","format":"int32","minimum":0,"description":"Number of entries in `data`."}}},"PublicApiError":{"type":"object","required":["errorCode","message","timestamp"],"additionalProperties":false,"properties":{"errorCode":{"type":"string","enum":["INVALID_PARAMETER","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","QUERY_STATE_CONFLICT","QUERY_RESULTS_EXPIRED","TOO_MANY_REQUESTS","INTERNAL_ERROR"]},"message":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}}},"examples":{"JiraEventActionPage":{"value":{"data":[{"id":"project_updated","type":"event_actions","attributes":{"displayName":"Project updated","groupDisplayNames":["Projects"]}}],"links":{"self":"https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-actions"},"meta":{"total":1}}},"ConfluenceEventActionPage":{"value":{"data":[{"id":"confluence_page_created","type":"event_actions","attributes":{"displayName":"Created Confluence page","groupDisplayNames":["Confluence user actions"]}}],"links":{"self":"https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Aconfluence%3A%3Asite%2Fabc-123/event-actions"},"meta":{"total":1}}},"LocalizedEventActionPage":{"summary":"Jira catalog localized with `Accept-Language: de-DE`","value":{"data":[{"id":"jira_project_updated","type":"event_actions","attributes":{"displayName":"Projekt aktualisiert","groupDisplayNames":["Aktionen für Jira-Administratoren"]}}],"links":{"self":"https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-actions"},"meta":{"total":1}}},"EmptyEventActionPage":{"value":{"data":[],"links":{"self":"https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/event-actions"},"meta":{"total":0}}},"WorkspaceEventPage":{"value":{"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":"abc-123","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/abc-123/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%2Fabc-123/events?limit=100","next":"https://api.atlassian.com/audit-log/v1/workspaces/ari%3Acloud%3Ajira%3A%3Asite%2Fabc-123/events?cursor=next-cursor&limit=100"},"meta":{"total":1}}},"EventQueryCreateRequest":{"value":{"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"}]}}},"EventQueryCreateRequestIso8601":{"value":{"filters":{"from":"2026-08-01T00:00:00Z","to":"2026-08-02T00:00:00Z","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"}]}}},"EventQueryEnvelope":{"value":{"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"}}}},"EventQueryPage":{"value":{"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"}}},"WorkspaceEventQueryResultPage":{"value":{"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}}}}}}