---
title: "Query open time slots"
url: "https://real-estate-agency.apim.eu/apis/evaluation-sessions/versions/b3c12e5c-39d5-45ea-824c-783ae0f56765/operations/getAvailability"
---

> Full API specification: https://real-estate-agency.apim.eu/apis/evaluation-sessions/versions/b3c12e5c-39d5-45ea-824c-783ae0f56765.md

# Query open time slots

`GET` `/availability`

Operation ID: `getAvailability`

Returns bookable slots for an agent, derived from the responsible reviewer's stored working hours minus sessions already booked.

## Query parameters

- `agent_id` (string, required)
- `from` (string, date, required)
- `to` (string, date, required)

## Responses

- `200` - Time slots

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Evaluation Sessions
  version: 1.0.0
servers:
  - url: https://api.nexora.example/v1
    description: Production
  - url: https://sandbox.api.nexora.example/v1
    description: Sandbox
paths:
  /availability:
    get:
      tags:
        - Availability
      summary: Query open time slots
      description: |
        Returns bookable slots for an agent, derived from the responsible
        reviewer's stored working hours minus sessions already booked.
      operationId: getAvailability
      parameters:
        - name: agent_id
          in: query
          required: true
          schema:
            type: string
            example: agt_8f2c1a
        - name: from
          in: query
          required: true
          schema:
            type: string
            format: date
        - name: to
          in: query
          required: true
          schema:
            type: string
            format: date
      responses:
        "200":
          description: Time slots
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: "#/components/schemas/TimeSlot"
              example:
                data:
                  - start: 2026-09-03T16:00:00+02:00
                    end: 2026-09-03T16:30:00+02:00
                    bookable: true
                  - start: 2026-09-03T16:30:00+02:00
                    end: 2026-09-03T17:00:00+02:00
                    bookable: false
security:
  - apiKey: []
components:
  schemas:
    TimeSlot:
      type: object
      properties:
        start:
          type: string
          format: date-time
          example: 2026-09-03T16:00:00+02:00
        end:
          type: string
          format: date-time
          example: 2026-09-03T16:30:00+02:00
        bookable:
          type: boolean
          example: true
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: apikey
      description: |
        Every call carries an API key in the `apikey` header. You generate the
        key in the Nexora AI portal under "My Apps"; it's shown exactly once.

        Each key has the scopes it's allowed to use attached to it. If one is
        missing, the API responds with `403` and `code: "scope_missing"`; the
        missing scope is in `details[].field`.
```
