Ретритный центр «Остров» Estimates API

The Estimates API from Ретритный центр «Остров» — 4 operation(s) for estimates.

GitHub OpenAPI

Operations 4

POST /estimates Save after explicit user request. #
GET /estimates/{estimateId} Read only a document owned by this session #
POST /estimates/{estimateId}/edit Edit an owned draft after explicit user request; stale versions conflict #
POST /estimates/{estimateId}/applications Submit only after user confirmation and contact consent. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ostrov-center:ostrov-center-estimates-api"
All apis
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.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ostrov-center-estimates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ostrov public Estimates API
  version: 0.2.0
  description: Public retreat information and indicative quotes. A saved estimate or accepted application never implies confirmed availability. Guest sessions authorize only their own documents. Human links are confidential bearer capabilities.
servers:
- url: https://ostrov.center/api/public/v1
tags:
- name: Estimates
paths:
  /estimates:
    post:
      operationId: save_estimate
      summary: Save after explicit user request.
      responses:
        '201':
          description: Successful operation. A quote/application does not itself confirm a booking.
          content:
            application/json:
              schema:
                type: object
                properties:
                  estimate:
                    $ref: '#/components/schemas/Estimate'
                  applicationId:
                    type:
                    - string
                    - 'null'
                  availabilityStatus:
                    const: requires_confirmation
                  linkAccess:
                    type: string
                    maxLength: 500
                required:
                - estimate
                - applicationId
                - availabilityStatus
                - linkAccess
                additionalProperties: false
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or expired session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Writes disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found or not owned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Version, idempotency or document conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit; Retry-After header applies
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Unavailable or capacity reached; do not infer a zero price/free dates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - GuestSession: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveEstimateRequest'
      tags:
      - Estimates
  /estimates/{estimateId}:
    get:
      operationId: get_estimate
      summary: Read only a document owned by this session
      responses:
        '200':
          description: Successful operation. A quote/application does not itself confirm a booking.
          content:
            application/json:
              schema:
                type: object
                properties:
                  estimate:
                    $ref: '#/components/schemas/Estimate'
                  applicationId:
                    type:
                    - string
                    - 'null'
                  availabilityStatus:
                    const: requires_confirmation
                  linkAccess:
                    type: string
                    maxLength: 500
                required:
                - estimate
                - applicationId
                - availabilityStatus
                - linkAccess
                additionalProperties: false
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or expired session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Writes disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found or not owned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Version, idempotency or document conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit; Retry-After header applies
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Unavailable or capacity reached; do not infer a zero price/free dates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - GuestSession: []
      parameters:
      - name: estimateId
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_-]{32}$
      tags:
      - Estimates
  /estimates/{estimateId}/edit:
    post:
      operationId: edit_estimate
      summary: Edit an owned draft after explicit user request; stale versions conflict
      responses:
        '200':
          description: Successful operation. A quote/application does not itself confirm a booking.
          content:
            application/json:
              schema:
                type: object
                properties:
                  estimate:
                    $ref: '#/components/schemas/Estimate'
                  applicationId:
                    type:
                    - string
                    - 'null'
                  availabilityStatus:
                    const: requires_confirmation
                  linkAccess:
                    type: string
                    maxLength: 500
                required:
                - estimate
                - applicationId
                - availabilityStatus
                - linkAccess
                additionalProperties: false
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or expired session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Writes disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found or not owned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Version, idempotency or document conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit; Retry-After header applies
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Unavailable or capacity reached; do not infer a zero price/free dates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - GuestSession: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EditEstimateRequest'
      parameters:
      - name: estimateId
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_-]{32}$
      tags:
      - Estimates
  /estimates/{estimateId}/applications:
    post:
      operationId: submit_application
      summary: Submit only after user confirmation and contact consent.
      responses:
        '201':
          description: Successful operation. A quote/application does not itself confirm a booking.
          content:
            application/json:
              schema:
                type: object
                properties:
                  application:
                    $ref: '#/components/schemas/Application'
                required:
                - application
                additionalProperties: false
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or expired session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Writes disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found or not owned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Version, idempotency or document conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit; Retry-After header applies
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Unavailable or capacity reached; do not infer a zero price/free dates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - GuestSession: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitApplicationRequest'
      parameters:
      - name: estimateId
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_-]{32}$
      tags:
      - Estimates
components:
  schemas:
    ResidentQuoteDay:
      type: object
      properties:
        date:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        season:
          enum:
          - low
          - medium
          - high
        housing:
          type: number
        food:
          type: number
      required:
      - date
      - housing
      - food
      additionalProperties: false
    Estimate:
      type: object
      required:
      - id
      - kind
      - url
      - documentVersion
      - catalogVersion
      - state
      - editable
      - plan
      - quote
      properties:
        id:
          type: string
          pattern: ^[A-Za-z0-9_-]{32}$
        kind:
          type: string
          enum:
          - group
          - biggroup
          - resident
        url:
          type: string
          format: uri
          description: 'Confidential bearer link: document, typed contact alias/comments and normal website actions. Do not publish.'
        documentVersion:
          type: string
          maxLength: 100
        catalogVersion:
          type: integer
          minimum: 1
          maximum: 1000000000
        state:
          enum:
          - draft
          - in_application
          - snapshot
        editable:
          type: boolean
        plan:
          oneOf:
          - $ref: '#/components/schemas/GroupPlan'
          - $ref: '#/components/schemas/ResidentPlan'
        quote:
          $ref: '#/components/schemas/QuoteDetail'
        updatedAt:
          type: string
          maxLength: 100
      additionalProperties: false
    ContactProfile:
      type: object
      properties:
        name:
          type: string
          maxLength: 100
        phone:
          type: string
          maxLength: 80
        email:
          type: string
          maxLength: 254
          format: email
        notes:
          type: string
          maxLength: 4000
        messengers:
          type: array
          minItems: 1
          maxItems: 8
          items:
            type: object
            properties:
              type:
                enum:
                - telegram
                - whatsapp
                - max
              username:
                type: string
                maxLength: 100
              userId:
                type: string
                const: ''
                description: Typed contact is not authenticated identity; must be empty.
            required:
            - type
            - username
            - userId
            additionalProperties: false
      required:
      - name
      - phone
      - email
      - notes
      - messengers
      additionalProperties: false
    Application:
      type: object
      properties:
        id:
          type: string
          format: uuid
        estimateId:
          type: string
          pattern: ^[A-Za-z0-9_-]{32}$
        status:
          type: string
          maxLength: 100
        reservationState:
          enum:
          - none
          - negotiating
          - confirmed
          - cancelled
        bookingConfirmed:
          type: boolean
        createdAt:
          type: string
          maxLength: 100
      required:
      - id
      - estimateId
      - status
      - reservationState
      - bookingConfirmed
      - createdAt
      additionalProperties: false
    ResidentPlan:
      type: object
      properties:
        arrival:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        departure:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        adults:
          type: integer
          minimum: 1
          maximum: 20
        youngChildrenAges:
          type: array
          maxItems: 30
          items:
            type: integer
            minimum: 0
            maximum: 5
          description: Information only; does not change any guest count, accommodation, food or price.
        name:
          type: string
          maxLength: 100
          description: Required and nonempty when saving.
        children:
          type: array
          maxItems: 20
          items:
            type: integer
            minimum: 6
            maximum: 17
          description: Children counted in accommodation; current rules permit ages 6–17. Put younger ages in youngChildrenAges.
        housing:
          type: array
          minItems: 1
          maxItems: 30
          items:
            type: object
            properties:
              resource:
                type: string
                maxLength: 100
              occupancy:
                type: integer
                minimum: 1
                maximum: 3
            required:
            - resource
            - occupancy
            additionalProperties: false
        bathVisits:
          type: integer
          minimum: 0
          maximum: 100
      required:
      - arrival
      - departure
      - adults
      - children
      - housing
      - bathVisits
      additionalProperties: false
    GroupPlan:
      type: object
      properties:
        arrival:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        departure:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        adults:
          type: integer
          minimum: 0
          maximum: 100
        youngChildrenAges:
          type: array
          maxItems: 30
          items:
            type: integer
            minimum: 0
            maximum: 5
          description: Information only; does not change any guest count, accommodation, food or price.
        policyVersion:
          type: integer
          const: 4
        teens:
          type: integer
          minimum: 0
          maximum: 100
          description: Children eligible for the child discount (currently 6–12). Despite the field name, full-rate children (currently 13+) belong in adults. Check the live catalogue.
        team:
          type: integer
          minimum: 0
          maximum: 100
          description: Adult organizers and team, separate from participants. Ordinary tariff charges the team fully; all-inclusive benefits are calculated by the server.
        youngChildren:
          type: integer
          const: 0
          description: Legacy counter kept at zero; use youngChildrenAges for information.
        organizer:
          type: string
          maxLength: 100
          description: Display name; required and nonempty when saving.
        title:
          type: string
          maxLength: 150
          description: Retreat name; required and nonempty when saving.
        housing:
          type: array
          items:
            type: object
            properties:
              resource:
                type: string
                maxLength: 100
              occupancy:
                type: integer
                minimum: 1
                maximum: 3
              quantity:
                type: integer
                minimum: 1
                maximum: 100
            required:
            - resource
            - occupancy
            - quantity
            additionalProperties: false
          maxItems: 100
        activities:
          type: array
          items:
            type: object
            properties:
              resource:
                type: string
                maxLength: 100
              day:
                type: integer
                minimum: 0
                maximum: 364
              slot:
                type: string
                maxLength: 100
              options:
                type: array
                items:
                  type: string
                  maxLength: 100
                maxItems: 20
            required:
            - resource
            - day
            - slot
            - options
            additionalProperties: false
          maxItems: 2000
        food:
          type: boolean
      required:
      - policyVersion
      - arrival
      - departure
      - adults
      - teens
      - team
      - housing
      - activities
      - food
      additionalProperties: false
    GroupQuoteLine:
      type: object
      required:
      - label
      - amount
      properties:
        label:
          type: string
          maxLength: 1000
        amount:
          type: number
          description: RUB; negative values are deductions already applied by the server.
        kind:
          type: string
          maxLength: 100
        rate:
          type: number
      additionalProperties: true
    QuoteDetail:
      type: object
      required:
      - kind
      - version
      - total
      - lines
      properties:
        kind:
          type: string
          enum:
          - group
          - biggroup
          - resident
        version:
          type: integer
          minimum: 1
          maximum: 1000000000
        total:
          type:
          - number
          - 'null'
          description: Authoritative server total in RUB after all applied discounts and extras. Never replace it with a sum of resident daily lines. Null means incomplete, never zero.
        lines:
          type: array
          description: 'group/biggroup: labeled signed amounts. resident: daily housing/food after child terms but before resident/duration discounts and paid baths; these are not the final total.'
          items:
            oneOf:
            - $ref: '#/components/schemas/GroupQuoteLine'
            - $ref: '#/components/schemas/ResidentQuoteDay'
        warnings:
          type: array
          items:
            type: string
            maxLength: 2000
        compositionComplete:
          type: boolean
        childSettings:
          $ref: '#/components/schemas/ChildRules'
        grossHousingTotal:
          type: number
          description: Housing before child and other discounts.
        grossFoodTotal:
          type: number
          description: Food before child and other discounts.
        childDiscountAmount:
          type: number
          description: Applied child discount. Already included in resident housingTotal, foodTotal and subtotal.
        housingTotal:
          type: number
          description: Resident housing after child terms, before resident/duration discounts.
        foodTotal:
          type: number
          description: Resident food after child terms, before resident/duration discounts.
        subtotal:
          type: number
          description: Resident housing plus food after child terms, before resident/duration discounts.
        residentDiscountAmount:
          type: number
          description: Applied resident discount; already included in total.
        durationDiscountAmount:
          type: number
          description: Applied duration discount; already included in total.
        bathTotal:
          type: number
          description: Resident paid bath charge; already included in total.
      additionalProperties: true
      description: Use kind to explain the breakdown and total as the server result. Public group quotes omit legacy teamSettings; childSettings contains only child-age/discount rules, never resident activities or duration policy.
    SavedGroupPlan:
      type: object
      properties:
        arrival:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        departure:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        adults:
          type: integer
          minimum: 0
          maximum: 100
        youngChildrenAges:
          type: array
          maxItems: 30
          items:
            type: integer
            minimum: 0
            maximum: 5
          description: Information only; does not change any guest count, accommodation, food or price.
        policyVersion:
          type: integer
          const: 4
        teens:
          type: integer
          minimum: 0
          maximum: 100
          description: Children eligible for the child discount (currently 6–12). Despite the field name, full-rate children (currently 13+) belong in adults. Check the live catalogue.
        team:
          type: integer
          minimum: 0
          maximum: 100
          description: Adult organizers and team, separate from participants. Ordinary tariff charges the team fully; all-inclusive benefits are calculated by the server.
        youngChildren:
          type: integer
          const: 0
          description: Legacy counter kept at zero; use youngChildrenAges for information.
        organizer:
          type: string
          maxLength: 100
          description: Display name; required and nonempty when saving.
          minLength: 1
        title:
          type: string
          maxLength: 150
          description: Retreat name; required and nonempty when saving.
          minLength: 1
        housing:
          type: array
          items:
            type: object
            properties:
              resource:
                type: string
                maxLength: 100
              occupancy:
                type: integer
                minimum: 1
                maximum: 3
              quantity:
                type: integer
                minimum: 1
                maximum: 100
            required:
            - resource
            - occupancy
            - quantity
            additionalProperties: false
          maxItems: 100
        activities:
          type: array
          items:
            type: object
            properties:
              resource:
                type: string
                maxLength: 100
              day:
                type: integer
                minimum: 0
                maximum: 364
              slot:
                type: string
                maxLength: 100
              options:
                type: array
                items:
                  type: string
                  maxLength: 100
                maxItems: 20
            required:
            - resource
            - day
            - slot
            - options
            additionalProperties: false
          maxItems: 2000
        food:
          type: boolean
      required:
      - policyVersion
      - arrival
      - departure
      - adults
      - teens
      - team
      - housing
      - activities
      - food
      - organizer
      - title
      additionalProperties: false
    ChildRules:
      type: object
      properties:
        childFreeUnder:
          type: integer
          minimum: 0
          maximum: 18
        childDiscountUnder:
          type: integer
          minimum: 0
          maximum: 18
        childDiscount:
          type: integer
          minimum: 0
          maximum: 100
      required:
      - childFreeUnder
      - childDiscountUnder
      - childDiscount
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              maxLength: 100
            message:
              type: string
              maxLength: 2000
            retryAfter:
              type: integer
              minimum: 1
              maximum: 86400
          required:
          - code
          - message
          additionalProperties: false
      required:
      - error
      additionalProperties: false
    SavedResidentPlan:
      type: object
      properties:
        arrival:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        departure:
          type: string
          format: date
          pattern: ^\d{4}-\d{2}-\d{2}$
        adults:
          type: integer
          minimum: 1
          maximum: 20
        youngChildrenAges:
          type: array
          maxItems: 30
          items:
            type: integer
            minimum: 0
            maximum: 5
          description: Information only; does not change any guest count, accommodation, food or price.
        name:
          type: string
          maxLength: 100
          description: Required and nonempty when saving.
          minLength: 1
        children:
          type: array
          maxItems: 20
          items:
            type: integer
            minimum: 6
            maximum: 17
          description: Children counted in accommodation; current rules permit ages 6–17. Put younger ages in youngChildrenAges.
        housing:
          type: array
          minItems: 1
          maxItems: 30
          items:
            type: object
            properties:
              resource:
                type: string
                maxLength: 100
              occupancy:
                type: integer
                minimum: 1
                maximum: 3
            required:
            - resource
            - occupancy
            additionalProperties: false
        bathVisits:
          type: integer
          minimum: 0
          maximum: 100
      required:
      - arrival
      - departure
      - adults
      - children
      - housing
      - bathVisits
      - name
      additionalProperties: false
    SubmitApplicationRequest:
      type: object
      properties:
        catalogVersion:
          type: integer
          minimum: 1
          maximum: 1000000000
        documentVersion:
          type: string
          maxLength: 100
        contactProfile:
          $ref: '#/components/schemas/ContactProfile'
        requestKey:
          type: string
          pattern: ^[A-Za-z0-9._:-]{16,120}$
          description: Unique key for one intended write; reuse exactly after an uncertain result. Use a new key for changed input.
        userConfirmed:
          type: boolean
          const: true
          description: Set only after the person explicitly requests this action.
        consent:
          type: boolean
          const: true
          description: Consent to submit contact information for handling this request.
      required:
      - catalogVersion
      - documentVersion
      - contactProfile
      - requestKey
      - userConfirmed
      - consent
      additionalProperties: false
    EditEstimateRequest:
      type: object
      properties:
        plan:
          oneOf:
          - $ref: '#/components/schemas/SavedGroupPlan'
          - $ref: '#/components/schemas/SavedResidentPlan'
        catalogVersion:
          type: integer
          minimum: 1
          maximum: 1000000000
        documentVersion:
          type: string
          maxLength: 100
        requestKey:
          type: string
          pattern: ^[A-Za-z0-9._:-]{16,120}$
          description: Unique key for one intended write; reuse exactly after an uncertain result. Use a new key for changed input.
        userConfirmed:
          type: boolean
          const: true
          description: Set only after the person explicitly requests this action.
      required:
      - plan
      - catalogVersion
      - documentVersion
      - requestKey
      - userConfirmed
      additionalProperties: false
    SaveEstimateRequest:
      type: object
      properties:
        kind:
          type: string
          enum:
          - group
          - biggroup
          - resident
        plan:
          oneOf:
          - $ref: '#/components/schemas/SavedGroupPlan'
          - $ref: '#/components/schemas/SavedResidentPlan'
        catalogVersion:
          type: integer
          minimum: 1
          maximum: 1000000000
        requestKey:
          type: string
          pattern: ^[A-Za-z0-9._:-]{16,120}$
          description: Unique key for one intended write; reuse exactly after an uncertain result. Use a new key for changed input.
        userConfirmed:
          type: boolean
          const: true
          description: Set only after the person explicitly requests this action.
      required:
      - kind
      - plan
      - catalogVersion
      - requestKey
      - userConfirmed
      additionalProperties: false
  securitySchemes:
    GuestSession:
      type: http
      scheme: bearer
      description: Token from POST sessions. Never send in a URL. Expires after 30 days; signup and private center keys are not required.