Skip to main content
POST
Records list

Request contract

  • Method and path: POST /apis/v1/cgmix-uscg-mil/maritime-safety/records-list
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/records-list
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
build_year
number

Construction completed year; needed to split large US segments under the 32 MiB response cap.

Provider reference: minimum 1800; maximum 2100.

cursor
string

next_cursor of the previous page; carries the segment, so flag and service may be omitted with it.

flag
string

Flag state as PSIX spells CountryLookupName (case-insensitive), e.g. UNITED STATES, PANAMA, MARSHALL ISLANDS.

page_size
number

Records per page (default 1000).

Provider reference: minimum 1; maximum 5000.

service
string

Service type, exact PSIX spelling (case-insensitive), e.g. Freight Ship, Tank Ship, Towing Vessel, Passenger (Inspected), Commercial Fishing Vessel.

Response

Every vessel of one segment (getVesselSummary with Flag and Service, plus BuildYear when given), sorted by VesselId and paged by offset (page_size default 1000, max 5000). Each page re-fetches the segment and compares the SHA-256 of its sorted VesselId list with the one pinned in the cursor; a mismatch fails with invalid_input issue code publication_changed. A segment over the 32 MiB response cap fails with segment_too_large: split it by build_year. Records are summary rows; records_get returns particulars, dimensions, tonnage, documents and cases.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.