Get Availability
GET
/public/v1/availability
const url = 'https://api.nuntius.chat/public/v1/availability?from=2026-04-15&to=2026-04-15';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.nuntius.chat/public/v1/availability?from=2026-04-15&to=2026-04-15' \ --header 'X-API-Key: <X-API-Key>'Return one employee’s free slots within [from, to] (SPEC_API_PUBLICA.md §2.4) – SAME
contract as the internal GET /availability (features/appointments.py:148).
userId omitted resolves via SchedulingEligibilityService.resolve_target_employee
(tenant-wide “any agendable employee” policy, same as the internal route with no conversation
context) – 404 BookableEmployee when nobody in the tenant is agendable. userId given
resolves (id, tenant_id) – foreign/unknown -> 404.
Permiso necesario: tenant:appointments.read
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Query Parameters
Sección titulada «Query Parameters»Responses
Sección titulada «Responses»Successful Response
Media typeapplication/json
PublicAvailabilityOut
GET /public/v1/availability response – same shape as the internal
AvailabilityOut.
object
slots
required
Slots
Array<object>
PublicSlotOutOne discrete, currently-free window (GET /public/v1/availability’s slots
entries) – same shape as the internal SlotOut.
object
startsAt
required
Startsat
string format: date-time
endsAt
required
Endsat
string format: date-time
degraded
required
Degraded
boolean
Examplegenerated
{ "slots": [ { "startsAt": "2026-04-15T12:00:00Z", "endsAt": "2026-04-15T12:00:00Z" } ], "degraded": true, "degradedReason": "example"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}