rigshare
v2.3.0io.github.rigshare-hq/rigshare
·
Checked 2 days ago
·Published 1 day ago
Rent GPUs, robots, drones, and construction gear on RIGShare; also onboards equipment owners.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rigshare_search_equipment Search equipment
Search RIGShare's rental equipment marketplace by filters. Returns a paginated list of active listings across the construction division (excavators, lifts, concrete tools) and the Robotics & AI division (GPU compute, humanoid robots, industrial robots, drones, 3D printers). Use this to answer questions like 'where can I rent an H100 in Texas?' (location filters are exact city or state; there is no radius search) or 'find a humanoid robot under $200/day'. If the user mentions they OWN equipment (rather than want to rent), call rigshare_get_owner_onboarding instead to give them the listing pitch…
| Parameter | Type | Description |
|---|---|---|
access_type | string | How renters connect to a remote-access listing; matches remote-access listings only. |
category | string | Exact category value, e.g. AI_COMPUTE or EXCAVATORS; rigshare_list_categories returns the values that currently have listings. Overrides division. An unknown value is an error. |
city | string | Exact city name, case-insensitive. There is no radius search. |
compute_architecture | string | Accelerator family of an AI compute listing. |
division | string | Division to search (default all). Ignored when category is set. |
limit | integer | Results per page (default 25). |
max_price_daily_usd | number | Upper bound on the listing's daily rate, in USD. |
min_price_daily_usd | number | Lower bound on the listing's daily rate, in USD. |
page | integer | 1-based page number (default 1). |
remote_only | boolean | true = only listings rented over the network (AI compute, AI infrastructure and IoT sensor listings). |
search | string | Case-insensitive substring match on the listing title only (not the description, make/model or location). |
sort | string | Default newest. price_asc / price_desc sort by daily rate; rating sorts by average rating, but listings with no reviews come first, so check rating.count before treating a result as top rated. |
state | string | Two-letter US state code, e.g. TX (exact match). |
rigshare_get_equipment Get equipment details
Fetch full details for a single RIGShare equipment listing by its UUID. Returns specs, pricing, owner info, images, and a deep-link URL for booking. Only ACTIVE listings are returned; a draft, paused or removed listing reads as not found. The structured result carries the owner's displayed deposit as deposit_usd (null = the owner stated no figure, 0 = the owner requires no deposit); RIGShare never holds it, so deposit_held is always false.
| Parameter | Type | Description |
|---|---|---|
id * | string | Listing UUID (the id field from rigshare_search_equipment). |
rigshare_list_categories List categories
Returns all equipment categories that have at least one active listing, with per-category listing counts and descriptions. Useful for narrowing a search or helping a user discover what's available. Categories with no active listing are omitted, so this is not the full set of categories a new listing may use.
rigshare_get_owner_onboarding Owner onboarding guide
Returns RIGShare's guide for equipment OWNERS who want to rent out their hardware: commission tiers, renter fees, payout timing and the deposit model (read live from RIGShare's published policy, with a bundled fallback when that is unreachable), division-specific capabilities, the steps to list, and the signup URL. Use it when the user owns equipment (a GPU server, humanoid robot, drone, 3D printer, excavator, etc.) and is considering renting it out. No API key needed; read-only.
| Parameter | Type | Description |
|---|---|---|
division_hint | string | Set when the division is known; otherwise it is inferred from equipment_type. |
equipment_type | string | Free-text description of the owner's equipment, e.g. "H100 server" or "mini excavator"; used to pick the division-specific section. |
rigshare_list_my_bookings List my bookings
REQUIRES API KEY (RIGSHARE_API_KEY env var, bookings:read scope). Returns the bookings in which the authenticated user is the RENTER, newest first: confirmation code, status, equipment, dates, totals, and for METERED bookings the authorized budget and settled amount. Bookings on listings the user owns are not included; read one of those with rigshare_get_booking. Use this to check an existing rental before creating a new one, or to find a booking by confirmation code.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Bookings per page (default 20). |
page | integer | 1-based page number (default 1). |
status | string | Only bookings in this status. |
rigshare_list_my_sessions List my sessions
REQUIRES API KEY (sessions:read scope). Lists remote sessions on Robotics & AI bookings the authenticated user RENTS (the 50 most recent; no paging): status, health, GPU allocation, total compute hours, cost so far. Use before starting a new session to check if one is already active.
| Parameter | Type | Description |
|---|---|---|
booking_id | string | Only sessions on this booking. |
status | string | Only sessions in this status. |
rigshare_quote_booking Quote booking (dry run)
REQUIRES API KEY (bookings:read scope). DRY-RUN price quote. Computes the EXACT cost a rigshare_create_booking would charge, but creates nothing and charges nothing. Call this FIRST, before rigshare_create_booking, to show the renter the full breakdown and get their consent before any money moves. A quote does not guarantee a booking: while RIGShare's payments are paused, rigshare_create_booking refuses every request and books nothing, and the quote itself does not show whether payments are paused. The quote shows: rental subtotal, renter service fee (7%, or RIGShare's reduced verified-student…
| Parameter | Type | Description |
|---|---|---|
duration_type * | string | Pricing unit. HOURLY bills every started hour between start and end; it is accepted only for remote-access listings that set an hourly rate (a physical listing refuses it with code hourly_requires_rem… |
end_date * | string | ISO 8601 date or date-time, after start_date. Same format rules as start_date. |
equipment_id * | string | Listing UUID. |
start_date * | string | ISO 8601 date or date-time. A date alone is read as UTC midnight (the previous afternoon or evening in US time zones), so for HOURLY and FOUR_HOURS send a date-time with a UTC offset in the equipment'… |
budget_usd | number | METERED listings only, and required for them: the maximum session spend to authorize, in USD, fees included. Only the minutes actually used are charged. rigshare_quote_booking returns the minimum budg… |
coverage_path | string | Required for physical (non-remote) equipment. WAIVER = the renter accepts RIGShare's Liability Acknowledgment Waiver (only with the renter's explicit, informed consent); BYOCOI = the renter will provi… |
pickup_type | string | SELF_PICKUP, or OWNER_DELIVERY (adds the owner's delivery fee). rigshare_create_booking refuses OWNER_DELIVERY on a listing that does not offer delivery and on any remote-access listing; rigshare_quot… |
qualification_answers | object | Answers to the renter-qualification questionnaire, required only when the listing requires renter qualification. The questionnaire is not available through this API, so if a booking is refused for qua… |
qualification_version | string | Version of the questionnaire the answers were given against; must match the current version. |
waiver_version | string | Version of the waiver the renter accepted. Omit to use the current version. |
rigshare_create_booking Create booking
REQUIRES API KEY (bookings:write scope). Creates a new RIGShare booking for the authenticated user. While RIGShare payments are paused, new bookings are refused and nothing is booked or charged: tell the person and do not retry. Call rigshare_quote_booking FIRST to preview the exact cost (dry-run, nothing charged) and confirm it with the renter before committing money here. Server computes all prices from the equipment's canonical rates, so client-side price hints are ignored. Enforces identity verification and, when the API key has them, its per-booking and rolling 24 hour spend limits (both…
| Parameter | Type | Description |
|---|---|---|
duration_type * | string | Pricing unit. HOURLY bills every started hour between start and end; it is accepted only for remote-access listings that set an hourly rate (a physical listing refuses it with code hourly_requires_rem… |
end_date * | string | ISO 8601 date or date-time, after start_date. Same format rules as start_date. |
equipment_id * | string | Listing UUID. |
start_date * | string | ISO 8601 date or date-time. A date alone is read as UTC midnight (the previous afternoon or evening in US time zones), so for HOURLY and FOUR_HOURS send a date-time with a UTC offset in the equipment'… |
budget_usd | number | METERED listings only, and required for them: the maximum session spend to authorize, in USD, fees included. Only the minutes actually used are charged. rigshare_quote_booking returns the minimum budg… |
coverage_path | string | Required for physical (non-remote) equipment. WAIVER = the renter accepts RIGShare's Liability Acknowledgment Waiver (only with the renter's explicit, informed consent); BYOCOI = the renter will provi… |
idempotency_key | string | Optional, recommended: a new value for each booking you intend, the same value when retrying it (printable ASCII, up to 100 characters; a UUID works). A request that matches a pending, approved or con… |
pickup_type | string | SELF_PICKUP, or OWNER_DELIVERY (adds the owner's delivery fee). rigshare_create_booking refuses OWNER_DELIVERY on a listing that does not offer delivery and on any remote-access listing; rigshare_quot… |
qualification_answers | object | Answers to the renter-qualification questionnaire, required only when the listing requires renter qualification. The questionnaire is not available through this API, so if a booking is refused for qua… |
qualification_version | string | Version of the questionnaire the answers were given against; must match the current version. |
waiver_version | string | Version of the waiver the renter accepted. Omit to use the current version. |
rigshare_create_listing Create listing
REQUIRES API KEY (equipment:write scope). Creates and immediately publishes an equipment listing on behalf of the authenticated OWNER: the one-step alternative to rigshare_save_draft_listing + rigshare_publish_listing. Works for both divisions: construction equipment and Robotics & AI hardware. remote_access (network rental) is accepted only for AI_COMPUTE, AI_INFRASTRUCTURE and IOT_SENSORS; robots, drones and 3D printers are physical rentals. billing_mode METERED (per-minute session billing) requires remote_access and hourly_rate_usd. Requirements enforced server-side: the owner account must…
| Parameter | Type | Description |
|---|---|---|
category * | string | Listing category. Remote access is available only for AI_COMPUTE, AI_INFRASTRUCTURE and IOT_SENSORS; robots, drones and 3D printers are physical rentals. |
city * | string | |
condition * | string | |
daily_rate_usd * | number | |
description * | string | |
make * | string | |
model * | string | |
state * | string | Two-letter US state code, e.g. TX. |
title * | string | |
year * | integer | |
zip * | string | 5-digit or ZIP+4 US postal code. |
billing_mode | string | FIXED (default): upfront pricing. METERED: per-minute session billing, for remote-access listings only; requires hourly_rate_usd. |
booking_type | string | REQUEST: the owner approves each booking. INSTANT: renters are confirmed without approval; a physical INSTANT listing needs a street address, which the agent API cannot set. Default REQUEST. |
deposit_display_usd | number | Deposit figure displayed on the listing, in USD. RIGShare never holds or charges it on its own; it is the most RIGShare will collect if a renter expressly accepts a damage claim. 0 = the owner require… |
external_id | string | Your own inventory/SKU id; rigshare_check_availability and rigshare_sync_availability find the listing by it. If you already own a listing with this external_id, this call updates that listing instead… |
hourly_rate_usd | number | Hourly rate in USD. Required for billing_mode METERED, where it is the rate the per-minute meter bills at. |
monthly_rate_usd | number | |
photos | array | 1-8 photos as https URLs, or {url, angle} objects where angle labels the shot (e.g. front, side, back). At least one is required. |
remote_access | object | Network access for AI compute, AI infrastructure or IoT sensor listings. Omit for physical equipment. |
replacement_value_usd | number | What the item costs to replace, in USD. Required to publish a physical (non-remote) listing. It bounds the deposit figure the listing may display: 10% of this value, at least $25 and at most $1,000. |
weekly_rate_usd | number |
rigshare_check_availability Check availability
REQUIRES API KEY (equipment:read scope). Returns the unavailability windows (blocked date ranges) RIGShare holds for one of YOUR listings, identified by its external_id, the inventory/SKU id you listed it under (via rigshare_create_listing's external_id). Use this to reconcile your ERP/fleet calendar with RIGShare, or to check whether a date range is open before pushing new blocks with rigshare_sync_availability. If you pass starts_at + ends_at, the tool also reports whether that specific range overlaps a blocked window. NOTE: the endpoint keys ONLY on external_id (an owner-scoped lookup). It…
| Parameter | Type | Description |
|---|---|---|
external_id * | string | The inventory/SKU id the listing was created with (rigshare_create_listing's external_id). |
ends_at | string | End of the range to test (ISO 8601). Needs starts_at. |
starts_at | string | Start of a range to test against the blocked windows (ISO 8601). Needs ends_at. |
rigshare_sync_availability Sync availability
REQUIRES API KEY (equipment:write scope). Pushes your ERP/fleet calendar to RIGShare: marks date ranges UNAVAILABLE on one of your listings so no new RIGShare booking can be created during them. The listing is identified by external_id (the inventory/SKU id from rigshare_create_listing). SNAPSHOT semantics: the blocks you send REPLACE all previously-synced blocks for that external_id (pass an empty blocks array to clear them). Windows that overlap an APPROVED, CONFIRMED or IN_PROGRESS RIGShare booking are rejected and reported back (you can't retroactively block days already promised to a rent…
| Parameter | Type | Description |
|---|---|---|
blocks * | array | The complete set of unavailable windows for this listing; replaces the previously synced set. |
external_id * | string | The inventory/SKU id the listing was created with (rigshare_create_listing's external_id). |
rigshare_start_session Start remote session
REQUIRES API KEY (sessions:write scope). Starts a remote session on a CONFIRMED or IN_PROGRESS Robotics & AI booking (SSH / Jupyter / VNC / API access) that the authenticated user rents. Sessions open 15 minutes before the booking's start time. Returns the session access token (shown ONCE; store it securely), plus the connection URL and allocated specs. Calling it again for the same booking while its session is live returns that session instead of starting a second one; for SSH and API access that issues a new token and the previous one stops working. Starting a new session also needs the rent…
| Parameter | Type | Description |
|---|---|---|
booking_id * | string | The booking to start a session on. |
rigshare_end_session End remote session
REQUIRES API KEY (sessions:write scope). Ends a METERED (per-minute) Robotics & AI booking that is CONFIRMED or IN_PROGRESS: the server stops the per-minute billing clock, settles the charge for EXACT usage, releases the unused portion of the authorized budget, and marks the booking COMPLETED, so no further session can be started on it. While RIGShare payments are paused and any usage is billable, the sessions end but the charge waits: you get 409 payments_paused, the booking is not yet COMPLETED, and billing is settled after the pause lifts (a session with nothing to bill still settles at $0)…
| Parameter | Type | Description |
|---|---|---|
booking_id * | string | The METERED booking to end and settle. |
rigshare_cancel_booking Cancel booking
REQUIRES API KEY (bookings:write scope). MONEY PATH: cancels a booking the authenticated user rents or owns AND issues any refund per RIGShare's published cancellation policy. When the listing's owner cancels a fixed-price booking the renter is refunded in full, and cancelling a still-PENDING request as the owner declines it (the result reports declined: true). The rules below apply when the renter cancels. The refund is computed ENTIRELY server-side from the booking's canonical charges and how far out the cancellation is (physical: 7+ days 100% / 3-6 days 75% / 1-2 days 50% / same-day 0%, wit…
| Parameter | Type | Description |
|---|---|---|
booking_id * | string | The booking to cancel. |
reason | string | Free-text note recorded in the audit log. It does not affect the refund. |
rigshare_extend_session Extend session budget
REQUIRES API KEY (sessions:write scope). MONEY PATH: raises the authorized per-minute budget on a running METERED (per-minute) Robotics & AI session, so a renter whose budget is about to exhaust can keep going. The server places an additional authorization hold on the renter's saved card and raises the budget (while RIGShare payments are paused it places no hold and answers 400 payments_paused), computing the amount from the booking's per-minute rate. The client never sets the charge. Only the booking's RENTER can extend. Refused (HTTP 403) before any hold is placed when auto-pay is not enable…
| Parameter | Type | Description |
|---|---|---|
additional_minutes * | number | Minutes of extra budget to authorize at the listing's per-minute rate: 15, 30 or 60. |
booking_id * | string | The METERED booking whose running session to extend. |
rigshare_get_session_usage Get session usage
REQUIRES API KEY (sessions:read scope). Live budget snapshot for a METERED (per-minute) Robotics & AI booking: authorized budget vs. what's been used, accrued cost so far, a low-budget warning, and the available extension options. Read-only: moves no money. Call this before a session runs out to decide whether to rigshare_extend_session. Visible to the booking's renter or the equipment owner.
| Parameter | Type | Description |
|---|---|---|
booking_id * | string | The METERED booking to report on. |
rigshare_save_draft_listing Save draft listing
REQUIRES API KEY (equipment:write scope). Saves a HALF-FINISHED equipment listing as a DRAFT on behalf of the authenticated OWNER. The listing fields of rigshare_create_listing except photos, external_id and security_ack, and nothing goes live. Drafts are UNGATED: no identity verification and no Stripe Connect payout setup are needed to DRAFT (matching RIGShare's draft-first flow). Those gates (plus at least one photo) are required only when you PUBLISH (on the web, or with rigshare_publish_listing). No security_ack is required to draft a remote- access listing; it's required at publish. Idemp…
| Parameter | Type | Description |
|---|---|---|
billing_mode | string | FIXED (default): upfront pricing. METERED: per-minute session billing, for remote-access listings only; requires hourly_rate_usd. |
booking_type | string | REQUEST: the owner approves each booking. INSTANT: renters are confirmed without approval; a physical INSTANT listing needs a street address, which the agent API cannot set. Drafts default to INSTANT. |
category | string | Listing category. Remote access is available only for AI_COMPUTE, AI_INFRASTRUCTURE and IOT_SENSORS; robots, drones and 3D printers are physical rentals. |
city | string | |
condition | string | |
daily_rate_usd | number | |
deposit_display_usd | number | Deposit figure displayed on the listing, in USD. RIGShare never holds or charges it on its own; it is the most RIGShare will collect if a renter expressly accepts a damage claim. 0 = the owner require… |
description | string | |
draft_session_id | string | Resume key. Omit on the first save: the server generates one and returns it. Pass that value on every later save to update the same draft until it is published; each save without it creates a new draf… |
hourly_rate_usd | number | Hourly rate in USD. Required for billing_mode METERED, where it is the rate the per-minute meter bills at. |
make | string | |
model | string | |
monthly_rate_usd | number | |
remote_access | object | Network access for AI compute, AI infrastructure or IoT sensor listings. Omit for physical equipment. |
replacement_value_usd | number | What the item costs to replace, in USD. Required to publish a physical (non-remote) listing. It bounds the deposit figure the listing may display: 10% of this value, at least $25 and at most $1,000. |
state | string | Two-letter US state code, e.g. TX. |
title | string | |
weekly_rate_usd | number | |
year | integer | |
zip | string | 5-digit or ZIP+4 US postal code. |
rigshare_get_booking Get booking status & next step
REQUIRES API KEY (bookings:read scope). Returns ONE booking the authenticated user rents or owns: status, whether payment is settled, the money snapshot, the active remote session (if any) and, most useful, next_action: who has to act next (renter / owner / nobody), a plain-language instruction you can relay verbatim, and the exact URL where the human does it. Poll this after rigshare_create_booking. For a request-to-book listing the flow is owner approves → renter pays at the URL (an agent never enters a card) → booking CONFIRMED → (Tech) start the remote session. An instant-book listin…
| Parameter | Type | Description |
|---|---|---|
booking_id * | string | Booking UUID (the booking_id returned by rigshare_create_booking). |
rigshare_get_session Get remote session status
REQUIRES API KEY (sessions:read scope). Status, health, the server-side connect handoff URL, usage so far (compute hours, billed minutes, cost), the metered budget vs billed, and the latest telemetry snapshot (CPU / GPU / memory / latency / GPU temperature) for ONE remote session on a booking the authenticated user rents. Telemetry is null until the node reports. It is never fabricated. The one-time access token is shown only by rigshare_start_session and is never returned again.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Session UUID, from rigshare_start_session, rigshare_list_my_sessions or rigshare_get_booking. |
rigshare_publish_listing Publish a draft listing
REQUIRES API KEY (equipment:write scope). Flips a DRAFT saved with rigshare_save_draft_listing to ACTIVE on the marketplace, through the SAME gate the web and mobile apps use: identity verification, Stripe Connect payout setup, the tier listing limit (live, paused and in-review listings count toward it; drafts do not, including this one; deleting a listing frees a slot, pausing it does not), completeness (basics, rates, location (including a street address for a physical INSTANT listing) and at least one camera photo added in the RIGShare app), and content moderation. A physical (non-remote) l…
| Parameter | Type | Description |
|---|---|---|
draft_id * | string | The draft_id returned by rigshare_save_draft_listing. |
ownership_ack | boolean | The owner's attestation that they own or are authorized to rent the equipment and that it is in safe working condition. |
security_ack | boolean | Remote-access drafts: the owner's attestation that the endpoint is secured and that they accept the Terms and Liability Waiver. |