> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voxfi.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Event

> Returns an event by its ID



## OpenAPI

````yaml /swagger.json get /data/events/{id}
openapi: 3.0.1
info:
  contact: {}
  title: VoxFi API
  version: 0.0.1
servers:
  - url: https://data-api-dev.voxfi.com.br/v1
security: []
paths:
  /data/events/{id}:
    get:
      tags:
        - data
      summary: Get Event
      description: Returns an event by its ID
      parameters:
        - name: x-api-key
          in: header
          description: API Key
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Event ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.Event'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                type: object
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
components:
  schemas:
    models.Event:
      type: object
      properties:
        category:
          type: string
        category_id:
          type: integer
        created_at:
          type: string
        created_by:
          type: string
        description:
          type: string
        documentation_url:
          type: string
        finished_at:
          type: string
        id:
          type: string
        is_single_market:
          type: boolean
        likes:
          type: integer
        liquidity:
          type: integer
        markets:
          type: array
          items:
            $ref: '#/components/schemas/models.Market'
        metadata:
          type: array
          items:
            type: integer
        qty_markets:
          type: integer
        closes_at:
          type: string
        rules:
          type: string
        slug:
          type: string
        starts_at:
          type: string
        status:
          type: string
        status_id:
          type: integer
        tags:
          type: array
          items:
            type: string
        tags_ids:
          type: array
          items:
            type: integer
        thumbnail_url:
          type: string
        type:
          type: string
        type_id:
          type: integer
        volume:
          type: integer
    models.Market:
      type: object
      properties:
        id:
          type: string
        event_id:
          type: string
        description:
          type: string
        status:
          type: string
        status_id:
          type: integer
        closed_at:
          type: string
        liquidity:
          type: integer
        metadata:
          type: array
          items:
            type: integer
        options:
          type: array
          items:
            $ref: '#/components/schemas/models.Option'
        resolved_at:
          type: string
        settled_at:
          type: string
        thumbnail_url:
          type: string
        volume:
          type: integer
        winner_option_type:
          type: integer
    models.Option:
      type: object
      properties:
        description:
          type: string
        event_id:
          type: string
        id:
          type: string
        market_id:
          type: string
        metadata:
          type: array
          items:
            type: integer
        option_type:
          type: integer

````