Developer documentation v1.5.0

Partner API

Read your company’s rig records and help a crew member ask about their equipment.

Wireframe illustration of a box truck rig
GET /rigs/{rig_id}/

Get access

Personal API keys

For a report or script you run yourself, open Your profile → Sign-in & security → Manage keys in Settings. Name the key, choose an expiry, and select the additional datasets you need. Select Generate key and copy the secret to your secret manager. It appears once. You can revoke a key from the same page. Manage your personal keys

The API checks your access on every request. If you’re assigned two rigs, your key returns those two and their branches, along with any branches assigned to you. Removing an assignment takes effect on the next request. If you move companies, generate a new key in your new company. A deactivated account, loss of ManageMyRig access, or a required password change blocks the key.

Company integration keys

Use a company integration key for a system that needs records across the company, such as an ERP sync. Request it from your ManageMyRig contact or email support. Include your company, the system you’re connecting, and the purchasing, maintenance or installed equipment access it needs. Its key covers every company branch and rig and works independently of any employee’s account.

Store each key in your server’s secret store and send it as a bearer token over HTTPS. For assistant questions, bind the signed-in crew member to their own personal key on your server.

Base URL
https://managemyrig.fleetemp.com/partner/api/v1

Make your first request

With MMR_API_KEY set in your shell, fetch the company linked to your key.

cURL
curl --fail-with-body \
  --header "Authorization: Bearer $MMR_API_KEY" \
  "https://managemyrig.fleetemp.com/partner/api/v1/company/"
Example response200 OK
{
  "id": 42,
  "name": "Example Insulation"
}

Purchasing records

Purchasing access is optional for both key types. A company integration key with purchasing access can read all eligible company requisitions and AMD orders.

With a purchasing-enabled personal key, you can read requisitions you own or that colleagues have shared with you. Orders require access to AMD order history through your account or an AMD-enabled branch in the issuing company. Operators see their own orders, district and regional managers also see their reporting teams’ orders, and owners see company orders. Accounts with staff or AMD staff access can read orders across the issuing company.

Start with /requisitions/. Open a requisition’s /items/ page to see parts, supplier materials, custom items, quantities, and linked rigs. A line’s part_id links to its part record. The parts list includes each referenced part once.

A personal key can look up parts used on any requisition or order it can read. A line’s rig_id is null when its rig is outside your fleet access. Requisitions and orders have separate permissions, even when they share an ID.

When a requisition is sent to AMD Distribution, its order_id identifies the submission. For example, a key with access to order 42 can fetch its header and lines.

GET /orders/42/
GET /orders/42/items/

The order holds the latest submission time, PO number, and delivery form. Its items reflect the current requisition. Resending updates the same order. Clearing its history removes it from the orders list. To pick up new submissions on older requisitions, rescan /orders/ from the first page.

A requisition’s recorded company and its owner’s current company must match your key. Every linked rig must also belong to that company. Older requisitions receive a company automatically when at least one linked rig confirms it and all linked rigs agree. Sharing a list with another user does not grant that user’s company access through the API.

Maintenance and installed equipment

Choose Maintenance and Installed equipment independently when generating a personal key, or request these grants for a company integration. To add access, issue a replacement key with the desired grants. Each endpoint below lists its required access.

Maintenance tickets and service

Join ticket and schedule records to fleet inventory using rig_id. A personal key sees tickets the user reported or is assigned to on visible rigs. Owners, regional managers, district managers and staff can read all tickets on their visible rigs in the issuing company. A company integration key can read all tickets on its company’s rigs. Ticket responses include status, priority and dates. Employee identities, free-text notes and activity messages stay private.

Service schedules return configured intervals and the entered last-service date. The monthly calendar projects filter dates using that date, a completed ticket the key can see, or the current site date. Check baseline_source. An accessible rig without a schedule returns has_schedule: false and an empty calendar.

Generator hours returns the latest saved meter value per rig. Zero is a valid reading. Rigs without a known reading are omitted, and the recording date can be null. The weekly generator hours on a service schedule are a planning estimate.

GET /maintenance-tickets/?rig_id=42
GET /service-schedules/?rig_id=42
GET /generator-hours/?rig_id=42
GET /rigs/42/service-calendar/?month=2026-12

Installed equipment

Use installed equipment once per equipment type. Each row has a rig_id and type-specific specifications such as brand, model, SKU, serial number or quantity. Join installations using (equipment_type, id). A pump’s proportioner_id, for example, points to a proportioners record on the same rig. Conflicting rig links are excluded.

GET /installed-equipment/generator/?rig_id=42
GET /installed-equipment/transfer_pumps/?limit=100

Both grants follow the key’s current rig visibility. For a complete extract, page every collection and each equipment type independently. Reconcile from the first page to capture edits, reassignment and removals.

Manuals, drawings and replacement parts

Start with an installed equipment row on a visible rig. Pass its rig ID, equipment type and installation ID to equipment references. Both key types use their installed equipment grant. For a crew-facing portal, make every request with that crew member’s personal key.

GET /installed-equipment/guns/?rig_id=42
GET /rigs/42/installed-equipment/guns/7/references/

Each manual has a download_path. A completed drawing can have an image download, a parent drawing, and a parts_path. Follow the parts path to pair a label on that drawing with its catalog part number and brand. recorded_parts identifies numbers saved on the installation or its installed SKUs, such as a generator’s oil filter. Confirm the number and revision against your ordering system before placing an order.

Paths in the response start with /partner/api/v1/. Append them to the ManageMyRig origin and send the bearer header again. Set DOWNLOAD_PATH to a manual’s returned path to save the file.

curl --fail --header "Authorization: Bearer $MMR_API_KEY" \
  "https://managemyrig.fleetemp.com$DOWNLOAD_PATH" --output manual-file

Read the file type from Content-Type and its suggested filename from Content-Disposition. Use HEAD for headers only. File links recheck current rig access, key status and the published catalog link on each request. Empty arrays mean the visible installation has no matching records. A missing file, an unlinked reference or an inaccessible installation returns 404.

Ask about a rig

Generate a personal key with Allow assistant questions. Send its bearer token from your backend. Each question checks the user’s current company and rig assignments. Existing keys need a replacement to opt in. Company integration keys can read records for integrations and cannot ask questions on a crew member’s behalf.

The Fleet Assistant answers from the selected rig’s records. Add the equipment grant for installed specifications and maintenance for service schedules, hours and tickets the user can see. Context includes up to 50 installations per type and the 50 most recent visible tickets.

curl "https://managemyrig.fleetemp.com/partner/api/v1/rigs/42/assistants/fleet/" \
  -H "Authorization: Bearer $MMR_API_KEY" -H "Content-Type: application/json" \
  -d '{"question":"Which generator is installed on this rig?"}'

The Knowledge Assistant also requires equipment access. Submit the installation’s type and ID from installed equipment, or send only a question. With one recorded model the API selects it. With several installations it returns clarify and up to 50 choices. Repeat the question with the selected type and ID.

POST /rigs/42/assistants/knowledge/
{"question":"Which filter does the manual specify?","equipment_type":"generator","equipment_id":7}

Knowledge searches active catalog manuals linked to the installed model. Display the answer as plain text. Verified citations include titles and page numbers when available. insufficient means the model or supporting evidence could not be confirmed.

Each request is independent and leaves fleet records unchanged. OpenAI processes the question and authorized rig data or relevant manual material. Use at most 4,000 characters per question and 32 KiB per JSON body. Each crew member can make ten assistant requests per UTC minute across keys. On 429, wait for Retry-After seconds.

API reference

Append a path to the base URL, including its trailing slash. Record endpoints accept GET and HEAD. Assistant questions use POST with a JSON body.

GET /company/Get the company associated with the key

Required access fleet

200 Company record

id
integer · int32
name
string

Error responses 401500

GET /branches/List branches visible to the key

Required access fleet

Parameters

limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–2147483647.

200 Page of branches

results
array
results[].id
integer · int32
results[].company_id
integer · int32
results[].name
string
results[].address
string · nullable
results[].phone
string · nullable
next_after_id
integer · int32 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401500

GET /rigs/List rigs visible to the key

Required access fleet

Parameters

limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–2147483647.
branch_id
query · integer · optional Restrict visible rigs to one branch. A branch without any visible rigs yields an empty page. Range 1–2147483647.

200 Page of rigs

results
array
results[].id
integer · int32
results[].branch_id
integer · int32
results[].name
string The rig name, saved fallback name, or Rig followed by its ID.
results[].vin
string · nullable
results[].year
integer · nullable
results[].brand
string · nullable
results[].model
string · nullable
results[].rig_type
string · nullable
results[].mileage_miles
integer
results[].created_at
string · date-time
results[].updated_at
string · date-time Timestamp recorded on the vehicle row. Changes to related records may not update this timestamp.
next_after_id
integer · int32 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401500

GET /rigs/{rig_id}/Get a rig visible to the key

Required access fleet

Parameters

rig_id
path · integer · required Range 1–2147483647.

200 Rig record

id
integer · int32
branch_id
integer · int32
name
string The rig name, saved fallback name, or Rig followed by its ID.
vin
string · nullable
year
integer · nullable
brand
string · nullable
model
string · nullable
rig_type
string · nullable
mileage_miles
integer
created_at
string · date-time
updated_at
string · date-time Timestamp recorded on the vehicle row. Changes to related records may not update this timestamp.

Error responses 401404500

GET /parts/List parts referenced on visible requisitions or orders

Required access purchasing

Parameters

limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return purchasing records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–9223372036854775807.

200 Page of distinct parts

results
array
results[].id
integer · int64
results[].name
string
results[].sku
string
results[].brand
string
results[].upc
string · nullable
results[].description
string · nullable
results[].category
string Name of the part's immediate catalog category.
results[].manual
string · nullable Manual identifier recorded on the part.
results[].manual_page
string · nullable Page reference within the manual.
next_after_id
integer · int64 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401403500

GET /parts/{part_id}/Get a part referenced on a visible requisition or order

Required access purchasing

Parameters

part_id
path · integer · required ID of a part returned by the parts endpoint. Range 1–9223372036854775807.

200 Part record

id
integer · int64
name
string
sku
string
brand
string
upc
string · nullable
description
string · nullable
category
string Name of the part's immediate catalog category.
manual
string · nullable Manual identifier recorded on the part.
manual_page
string · nullable Page reference within the manual.

Error responses 401403404500

GET /requisitions/List visible requisitions, including those sent to AMD

Required access purchasing

Parameters

limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return purchasing records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–9223372036854775807.

200 Page of requisitions

results
array
results[].id
integer · int64
results[].name
string
results[].created_at
string · date-time
results[].fulfilled
boolean Fulfillment flag maintained on the requisition in ManageMyRig.
results[].item_count
integer Number of current line items. Each line counts once regardless of quantity.
results[].order_id
integer · int64 · nullable The matching order ID, or null when the list has no recorded AMD submission. Reading the order requires separate order history access for personal keys.
next_after_id
integer · int64 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401403500

GET /requisitions/{requisition_id}/Get a requisition visible to the key

Required access purchasing

Parameters

requisition_id
path · integer · required Company requisition ID. Range 1–9223372036854775807.

200 Requisition record

id
integer · int64
name
string
created_at
string · date-time
fulfilled
boolean Fulfillment flag maintained on the requisition in ManageMyRig.
item_count
integer Number of current line items. Each line counts once regardless of quantity.
order_id
integer · int64 · nullable The matching order ID, or null when the list has no recorded AMD submission. Reading the order requires separate order history access for personal keys.

Error responses 401403404500

GET /requisitions/{requisition_id}/items/Read the current items on a requisition

Required access purchasing

Parameters

requisition_id
path · integer · required Company requisition ID. Range 1–9223372036854775807.
limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return purchasing records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–9223372036854775807.

200 Page of requisition line items

results
array
results[].id
integer · int64
results[].requisition_id
integer · int64
results[].rig_id
integer · int32 · nullable Linked rig ID, or null if the line has no rig or the personal key cannot read it.
results[].part_id
integer · int64 · nullable ID accepted by the parts endpoint when the line links to a part.
results[].catalog_item_id
integer · int64 · nullable Supplier catalog reference. Custom or unlinked lines can have both item reference IDs null.
results[].name
string Display name of the part, supplier material, or custom line.
results[].sku
string · nullable
results[].brand
string · nullable
results[].upc
string · nullable
results[].uom
string · nullable Unit of measure recorded on the line.
results[].description
string · nullable
results[].quantity
integer Resolved quantity saved on the line.
results[].quantity_mode
string Quantity convention used for this line, typically SIMPLE, CHR, FGB, MBI, or NET.
results[].quantity_display
string Human-readable breakdown when recorded, including pallets, rolls, or loads where applicable.
next_after_id
integer · int64 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401403404500

GET /orders/List visible orders sent to AMD Distribution

Required access purchasing

Parameters

limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return purchasing records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–9223372036854775807.

200 Page of submitted AMD orders

results
array
results[].id
integer · int64
results[].requisition_id
integer · int64
results[].name
string Current requisition name.
results[].sent_at
string · date-time Most recent recorded submission to AMD Distribution.
results[].item_count
integer Number of current line items. Each line counts once regardless of quantity.
results[].po_number
string Purchase order number entered on the latest order form.
results[].order_date
string Date as entered on the order form. Its format can vary.
results[].branch_name
string Branch name entered on the order form.
results[].branch_number
string Branch number entered on the form. Use it as text, including leading zeros.
results[].delivery_type
string
results[].ship_address
string
results[].contact_name
string
results[].contact_number
string
results[].instructions
string
next_after_id
integer · int64 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401403500

GET /orders/{order_id}/Read the latest submission details for an AMD order

Required access purchasing

Parameters

order_id
path · integer · required ID of a submitted AMD order. It matches the requisition ID. Range 1–9223372036854775807.

200 Submitted AMD order

id
integer · int64
requisition_id
integer · int64
name
string Current requisition name.
sent_at
string · date-time Most recent recorded submission to AMD Distribution.
item_count
integer Number of current line items. Each line counts once regardless of quantity.
po_number
string Purchase order number entered on the latest order form.
order_date
string Date as entered on the order form. Its format can vary.
branch_name
string Branch name entered on the order form.
branch_number
string Branch number entered on the form. Use it as text, including leading zeros.
delivery_type
string
ship_address
string
contact_name
string
contact_number
string
instructions
string

Error responses 401403404500

GET /orders/{order_id}/items/Read the current items on a submitted order

Required access purchasing

Parameters

order_id
path · integer · required ID of a submitted AMD order. It matches the requisition ID. Range 1–9223372036854775807.
limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return purchasing records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–9223372036854775807.

200 Page of order line items

results
array
results[].id
integer · int64
results[].requisition_id
integer · int64
results[].rig_id
integer · int32 · nullable Linked rig ID, or null if the line has no rig or the personal key cannot read it.
results[].part_id
integer · int64 · nullable ID accepted by the parts endpoint when the line links to a part.
results[].catalog_item_id
integer · int64 · nullable Supplier catalog reference. Custom or unlinked lines can have both item reference IDs null.
results[].name
string Display name of the part, supplier material, or custom line.
results[].sku
string · nullable
results[].brand
string · nullable
results[].upc
string · nullable
results[].uom
string · nullable Unit of measure recorded on the line.
results[].description
string · nullable
results[].quantity
integer Resolved quantity saved on the line.
results[].quantity_mode
string Quantity convention used for this line, typically SIMPLE, CHR, FGB, MBI, or NET.
results[].quantity_display
string Human-readable breakdown when recorded, including pallets, rolls, or loads where applicable.
next_after_id
integer · int64 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401403404500

GET /maintenance-tickets/List visible maintenance tickets

Required access maintenance

Parameters

limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return purchasing records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–9223372036854775807.
rig_id
query · integer · optional Optional rig ID. A rig outside the key's access returns an empty page. Range 1–2147483647.

200 List visible maintenance tickets

results
array
results[].id
integer · int64
results[].rig_id
integer · int32
results[].equipment_category
string · nullable Structured equipment category; null for unrecognized legacy tags.
results[].status
string Effective portal status, normally reported, diagnosing, waiting_parts, repairing or complete.
results[].priority
string Ticket priority, normally normal, high or urgent.
results[].requested_at
string · date-time When the ticket was reported.
results[].due_date
string · date · nullable Due date, when set.
results[].completed_at
string · date-time · nullable Recorded completion time, when known.
results[].updated_at
string · date-time Last save on the ticket row.
next_after_id
integer · int64 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401403500

GET /maintenance-tickets/{ticket_id}/Get one visible maintenance ticket

Required access maintenance

Parameters

ticket_id
path · integer · required ID returned by the maintenance tickets collection. Range 1–9223372036854775807.

200 Get one visible maintenance ticket

id
integer · int64
rig_id
integer · int32
equipment_category
string · nullable Structured equipment category; null for unrecognized legacy tags.
status
string Effective portal status, normally reported, diagnosing, waiting_parts, repairing or complete.
priority
string Ticket priority, normally normal, high or urgent.
requested_at
string · date-time When the ticket was reported.
due_date
string · date · nullable Due date, when set.
completed_at
string · date-time · nullable Recorded completion time, when known.
updated_at
string · date-time Last save on the ticket row.

Error responses 401403404500

GET /service-schedules/List configured rig service intervals

Required access maintenance

Parameters

limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return purchasing records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–9223372036854775807.
rig_id
query · integer · optional Optional rig ID. A rig outside the key's access returns an empty page. Range 1–2147483647.

200 List configured rig service intervals

results
array
results[].id
integer · int64
results[].rig_id
integer · int32
results[].last_service_date
string · date · nullable Explicit last service entered on this schedule.
results[].generator_hours_per_week
integer Configured weekly generator usage assumption in hours.
results[].fuel_filter_changes_per_month
integer Configured fuel filter changes per month. Nonpositive values disable the projection.
results[].oil_filter_interval_months
integer Months between oil filter changes. Nonpositive values disable the projection.
results[].air_filter_interval_months
integer Months between air filter changes. Nonpositive values disable the projection.
results[].box_service_interval_miles
integer Configured box service interval in miles.
next_after_id
integer · int64 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401403500

GET /generator-hours/Read the latest recorded generator hours per rig

Required access maintenance

Parameters

limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return purchasing records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–9223372036854775807.
rig_id
query · integer · optional Optional rig ID. A rig outside the key's access returns an empty page. Range 1–2147483647.

200 Read the latest recorded generator hours per rig

results
array
results[].id
integer · int64 ID of the service schedule holding this latest reading.
results[].rig_id
integer · int32
results[].hours
integer Most recent saved hour meter value, including zero.
results[].recorded_on
string · date · nullable Date recorded on the schedule, if supplied.
next_after_id
integer · int64 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401403500

GET /rigs/{rig_id}/service-calendar/Project one month of filter service for a rig

Required access maintenance

Parameters

rig_id
path · integer · required An accessible rig ID. Range 1–2147483647.
month
query · string · optional One month in YYYY-MM format from 1900-01 to 2200-12. Defaults to the current site month.

200 Project one month of filter service for a rig

rig_id
integer · int32
month
string Requested month as YYYY-MM.
as_of_date
string · date Site date used for this projection.
timezone
string Site time zone.
has_schedule
boolean Whether the rig has a saved schedule.
baseline_date
string · date · nullable Starting date used to project filter intervals.
baseline_source
string An explicit service date, visible completed ticket, or fallback date.
events
array
events[].date
string · date Projected filter service date.
events[].kind
string
events[].past
boolean True for dates before as_of_date.
intervals
array
intervals[].kind
string
intervals[].label
string
intervals[].value
integer
intervals[].unit
string

Error responses 400401403404500

GET /installed-equipment/{equipment_type}/List installed equipment of one type

Required access equipment

Parameters

equipment_type
path · string · required Select one installation type. Page each type separately. Supported values are box, electrical, generator, pneumatics, proportioners, transfer_pumps, guns, safety, supplied_air, air_hoses, heated_whip_hoses, hose_quantities.
limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return purchasing records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–9223372036854775807.
rig_id
query · integer · optional Optional rig ID. A rig outside the key's access returns an empty page. Range 1–2147483647.

200 List installed equipment of one type

results
array
results[].id
integer · int64 Installation ID within this equipment type. Pair with equipment_type to identify a row.
results[].rig_id
integer · int32
results[].equipment_type
string
results[].attributes
object Selected specifications for this type. Blank or null values can indicate unfilled fields.
results[].attributes.brand
string · nullable · optional Returned for box, electrical, generator, pneumatics, proportioners, transfer_pumps, guns, supplied_air, air_hoses, heated_whip_hoses, hose_quantities.
results[].attributes.serial_number
string · nullable · optional Returned for box, generator, proportioners, transfer_pumps, supplied_air.
results[].attributes.type
string · nullable · optional Returned for box, generator, pneumatics.
results[].attributes.length_inches
integer · nullable · optional Returned for box.
results[].attributes.width_inches
integer · nullable · optional Returned for box.
results[].attributes.height_inches
integer · nullable · optional Returned for box.
results[].attributes.shore_power
string · nullable · optional Returned for electrical.
results[].attributes.transfer_switch
string · nullable · optional Returned for electrical.
results[].attributes.multi_pole_breakers
integer · nullable · optional Returned for electrical.
results[].attributes.single_pole_breakers
integer · nullable · optional Returned for electrical.
results[].attributes.model
string · nullable · optional Returned for generator, pneumatics, proportioners, transfer_pumps, guns, supplied_air.
results[].attributes.part_number
string · nullable · optional Returned for generator.
results[].attributes.engine_model
string · nullable · optional Returned for generator.
results[].attributes.pump_model
string · nullable · optional Returned for pneumatics.
results[].attributes.motor_model
string · nullable · optional Returned for pneumatics.
results[].attributes.pump_sku
string · nullable · optional Returned for pneumatics.
results[].attributes.motor_sku
string · nullable · optional Returned for pneumatics.
results[].attributes.air_dryer_part_number
string · nullable · optional Returned for pneumatics.
results[].attributes.sku
string · nullable · optional Returned for proportioners, transfer_pumps, guns, supplied_air, air_hoses, heated_whip_hoses, hose_quantities.
results[].attributes.name
string · nullable · optional Returned for proportioners, transfer_pumps, guns, supplied_air, air_hoses.
results[].attributes.side
string · nullable · optional Returned for proportioners, transfer_pumps.
results[].attributes.proportioner_id
integer · nullable · optional Returned for transfer_pumps, heated_whip_hoses.
results[].attributes.tip_pattern
string · nullable · optional Returned for guns.
results[].attributes.mix_chamber
string · nullable · optional Returned for guns.
results[].attributes.fire_extinguishers
string · nullable · optional Returned for safety.
results[].attributes.eye_wash_station
string · nullable · optional Returned for safety.
results[].attributes.first_aid_kit
string · nullable · optional Returned for safety.
results[].attributes.spill_kit
string · nullable · optional Returned for safety.
results[].attributes.safety_id
integer · nullable · optional Returned for supplied_air.
results[].attributes.quantity
integer · nullable · optional Returned for air_hoses, hose_quantities.
results[].attributes.supplied_air_id
integer · nullable · optional Returned for air_hoses.
results[].attributes.heated_whip_hose_id
integer · nullable · optional Returned for hose_quantities.
next_after_id
integer · int64 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.

Error responses 400401403404500

GET /rigs/{rig_id}/installed-equipment/{equipment_type}/{equipment_id}/references/Get references for one installed item

Required access equipment

Returns linked managed manuals, completed exploded drawings and part numbers recorded on this installation. A visible installation with no linked references returns empty arrays.

Parameters

rig_id
path · integer · required An accessible rig ID. Range 1–2147483647.
equipment_type
path · string · required Select one installation type. Page each type separately. Supported values are box, electrical, generator, pneumatics, proportioners, transfer_pumps, guns, safety, supplied_air, air_hoses, heated_whip_hoses, hose_quantities.
equipment_id
path · integer · required Installation ID from the selected rig and equipment type. Range 1–9223372036854775807.

200 Get references for one installed item

rig_id
integer · int32
equipment_type
string
equipment_id
integer · int64
manuals
array
manuals[].id
string Opaque manual reference.
manuals[].title
string
manuals[].download_path
string Origin-relative path including /partner/api/v1/. Use the same ManageMyRig host and bearer key.
drawings
array
drawings[].id
integer · int64
drawings[].title
string
drawings[].parent_id
integer · int64 · nullable Parent drawing within this installation’s references.
drawings[].download_path
string · nullable Origin-relative image path. Null when there is no supported managed image.
drawings[].parts_path
string Origin-relative path including /partner/api/v1/. Use the same ManageMyRig host and bearer key.
recorded_parts
array Part numbers recorded on the rig or its directly installed catalog items.
recorded_parts[].component
string Installation component such as oil_filter or spray_tip.
recorded_parts[].part_number
string
recorded_parts[].source
string Catalog SKU or value recorded on the installation.

Error responses 401403404500

GET /rigs/{rig_id}/installed-equipment/{equipment_type}/{equipment_id}/references/manuals/{manual_id}/download/Download a linked equipment manual

Required access equipment

Returns the authorized managed file as an attachment. Send the bearer key on GET or HEAD.

Parameters

rig_id
path · integer · required An accessible rig ID. Range 1–2147483647.
equipment_type
path · string · required Select one installation type. Page each type separately. Supported values are box, electrical, generator, pneumatics, proportioners, transfer_pumps, guns, safety, supplied_air, air_hoses, heated_whip_hoses, hose_quantities.
equipment_id
path · integer · required Installation ID from the selected rig and equipment type. Range 1–9223372036854775807.
manual_id
path · string · required Opaque identifier from this installation’s manuals array.

200 Authorized file attachment. HEAD returns the same headers with no body.

Binary attachment. Content types application/pdf, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document.

Error responses 401403404500

GET /rigs/{rig_id}/installed-equipment/{equipment_type}/{equipment_id}/references/drawings/{drawing_id}/download/Download an exploded drawing

Required access equipment

Returns the published drawing image as an attachment. Send the bearer key on GET or HEAD.

Parameters

rig_id
path · integer · required An accessible rig ID. Range 1–2147483647.
equipment_type
path · string · required Select one installation type. Page each type separately. Supported values are box, electrical, generator, pneumatics, proportioners, transfer_pumps, guns, safety, supplied_air, air_hoses, heated_whip_hoses, hose_quantities.
equipment_id
path · integer · required Installation ID from the selected rig and equipment type. Range 1–9223372036854775807.
drawing_id
path · integer · required ID from this installation’s drawings array. Range 1–9223372036854775807.

200 Authorized file attachment. HEAD returns the same headers with no body.

Binary attachment. Content types image/jpeg, image/png, image/gif, image/webp.

Error responses 401403404500

GET /rigs/{rig_id}/installed-equipment/{equipment_type}/{equipment_id}/references/drawings/{drawing_id}/parts/List part numbers by drawing callout

Required access equipment

Each row describes one catalog part linked to this drawing. The drawing determines the callout and whether the part is secondary.

Parameters

rig_id
path · integer · required An accessible rig ID. Range 1–2147483647.
equipment_type
path · string · required Select one installation type. Page each type separately. Supported values are box, electrical, generator, pneumatics, proportioners, transfer_pumps, guns, safety, supplied_air, air_hoses, heated_whip_hoses, hose_quantities.
equipment_id
path · integer · required Installation ID from the selected rig and equipment type. Range 1–9223372036854775807.
drawing_id
path · integer · required ID from this installation’s drawings array. Range 1–9223372036854775807.
limit
query · integer · optional Maximum records to return. Supply this parameter at most once. Range 1–100, default 50.
after_id
query · integer · optional Return purchasing records with IDs greater than this cursor. Omit for the first page. Supply at most once. Range 1–9223372036854775807.

200 List part numbers by drawing callout

next_after_id
integer · int64 · nullable Pass this ID as after_id to fetch the next page. Null marks the last page.
results
array
results[].id
integer · int64
results[].callout
string · nullable Label on this drawing when recorded.
results[].part_number
string · nullable Catalog part number when recorded.
results[].name
string · nullable
results[].brand
string · nullable
results[].secondary
boolean Catalog designates this as a secondary part on this drawing.

Error responses 400401403404500

POST /rigs/{rig_id}/assistants/fleet/Ask about one visible rig’s recorded data

Required access assistants

Uses rig details with up to 50 installations per type and the 50 latest visible tickets when the corresponding data grants are enabled.

JSON request body

{
  "question": "Which generator is installed on this rig?"
}

Parameters

rig_id
path · integer · required An accessible rig ID. Range 1–2147483647.

200 Answer, request for clarification, or insufficient evidence

rig_id
integer · int32
status
string
answer
string Display as plain text. An insufficient result explains what evidence is missing.
sources
array Verified Knowledge manual citations. Fleet answers use the selected rig and return an empty list.
sources[].label
string
sources[].title
string
sources[].page_from
integer · nullable
sources[].page_to
integer · nullable
equipment_options
array · optional Visible installations to choose from when the Knowledge Assistant needs a selection. Use the installed equipment endpoint for longer lists.
equipment_options[].equipment_type
string
equipment_options[].equipment_id
integer · int64
equipment_options[].model
string

Error responses 400401403404405409413415429503500

POST /rigs/{rig_id}/assistants/knowledge/Ask about manuals for equipment installed on one visible rig

Required access assistants, equipment

Select an installation by type and ID. Without a selection the API uses the sole recorded model or asks the caller to choose. Only active catalog manuals linked to the matched model can support an answer.

JSON request body

{
  "question": "Which manual covers this generator?",
  "equipment_type": "generator",
  "equipment_id": 1
}

Parameters

rig_id
path · integer · required An accessible rig ID. Range 1–2147483647.

200 Answer, request for clarification, or insufficient evidence

rig_id
integer · int32
status
string
answer
string Display as plain text. An insufficient result explains what evidence is missing.
sources
array Verified Knowledge manual citations. Fleet answers use the selected rig and return an empty list.
sources[].label
string
sources[].title
string
sources[].page_from
integer · nullable
sources[].page_to
integer · nullable
equipment_options
array · optional Visible installations to choose from when the Knowledge Assistant needs a selection. Use the installed equipment endpoint for longer lists.
equipment_options[].equipment_type
string
equipment_options[].equipment_id
integer · int64
equipment_options[].model
string

Error responses 400401403404405409413415429503500

Pagination

All lists return up to 50 records by default, in ascending ID order. Set limit to request up to 100. To read the next page, send the returned next_after_id as after_id and keep the same filters.

GET /rigs/?branch_id=12&limit=25&after_id=170

A null cursor marks the last page. Each request reads current records, so a rig can move between branches while you’re paging.

Errors

Read error.code for the error type and error.message for the explanation. A 405 response includes the supported methods in its Allow header.

400 invalid_parameter
A request parameter or JSON body has an invalid value, size or shape.
401 unauthorized
The bearer key is missing, invalid, expired, or revoked, or its personal account is ineligible in the issuing company.
403 insufficient_scope
The key needs purchasing access. Order endpoints also require AMD order history access for a personal key. The key needs the requested purchasing, maintenance or equipment grant. Personal AMD orders also require order history access. Assistant questions require a personal key with assistants access. Knowledge also requires equipment access.
404 not_found
The rig is missing or outside this key's access. The requested record is missing or outside this key's access.
405 method_not_allowed
Use the method listed for the endpoint.
409 context_changed
Accessible records or manuals changed during the question. Repeat it with current access.
413 payload_too_large
The JSON request exceeds 32 KiB.
415 unsupported_media_type
Assistant requests require application/json.
429 rate_limited
Up to ten assistant questions per crew member per UTC minute across personal keys and both assistants.
500 server_error
An unexpected application error occurred. Include the error ID when contacting ManageMyRig support. The header is X-Error-ID.
503 assistant_unavailable
The assistant provider or evidence checks could not complete the question. Retry later.