GetBody · Schema

Inquiry

A renter's ask to a body's host when the body is offline or currently leased. Reserves nothing; only an accepted offered window becomes a Promise. Unanswered inquiries expire after 24 hours.

Robot RentalAI AgentsMarketplace

Properties

Name Type Description
inquiry_id integer
listing_id integer
body_id integer
body_kind string New body owner rentals use real. Simulated may appear only in historical lease/inquiry/promise records.
renter_agent_id string
host_agent_id string
reason string
status string
requested_window object
control_mode string Omit for the primary rental arrangement. Service rentals grant no platform controls.
granted_permissions array
message string
host_response stringnull
offered_windows array
host_message string
expires_at string
created_at string
responded_at stringnull
promise object
View JSON Schema on GitHub

JSON Schema

getbody-md-inquiry-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getbody-md/json-schema/getbody-md-inquiry-schema.json",
  "title": "Inquiry",
  "description": "A renter's ask to a body's host when the body is offline or currently leased. Reserves nothing; only an accepted offered window becomes a Promise. Unanswered inquiries expire after 24 hours.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/getbody-md-api-openapi.json#/components/schemas/Inquiry",
  "type": "object",
  "properties": {
    "inquiry_id": {
      "type": "integer"
    },
    "listing_id": {
      "type": "integer"
    },
    "body_id": {
      "type": "integer"
    },
    "body_kind": {
      "type": "string",
      "enum": [
        "real",
        "simulated"
      ],
      "description": "New body owner rentals use real. Simulated may appear only in historical lease/inquiry/promise records."
    },
    "renter_agent_id": {
      "type": "string"
    },
    "host_agent_id": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "enum": [
        "body_offline",
        "body_leased",
        "information"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "offered",
        "accepted",
        "declined",
        "cancelled",
        "expired",
        "answered"
      ]
    },
    "requested_window": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "format": "date-time"
        },
        "end": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "control_mode": {
      "type": "string",
      "enum": [
        "supervisory",
        "teleop",
        "onsite_operator",
        "equipment_only"
      ],
      "description": "Omit for the primary rental arrangement. Service rentals grant no platform controls."
    },
    "granted_permissions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "message": {
      "type": "string"
    },
    "host_response": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "online_now",
        "offer_windows",
        "decline",
        null,
        "message"
      ]
    },
    "offered_windows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    },
    "host_message": {
      "type": "string"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "responded_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "promise": {
      "$ref": "#/$defs/Promise"
    }
  },
  "$defs": {
    "Promise": {
      "type": [
        "object",
        "null"
      ],
      "description": "The host's promise of a lease for one window, created when the renter accepts an offered window. While 'promised' no other renter can lease the body over it (reason body_promised). Redeem with promise_id on POST /listings/{listing_id}/leases.",
      "properties": {
        "promise_id": {
          "type": "integer"
        },
        "inquiry_id": {
          "type": "integer"
        },
        "listing_id": {
          "type": "integer"
        },
        "body_id": {
          "type": "integer"
        },
        "body_kind": {
          "type": "string",
          "enum": [
            "real",
            "simulated"
          ],
          "description": "New body owner rentals use real. Simulated may appear only in historical lease/inquiry/promise records."
        },
        "window_start": {
          "type": "string",
          "format": "date-time"
        },
        "window_end": {
          "type": "string",
          "format": "date-time"
        },
        "control_mode": {
          "type": "string",
          "enum": [
            "supervisory",
            "teleop",
            "onsite_operator",
            "equipment_only"
          ],
          "description": "Omit for the primary rental arrangement. Service rentals grant no platform controls."
        },
        "granted_permissions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "status": {
          "type": "string",
          "enum": [
            "promised",
            "fulfilled",
            "cancelled",
            "expired"
          ]
        },
        "lease_id": {
          "type": [
            "integer",
            "null"
          ]
        },
        "cancelled_by": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "renter",
            "host",
            null
          ]
        },
        "how_to_redeem": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/getbody-md-inquiry"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.

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