Skip to documentation
On this page
GearDex DocsPlatform API

OpenAPI specification

Use the live GearDex contract with API clients, collection importers, schema validators, and code generators.

Studio APIv1Updated August 2026
Layered badlands in the Mecca Hills above the Salton Sea
GearDex LogoGearDex
Schema valid

OpenAPI 3.1

Live contract explorer

Paths

GET/gear
POST/gear
GET/shoots
PATCH/shoots/{id}
GET/documents

GearItem schema

type: object

required:

- id

- type

- brand

properties:

status: string

purchase_price: number

Live specification

GearDex serves its v1 Studio contract as OpenAPI JSON. The document is public so tooling can read endpoint schemas before you provide a key for authenticated requests.

GET/api/studio-agent/openapi

Download

Download OpenAPI JSON

curl -L "https://www.geardex.app/api/studio-agent/openapi" \
  -H "Accept: application/json" \
  -o geardex-openapi.json

The endpoint does not require a Studio API key. Generated clients must still send a scoped bearer key when they call protected v1 resources.

Client generation

Most OpenAPI-compatible generators can consume the live URL directly. Keep generated clients behind a server boundary so credentials never enter browser code.

Generate TypeScript types

npx openapi-typescript "https://www.geardex.app/api/studio-agent/openapi" \
  --output src/generated/geardex-api.d.ts
  1. Generate types or a client during development or CI.
  2. Review contract changes before updating application code.
  3. Inject the Studio key at server runtime.
  4. Preserve response status and error bodies for debugging.

Coverage

OpenAPI resource coverage
NameTypeDescription
Gearcollection + detailList, create, update, and delete inventory records.
Shootscollection + detailList, create, update, and delete shoot plans.
Maintenancecollection + detailList, create, update, and delete service records.
DocumentscollectionRead document and warranty metadata.
AnalyticssummaryRead aggregate Studio metrics.
ProfileresourceRead account and Studio profile metadata.