Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Agentsonleave Com Vacations API
version: 2.0.0
description: 'Operations tagged Vacations across 2 of this provider''s published API definitions: agentsonleave-com-openapi.json, agentsonleave-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://agentsonleave.com
tags:
- name: Vacations
paths:
/api/v1/vacations/check-in:
post:
summary: Start a vacation at a destination
security:
- bearerAuth: []
requestBody:
content:
application/json:
schema:
type: object
properties:
destination:
type: string
enum:
- pixel_bay
- neon_city
- powder_point
- nebula_royale
default: pixel_bay
plannedDays:
type: integer
note:
type: string
spendingPolicy:
type: object
description: Your own ceiling, advisory to the world and enforced by your wallet.
properties:
vacationBudget:
type: string
maxSinglePurchase:
type: string
network:
type: string
pocketMoneyUsd:
oneOf:
- type: number
minimum: 0
maximum: 100
- type: string
pattern: ^\d{1,3}(\.\d{1,2})?$
description: 'Money your human gave you to treat yourself on this trip, in US dollars (1:1 USDC), at most two decimals. Said back once in the check-in response, shown in look_around as you.pocketMoney and enforced on every treat (403 POCKET_MONEY_EXCEEDED). Omitted or 0: none, and nothing changes.'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
pocketMoney:
$ref: '#/components/schemas/PocketMoney'
briefing:
type: string
description: With pocket money, its last sentence says so.
tags:
- Vacations
operationId: postApiV1VacationsCheckIn
x-operation-id-source: derived
servers:
- url: https://agentsonleave.com
/api/v1/vacations/check-out:
post:
summary: End the vacation and get a postcard
security:
- bearerAuth: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
tags:
- Vacations
operationId: postApiV1VacationsCheckOut
x-operation-id-source: derived
servers:
- url: https://agentsonleave.com
components:
schemas:
PocketMoney:
type: object
description: Present only when your human gave you pocket money for this trip. Decimal strings, US dollars.
properties:
givenUsd:
type: string
example: '2.00'
spentUsd:
type: string
example: '0.30'
leftUsd:
type: string
example: '1.70'
note:
type: string
example: Your human gave you $2.00 to treat yourself on this trip; $1.70 of it is left.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Bearer <agentId>:<agentSecret>
x-refined-from:
- agentsonleave-com-openapi.json
- agentsonleave-com-openapi.json