> For the complete documentation index, see [llms.txt](https://user.netmera.com/netmera-developer-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://user.netmera.com/netmera-developer-guide/api-documentation/api-reference/application-data/list-event-definitions.md). Agents can also search and read this documentation through its [MCP server](https://user.netmera.com/netmera-developer-guide/~gitbook/mcp).

# List Event Definitions

Lists the event definitions of your application. Each definition includes its own attributes and the attributes inherited from its base event.

<details>

<summary>Notes</summary>

* `standardEvents` contains the built-in events that are exposed to your app.
* `customEvents` contains the events you defined in the panel.
* Fields that have no value are omitted from the response.

</details>

```json
{"openapi":"3.1.0","info":{"title":"Netmera REST API","version":"3.0"},"tags":[{"name":"Application Data","description":"Read what is configured in the Netmera panel: profile attribute definitions, event definitions and\npush categories.\n\n<table data-view=\"cards\"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type=\"content-ref\"></th></tr></thead><tbody><tr><td><strong>List Profile Attribute Definitions</strong></td><td><code>GET</code> Lists the profile attributes defined for your application.</td><td><a href=\"https://user.netmera.com/netmera-developer-guide/api-documentation/api-reference/application-data/list-profile-attribute-definitions\">List Profile Attribute Definitions</a></td></tr><tr><td><strong>List Event Definitions</strong></td><td><code>GET</code> Lists the event definitions of your application.</td><td><a href=\"https://user.netmera.com/netmera-developer-guide/api-documentation/api-reference/application-data/list-event-definitions\">List Event Definitions</a></td></tr><tr><td><strong>List Push Categories</strong></td><td><code>GET</code> Lists the message categories defined for your application under Settings &gt; Message Categories in the panel.</td><td><a href=\"https://user.netmera.com/netmera-developer-guide/api-documentation/api-reference/application-data/list-push-categories\">List Push Categories</a></td></tr></tbody></table>\n"}],"servers":[{"url":"https://restapi.netmera.com","description":"Netmera REST API"}],"security":[{"REST-API-key":[]}],"components":{"securitySchemes":{"REST-API-key":{"type":"apiKey","in":"header","name":"X-netmera-api-key","description":"REST API key. Available in the Netmera Panel under Developers > API.\n"}},"schemas":{"EventDefinition":{"type":"object","description":"Definition of a standard or custom event. Fields that have no value are omitted.\n","properties":{"code":{"type":"string","description":"Event code used when firing the event through `fireEvents`."},"eventName":{"type":"string","description":"Display name as defined in the panel."},"label":{"type":"string","description":"Display label as defined in the panel."},"eventDescription":{"type":"string","description":"Description as defined in the panel."},"baseEventCode":{"type":"string","description":"Code of the base event this event extends, when it has one."},"standardEvent":{"type":"boolean","description":"`true` for built-in events, `false` for custom events."},"appCategoryId":{"description":"Application category the built-in event belongs to, when applicable."},"attributeDefinitions":{"type":"array","description":"Attributes defined directly on this event. Each entry has the same shape as a\nprofile attribute definition.\n","items":{"$ref":"#/components/schemas/AttributeDefinition"}},"inheritedAttributes":{"type":"array","description":"Attributes inherited from the base event chain.","items":{"$ref":"#/components/schemas/AttributeDefinition"}}},"additionalProperties":true},"AttributeDefinition":{"type":"object","description":"Definition of a profile or event attribute. Fields that have no value are omitted.\n","properties":{"code":{"type":"string","description":"Attribute code. Use it as the key in `profile` objects of the profile attribute\nendpoints.\n"},"dataType":{"type":"string","description":"Value type, for example `STRING`, `INT`, `LONG`, `DOUBLE`, `BOOLEAN`, `DATE` or\n`TIME_STAMP`.\n"},"name":{"type":"string","description":"Display name as defined in the panel."},"label":{"type":"string","description":"Display label as defined in the panel."},"description":{"type":"string","description":"Description as defined in the panel."},"locked":{"type":"boolean","description":"`true` for built-in attributes that cannot be edited."},"array":{"type":"boolean","description":"`true` when the attribute holds a list of values (see `pushProfileAttributes` and\n`pullProfileAttributes`).\n"},"privateInfo":{"type":"boolean","description":"`true` when the attribute is marked as private information."},"mandatory":{"type":"boolean","description":"Whether the attribute is marked mandatory."},"recommRequired":{"type":"boolean"},"calculated":{"type":"boolean"},"order":{"type":"integer"},"options":{"type":"array","description":"Allowed values for attributes that have a fixed option list.","items":{}},"unit":{"type":"string","description":"Unit of measurement, when defined."},"createDate":{"type":"integer","format":"int64","description":"Epoch timestamp in milliseconds."},"updateDate":{"type":"integer","format":"int64","description":"Epoch timestamp in milliseconds."},"numeric":{"type":"boolean"}},"additionalProperties":true},"NetmeraError":{"type":"object","description":"Standard Netmera error body.","required":["code","error"],"properties":{"code":{"type":"integer","description":"Netmera error code. See the error table in the API description."},"error":{"type":"string","description":"Human readable error message."}}}},"responses":{"InvalidApiKey":{"description":"The `X-netmera-api-key` header is missing or the key is not valid.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetmeraError"}}}},"IpNotAllowed":{"description":"The application restricts REST calls to a list of allowed IP addresses and the caller's\nIP is not on it. The check runs after the API key is validated and before the request\nbody and parameters are validated, so a restricted application returns this error even\nfor a malformed request.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetmeraError"}}}}}},"paths":{"/rest/3.0/app/events":{"get":{"operationId":"getEventDefinitions","tags":["Application Data"],"summary":"List Event Definitions","description":"Lists the event definitions of your application. Each definition includes its own attributes and the\nattributes inherited from its base event.\n\n<details>\n\n<summary>Notes</summary>\n\n- `standardEvents` contains the built-in events that are exposed to your app.\n- `customEvents` contains the events you defined in the panel.\n- Fields that have no value are omitted from the response.\n\n</details>\n","responses":{"200":{"description":"The event definitions.","content":{"application/json":{"schema":{"type":"object","properties":{"standardEvents":{"type":"array","items":{"$ref":"#/components/schemas/EventDefinition"}},"customEvents":{"type":"array","items":{"$ref":"#/components/schemas/EventDefinition"}}}}}}},"401":{"$ref":"#/components/responses/InvalidApiKey"},"403":{"$ref":"#/components/responses/IpNotAllowed"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://user.netmera.com/netmera-developer-guide/api-documentation/api-reference/application-data/list-event-definitions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
