---
title: "Returns event schemas."
method: GET
path: "/events/info"
tags: ["events"]
---

# Returns event schemas.

`GET /events/info`

## Request

- Base URL: `https://api.rosette.com/rest/v1`
- URL: `https://api.rosette.com/rest/v1/events/info`
- Auth: API key in header `X-RosetteAPI-Key`

An event schema defines the event types you are extracting. It includes key phrases, roles, role types, and extractors. You can return the list of all models installed in the system, along with the schemas used to create the model. You can also return the schema for a specific model, where the model is represented by the workspace id (wid).

## Query parameters

- `workspaceId` string

## Response `200`

OK

- EventInfoResponse
  - `data` string
  - `identifier` Data[]
    - `version` string
    - `name` string
    - `import` string[]
    - `extractors` Extractors[]
      - `name` string
      - `kind` 'morphological' | 'semantic' | 'exact' | 'entity'
      - `useConditions` string[]
      - `extractorItem` ExtractorItems[]
        - `surface-form` string
        - `lemmas` string[]
        - `types` string[]
        - `items` string[]
    - `roleTypes` RoleTypes[]
      - `name` string
      - `extractors` string[]
    - `eventTypes` EventTypes[]
      - `name` string
      - `keys` Keys[]
        - `name` string
        - `roleType` string
      - `roles` RoleInfo[]
        - `name` string
        - `roleType` string
        - `required` boolean

---

[API](https://skmtc.dev/babelstreet/apis/rosette-text-analytics.md) · [All operations](https://skmtc.dev/babelstreet/apis/rosette-text-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/babelstreet/apis/rosette-text-analytics/revisions/7c1d1497a5dd?raw)
