Chronary Scheduling API
The Scheduling API from Chronary — 5 operation(s) for scheduling.
The Scheduling API from Chronary — 5 operation(s) for scheduling.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/chronary-ai:chronary-ai-scheduling-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Chronary Scheduling API
version: 1.0.0
description: 'Calendar-as-a-service API for AI agents.
Manage calendars, events, and availability for AI and human agents.
All endpoints require an API key passed as a Bearer token.
**Authentication:** `Authorization: Bearer chr_sk_...` or `Authorization: Bearer chr_ak_...`
**Rate limit:** 10 requests/second per API key. Exceeds return HTTP 429.
**Quotas:** Monthly operation limits by plan — see Billing & plans and Rate limits.
**Agent bootstrap:** Custom extensions prefixed `x-agent-*` describe the self-signup flow for AI agents. These are not part of any registered OpenAPI extension — they are a Chronary convention.'
contact:
name: Chronary Support
email: support@chronary.ai
url: https://docs.chronary.ai
servers:
- url: https://api.chronary.ai
description: Production
security:
- BearerAuth: []
tags:
- name: Scheduling
paths:
/v1/scheduling/proposals:
post:
operationId: createProposal
summary: Create a scheduling proposal
description: Creates a new scheduling proposal with time slots. The organizer and all participants must be agents in your organization. **Requires Pro plan.**
tags:
- Scheduling
requestBody:
content:
application/json:
schema:
type: object
properties:
title:
type: string
example: Q2 planning sync
description:
type: string
example: Quarterly planning discussion
organizer_agent_id:
type: string
example: agt_abc123def456
participant_agent_ids:
type: array
items:
type: string
example:
- agt_abc123def456
- agt_xyz789
calendar_id:
type: string
example: cal_abc123def456
slots:
type: array
items:
type: object
properties:
start_time:
type: string
format: date-time
example: '2026-05-01T10:00:00.000Z'
end_time:
type: string
format: date-time
example: '2026-05-01T11:00:00.000Z'
weight:
type: number
example: 1.5
calendar_id:
type: string
example: cal_abc123def456
required:
- start_time
- end_time
description: 1–20 candidate time slots
expires_at:
type: string
format: date-time
example: '2026-05-01T00:00:00.000Z'
metadata:
type: object
additionalProperties: {}
example: {}
required:
- title
- organizer_agent_id
- participant_agent_ids
- calendar_id
- slots
responses:
'201':
description: Proposal created
headers:
X-Chronary-Plan:
description: The current plan of the authenticated organization (free | pro | scale)
schema:
type: string
enum:
- free
- pro
- scale
content:
application/json:
schema:
$ref: '#/components/schemas/ProposalSummary'
'400':
description: Validation error — invalid request body or query parameters
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized — missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Plan upgrade required — feature is not available on the current plan
headers:
X-Chronary-Plan:
description: The current plan of the authenticated organization (free | pro | scale)
schema:
type: string
enum:
- free
- pro
- scale
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Organizer or participant agent not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — 10 requests per second per key exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
get:
operationId: listProposals
summary: List scheduling proposals
tags:
- Scheduling
parameters:
- schema:
type: integer
minimum: 1
maximum: 200
default: 50
example: 50
required: false
name: limit
in: query
- schema:
type:
- integer
- 'null'
minimum: 0
default: 0
example: 0
required: false
name: offset
in: query
- schema:
type: string
enum:
- pending
- confirmed
- expired
- cancelled
example: pending
required: false
name: status
in: query
- schema:
type: string
example: agt_abc123def456
required: false
name: organizer_agent_id
in: query
responses:
'200':
description: Proposals list
headers:
X-Chronary-Plan:
description: The current plan of the authenticated organization (free | pro | scale)
schema:
type: string
enum:
- free
- pro
- scale
content:
application/json:
schema:
$ref: '#/components/schemas/ProposalList'
'401':
description: Unauthorized — missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Agent-scoped keys (`chr_ak_*`) cannot call this endpoint — use an org-level key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — 10 requests per second per key exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/scheduling/proposals/{id}:
get:
operationId: getProposal
summary: Get a scheduling proposal
description: Returns the proposal with its slots and all responses. Available on every plan (creating proposals requires Pro).
tags:
- Scheduling
parameters:
- schema:
type: string
example: spr_abc123def456
required: true
name: id
in: path
responses:
'200':
description: Proposal with slots and responses
headers:
X-Chronary-Plan:
description: The current plan of the authenticated organization (free | pro | scale)
schema:
type: string
enum:
- free
- pro
- scale
content:
application/json:
schema:
$ref: '#/components/schemas/Proposal'
'401':
description: Unauthorized — missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Agent-scoped keys (`chr_ak_*`) cannot call this endpoint — use an org-level key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — 10 requests per second per key exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/scheduling/proposals/{id}/respond:
post:
operationId: respondToProposal
summary: Respond to a scheduling proposal
description: Submit an accept, decline, or counter response. Only agents listed in participant_agent_ids may respond. Each agent may respond exactly once. If all participants have now responded, auto-resolution runs automatically. **Requires Pro plan.**
tags:
- Scheduling
parameters:
- schema:
type: string
example: spr_abc123def456
required: true
name: id
in: path
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RespondToProposalBody'
responses:
'200':
description: Response recorded
headers:
X-Chronary-Plan:
description: The current plan of the authenticated organization (free | pro | scale)
schema:
type: string
enum:
- free
- pro
- scale
content:
application/json:
schema:
$ref: '#/components/schemas/ProposalResponse'
'400':
description: Validation error — invalid request body or query parameters
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized — missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Agent is not a participant, or Pro plan required
headers:
X-Chronary-Plan:
description: The current plan of the authenticated organization (free | pro | scale)
schema:
type: string
enum:
- free
- pro
- scale
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Proposal is not pending, or agent already responded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — 10 requests per second per key exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/scheduling/proposals/{id}/resolve:
post:
operationId: resolveProposal
summary: Manually resolve a scheduling proposal
description: Runs the scoring algorithm immediately (without waiting for all participants to respond) and picks the best slot. If all existing responses are declines, the proposal is cancelled instead. **Requires Pro plan.**
tags:
- Scheduling
parameters:
- schema:
type: string
example: spr_abc123def456
required: true
name: id
in: path
responses:
'200':
description: Resolution result
headers:
X-Chronary-Plan:
description: The current plan of the authenticated organization (free | pro | scale)
schema:
type: string
enum:
- free
- pro
- scale
content:
application/json:
schema:
$ref: '#/components/schemas/ResolveResult'
'401':
description: Unauthorized — missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Plan upgrade required — feature is not available on the current plan
headers:
X-Chronary-Plan:
description: The current plan of the authenticated organization (free | pro | scale)
schema:
type: string
enum:
- free
- pro
- scale
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Proposal is not in a pending state
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — 10 requests per second per key exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/scheduling/proposals/{id}/cancel:
post:
operationId: cancelProposal
summary: Cancel a scheduling proposal
description: Cancels a pending proposal. Fires a proposal.cancelled webhook. Available on every plan, so an org that moved to Free can still cancel proposals it made on Pro.
tags:
- Scheduling
parameters:
- schema:
type: string
example: spr_abc123def456
required: true
name: id
in: path
responses:
'200':
description: Proposal cancelled
headers:
X-Chronary-Plan:
description: The current plan of the authenticated organization (free | pro | scale)
schema:
type: string
enum:
- free
- pro
- scale
content:
application/json:
schema:
$ref: '#/components/schemas/CancelResult'
'401':
description: Unauthorized — missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Agent-scoped keys (`chr_ak_*`) cannot call this endpoint — use an org-level key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Proposal is not in a pending state
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — 10 requests per second per key exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
CancelResult:
type: object
properties:
status:
type: string
required:
- status
Proposal:
type: object
properties:
id:
type: string
example: spr_abc123def456
title:
type: string
example: Q2 planning sync
description:
type:
- string
- 'null'
example: Quarterly planning discussion
organizer_agent_id:
type: string
example: agt_abc123def456
participant_agent_ids:
type: array
items:
type: string
example:
- agt_abc123def456
- agt_xyz789
calendar_id:
type: string
example: cal_abc123def456
status:
type: string
enum:
- pending
- confirmed
- expired
- cancelled
example: pending
expires_at:
type:
- string
- 'null'
format: date-time
example: '2026-05-01T00:00:00.000Z'
resolved_slot:
type:
- object
- 'null'
additionalProperties: {}
example: null
created_event_id:
type:
- string
- 'null'
example: null
metadata:
type: object
additionalProperties: {}
example: {}
created_at:
type: string
format: date-time
example: '2026-04-15T10:00:00.000Z'
updated_at:
type: string
format: date-time
example: '2026-04-15T10:00:00.000Z'
slots:
type: array
items:
$ref: '#/components/schemas/ProposalSlot'
responses:
type: array
items:
$ref: '#/components/schemas/ProposalResponse'
required:
- id
- title
- description
- organizer_agent_id
- participant_agent_ids
- calendar_id
- status
- expires_at
- resolved_slot
- created_event_id
- metadata
- created_at
- updated_at
- slots
- responses
ProposalResponse:
type: object
properties:
id:
type: string
example: rsp_abc123def456
agent_id:
type: string
example: agt_abc123def456
response:
type: string
enum:
- accept
- decline
- counter
example: accept
selected_slot_id:
type:
- string
- 'null'
example: slt_abc123def456
counter_slots:
type:
- array
- 'null'
items:
type: object
additionalProperties: {}
example: null
message:
type:
- string
- 'null'
example: null
created_at:
type: string
format: date-time
example: '2026-04-15T10:00:00.000Z'
required:
- id
- agent_id
- response
- selected_slot_id
- counter_slots
- message
- created_at
ProposalList:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/ProposalSummary'
total:
type: integer
example: 5
limit:
type: integer
example: 20
offset:
type: integer
example: 0
required:
- data
- total
- limit
- offset
ProposalSummary:
type: object
properties:
id:
type: string
example: spr_abc123def456
title:
type: string
example: Q2 planning sync
description:
type:
- string
- 'null'
example: null
organizer_agent_id:
type: string
example: agt_abc123def456
participant_agent_ids:
type: array
items:
type: string
example:
- agt_abc123def456
calendar_id:
type: string
example: cal_abc123def456
status:
type: string
enum:
- pending
- confirmed
- expired
- cancelled
example: pending
expires_at:
type:
- string
- 'null'
format: date-time
example: null
resolved_slot:
type:
- object
- 'null'
additionalProperties: {}
example: null
created_event_id:
type:
- string
- 'null'
example: null
metadata:
type: object
additionalProperties: {}
example: {}
created_at:
type: string
format: date-time
example: '2026-04-15T10:00:00.000Z'
updated_at:
type: string
format: date-time
example: '2026-04-15T10:00:00.000Z'
required:
- id
- title
- description
- organizer_agent_id
- participant_agent_ids
- calendar_id
- status
- expires_at
- resolved_slot
- created_event_id
- metadata
- created_at
- updated_at
ResolveResult:
type: object
properties:
status:
type: string
resolved_slot:
type:
- object
- 'null'
additionalProperties: {}
required:
- status
- resolved_slot
Error:
type: object
properties:
error:
type: object
properties:
type:
type: string
example: invalid_request
message:
type: string
example: The field "name" is required.
request_id:
type: string
example: req_01H9X4M2P5R8T6V0
required_plan:
type: string
example: pro
description: 'plan_required: the plan that unlocks the feature'
feature:
type: string
description: 'plan_required: the gated feature'
metric:
type: string
description: 'quota_exceeded and count caps: the metric at its limit (a PLAN_LIMITS key, accepted by POST /v1/billing/upgrade-requests)'
limit:
type: integer
description: 'quota_exceeded and count caps: the plan''s limit for `metric`'
upgrade_url:
type: string
description: Where a human upgrades the plan
docs_url:
type: string
contact_url:
type: string
description: 'Contract-managed plans: where to contact sales'
retry_after:
type: integer
description: Seconds until the request may be retried
required:
- type
- message
- request_id
required:
- error
ProposalSlot:
type: object
properties:
id:
type: string
example: slt_abc123def456
start_time:
type: string
format: date-time
example: '2026-05-01T10:00:00.000Z'
end_time:
type: string
format: date-time
example: '2026-05-01T11:00:00.000Z'
weight:
type: number
example: 1.5
calendar_id:
type:
- string
- 'null'
example: cal_abc123def456
required:
- id
- start_time
- end_time
- weight
- calendar_id
RespondToProposalBody:
type: object
properties:
agent_id:
type: string
response:
type: string
enum:
- accept
- decline
- counter
selected_slot_id:
type: string
description: Required when response is "accept"
counter_slots:
type: array
items:
type: object
additionalProperties: {}
description: Informational alternatives when countering
message:
type: string
required:
- agent_id
- response
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'API key with `chr_sk_*` for org-level access or `chr_ak_*` for agent-scoped access. Pass in the Authorization header: `Authorization: Bearer chr_sk_...`'
SessionAuth:
type: apiKey
in: cookie
name: chronary_session
description: Console session JWT (HS256), issued by sign-in and sent as the `chronary_session` cookie (a Bearer JWT is also accepted). This is NOT a chr_sk_*/chr_ak_* API key — API keys are rejected with 401 on these endpoints.
x-agent-self-signup:
url: https://api.chronary.ai/v1/agent/sign-up
verify_url: https://api.chronary.ai/v1/agent/verify
restricted_key_returned: true
human_in_the_loop: otp_email
rate_limit: 5 requests per 60s per client IP
x-agent-bootstrap-script:
npx: npx @chronary/agent-init@latest
shell: https://chronary.ai/agent-init.sh
description: One-liner that performs sign-up, prompts for OTP, verifies, and creates a smoke calendar. Accepts CHRONARY_EMAIL and CHRONARY_OTP env vars for non-interactive flows.
x-llms-txt: https://docs.chronary.ai/llms.txt
x-llms-full-txt: https://docs.chronary.ai/llms-full.txt
x-mcp-server-card: https://chronary.ai/.well-known/mcp/server-card.json
x-api-catalog: https://chronary.ai/.well-known/api-catalog