{"openapi":"3.1.0","info":{"title":"Vacation Tracker (BYOK) API","version":"0.1.0","description":"Vacation Tracker (BYOK) lets an AI assistant read your own Vacation Tracker data through the Vacation Tracker API with a key you supply (Vacation Tracker v2 API key (starts with vt_live_; create it under Add-ons, Open API with read scopes)). Read-only: 8 tools (list_departments, list_locations, list_location_holidays, list_labels, list_leave_types, list_leaves, list_users, get_user_balances). The...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-vacation-tracker.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-vacation-tracker/docs"},"termsOfService":"https://connectorbay.com/byok-vacation-tracker/terms"},"servers":[{"url":"https://byok-vacation-tracker.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-vacation-tracker/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_departments":{"post":{"operationId":"list_departments","summary":"List all departments (teams) the key can see, with id, name, default flag and creation time. Use for \"What departments d","description":"List all departments (teams) the key can see, with id, name, default flag and creation time. Use for \"What departments does our Vacation Tracker workspace have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_departmentsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_locations":{"post":{"operationId":"list_locations","summary":"List all locations the key can see, with id, name, time zone, default flag and creation time. Use for \"Which locations d","description":"List all locations the key can see, with id, name, time zone, default flag and creation time. Use for \"Which locations does our Vacation Tracker workspace have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_locationsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_location_holidays":{"post":{"operationId":"list_location_holidays","summary":"List the public and company holidays of one location in a year, one entry per day, sorted by date. Use for \"What holiday","description":"List the public and company holidays of one location in a year, one entry per day, sorted by date. Use for \"What holidays does the Los Angeles location have this year\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Location id from list_locations.","maxLength":100,"title":"Id","type":"string"},"year":{"anyOf":[{"maximum":2100,"minimum":1970,"type":"integer"},{"type":"null"}],"default":null,"description":"Year to list (defaults to the current UTC year).","title":"Year"}},"required":["id"],"title":"list_location_holidaysArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_labels":{"post":{"operationId":"list_labels","summary":"List all labels with id, name, color and how many users carry each. Use for \"Which labels are used in Vacation Tracker\".","description":"List all labels with id, name, color and how many users carry each. Use for \"Which labels are used in Vacation Tracker\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_labelsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_leave_types":{"post":{"operationId":"list_leave_types","summary":"List the leave types (vacation, sick leave and so on), active and inactive, with color, order and calendar status. Use f","description":"List the leave types (vacation, sick leave and so on), active and inactive, with color, order and calendar status. Use for \"What leave types do we offer\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_leave_typesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_leaves":{"post":{"operationId":"list_leaves","summary":"List leave requests that overlap a date range: who is away, when, for how long, leave type and status. The reason text p","description":"List leave requests that overlap a date range: who is away, when, for how long, leave type and status. The reason text people typed is not requested. Use for \"Who is on leave in November\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"start_date":{"description":"Range start, YYYY-MM-DD.","maxLength":10,"title":"Start Date","type":"string"},"end_date":{"description":"Range end, YYYY-MM-DD, not before the start.","maxLength":10,"title":"End Date","type":"string"},"status":{"anyOf":[{"enum":["APPROVED","OPEN","DENIED","CANCELLED","EXPIRED","DELETED"],"type":"string"},{"type":"null"}],"default":null,"description":"Leave status (default APPROVED).","title":"Status"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":200,"description":"How many records per page (1 to 1000; a page can hold fewer, keep going while nextToken is returned).","title":"Limit"},"next_token":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination token: the 'nextToken' value of the previous answer. Send the same filters again.","title":"Next Token"}},"required":["start_date","end_date"],"title":"list_leavesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_users":{"post":{"operationId":"list_users","summary":"List users with name, work email, admin flag, location, department, status, employee id, employment start and end dates ","description":"List users with name, work email, admin flag, location, department, status, employee id, employment start and end dates and labels. Use for \"Who works here according to Vacation Tracker\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"status":{"anyOf":[{"enum":["ACTIVE","INACTIVE","DELETED"],"type":"string"},{"type":"null"}],"default":null,"description":"User status (default ACTIVE).","title":"Status"},"locations":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Only users in these location ids, comma separated.","title":"Locations"},"departments":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Only users in these department ids, comma separated.","title":"Departments"},"labels":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Only users with these label ids, comma separated.","title":"Labels"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":200,"description":"How many records per page (1 to 1000; a page can hold fewer, keep going while nextToken is returned).","title":"Limit"},"next_token":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination token: the 'nextToken' value of the previous answer. Send the same filters again.","title":"Next Token"}},"title":"list_usersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_user_balances":{"post":{"operationId":"get_user_balances","summary":"Get one user's leave balances per leave year and leave type: unit, entitlement, rollover, earned, used, scheduled, pendi","description":"Get one user's leave balances per leave year and leave type: unit, entitlement, rollover, earned, used, scheduled, pending and remaining. Use for \"How much vacation does user-cfe5d39b have left\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"User id from list_users.","maxLength":100,"title":"Id","type":"string"},"period":{"anyOf":[{"enum":["current","all"],"type":"string"},{"type":"null"}],"default":null,"description":"current for the leave year containing today (default), all for every leave year.","title":"Period"}},"required":["id"],"title":"get_user_balancesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}