# Get Event Availability

Get the availability for a single event.

Returns availability information including remaining seats and constraints.

Endpoint: GET /v1/event-availabilities/{eventId}
Security: OAuth2

## Security:

  - `OAuth2` (unknown)
    oauth2 scopes: event.read

## Path parameters:

  - `eventId` (string, required)
    The unique identifier of the event.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `event_id` (string, required)
    The unique identifier of the event whose availability is described.

  - `available` (boolean, required)
    Whether the event is currently bookable.
`false` if any constraint in `constraints` reports `available: false`.

  - `constraints` (array, required)
    Every constraint that applies to this event, in no particular order.
Both passing (`available: true`) and failing constraints are included.

  - `constraints.type` (string, required)
    Discriminator value identifying this as the event-state constraint.
    Enum: "EVENT_STATE"

  - `constraints.available` (boolean, required)
    Whether this constraint allows booking right now.

  - `constraints.state` (string, required)
    The current lifecycle state of the event.
The values map 1:1 to `Event.state` in the Events API.

  - `constraints.type` (string, required)
    Discriminator value identifying this as the event-seats-limit constraint.
    Enum: "EVENT_SEATS_LIMIT"

  - `constraints.remaining` (integer, required)
    The number of seats still available for booking.

  - `constraints.type` (string, required)
    Discriminator value identifying this as the booking-limit constraint.
    Enum: "BOOKING_LIMIT"

  - `constraints.remaining` (integer, required)
    The largest number of seats a single new booking may still request.

  - `constraints.type` (string, required)
    Discriminator value identifying this as the booking-cutoff-time constraint.
    Enum: "BOOKING_CUTOFF_TIME"

  - `constraints.cutoff_time` (string, required)
    The instant (UTC) at which booking closes for this event.
Bookings created after this time will be rejected.

  - `constraints.type` (string, required)
    Discriminator value identifying this as the ticket-limit constraint.
    Enum: "TICKET_LIMIT"

  - `constraints.remaining` (integer, required)
    The smallest remaining count across all ticket variants tied to this event.

## Response 400:

  - `400` (unknown)
    Bad request - validation failed.

## Response 400 fields (application/json):

  - `code` (string, required)

  - `message` (string, required)

## Response 403:

  - `403` (unknown)
    Forbidden - insufficient permissions.

## Response 403 fields (application/json):

  - `code` (string, required)

  - `message` (string, required)

## Response 404:

  - `404` (unknown)
    Event not found.

## Response 404 fields (application/json):

  - `code` (string, required)

  - `message` (string, required)

## Response default:

  - `default` (unknown)
    Unexpected error.
This will be a 5XX status code.

## Response default fields (application/json):

  - `code` (string, required)

  - `message` (string, required)

