Vessel detection API#

Served by: GeoNeMo maritime part API. Schemas are on the schemas page.

Method

Path

Summary

GET

/v1/vessel-detection/runs/{run_id}

Get vessel detection run

POST

/v1/vessel-detection/runs/{run_id}/cancel

Cancel vessel detection run

GET

/v1/vessel-detection/runs/{run_id}/result

Get vessel detection result

POST

/v1/vessel-detection/runs/{run_id}/visual-report

Render vessel detection report

GET

/v1/vessel-detection/runs/{run_id}/visual-report/artifacts/{artifact}

Get vessel detection report file

POST

/v1/vessel-detection/sentinel-1/runs

Start Sentinel-1 vessel detection

POST

/v1/vessel-detection/sentinel-2/runs

Start Sentinel-2 vessel detection

GET /v1/vessel-detection/runs/{run_id}#

Get vessel detection run

Returns a run’s current state. Returns 404 for an unknown run.

  • Operation: getVesselDetectionStatus

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/vessel-detection/runs/<run_id>" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

run_id

path

string

yes

The run ID.

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Responses

Status

Meaning

Body

200

OK

VesselDetectionRun

422

Validation Error

HTTPValidationError

POST /v1/vessel-detection/runs/{run_id}/cancel#

Cancel vessel detection run

Requests cancellation of a run and returns it. Returns 404 for an unknown run.

  • Operation: cancelVesselDetection

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/vessel-detection/runs/<run_id>/cancel" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

run_id

path

string

yes

The run ID.

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Responses

Status

Meaning

Body

200

OK

VesselDetectionRun

422

Validation Error

HTTPValidationError

GET /v1/vessel-detection/runs/{run_id}/result#

Get vessel detection result

Returns a finished run’s detections, paged by limit (at most 1000) and cursor. Returns 409 while the result is not ready.

  • Operation: getVesselDetectionResult

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/vessel-detection/runs/<run_id>/result" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

run_id

path

string

yes

The run ID.

limit

query

integer

cursor

query

string or null

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Responses

Status

Meaning

Body

200

OK

VesselDetectionResult

422

Validation Error

HTTPValidationError

POST /v1/vessel-detection/runs/{run_id}/visual-report#

Render vessel detection report

Renders the visual report for a finished run and returns its list of artifacts. Returns 409 when the run cannot be reported yet, with a retryable flag, and 503 when reports are unavailable.

  • Operation: renderVesselDetectionVisualReport

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/vessel-detection/runs/<run_id>/visual-report" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

run_id

path

string

yes

The run ID.

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Responses

Status

Meaning

Body

200

OK

VesselDetectionVisualReport

422

Validation Error

HTTPValidationError

GET /v1/vessel-detection/runs/{run_id}/visual-report/artifacts/{artifact}#

Get vessel detection report file

Returns one file of a run’s visual report inline. Returns 404 when it does not exist, and 422 or 503 when the report is invalid or retryably unavailable.

  • Operation: getVesselDetectionVisualReportArtifact

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/vessel-detection/runs/<run_id>/visual-report/artifacts/<artifact>" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

run_id

path

string

yes

The run ID.

artifact

path

string

yes

The report file name.

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Responses

Status

Meaning

Body

200

OK

422

Validation Error

HTTPValidationError

POST /v1/vessel-detection/sentinel-1/runs#

Start Sentinel-1 vessel detection

Starts a Sentinel-1 vessel-detection run on one catalog record and returns 202 with the run. The Idempotency-Key header is required; repeating it returns the same run, and reusing it for a different request returns 409. Returns 503 when the sensor is disabled.

  • Operation: startSentinel1VesselDetection

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/vessel-detection/sentinel-1/runs" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: <idempotency-key>" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

Idempotency-Key

header

string

yes

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Request body

Content type

Schema

Required

application/json

VesselDetectionStartRequest

yes

Responses

Status

Meaning

Body

202

Accepted

VesselDetectionRun

422

Validation Error

HTTPValidationError

POST /v1/vessel-detection/sentinel-2/runs#

Start Sentinel-2 vessel detection

Starts a Sentinel-2 vessel-detection run on one catalog record and returns 202 with the run. The Idempotency-Key header is required; repeating it returns the same run, and reusing it for a different request returns 409. Returns 503 when the sensor is disabled.

  • Operation: startSentinel2VesselDetection

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/vessel-detection/sentinel-2/runs" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: <idempotency-key>" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

Idempotency-Key

header

string

yes

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Request body

Content type

Schema

Required

application/json

VesselDetectionStartRequest

yes

Responses

Status

Meaning

Body

202

Accepted

VesselDetectionRun

422

Validation Error

HTTPValidationError