Gkb API#

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

Method

Path

Summary

POST

/v1/gkb/artifacts

Commit GKB artifact

POST

/v1/gkb/artifacts/validate

Validate GKB artifact

GET

/v1/gkb/artifacts/{artifact_id}

Get GKB artifact

GET

/v1/gkb/artifacts/{artifact_id}/ship-visualization

Get ship visualization

POST

/v1/gkb/artifacts/{artifact_id}/ship-visualization

Queue ship visualization

GET

/v1/gkb/artifacts/{artifact_id}/ship-visualization/artifacts/{name}

Get ship visualization resource

GET

/v1/gkb/artifacts/{artifact_id}/ship-visualization/tile-source

Get ship visualization tile source

GET

/v1/gkb/artifacts/{artifact_id}/ship-visualization/tiles/{revision}/{z}/{x}/{y}

Get ship visualization tile

POST

/v1/gkb/catalog-page

Browse GKB catalog

GET

/v1/gkb/extension-schemas

List GKB extension schemas

POST

/v1/gkb/map-page

Browse GKB map

GET

/v1/gkb/project-summaries

List GKB project summaries

GET

/v1/gkb/projects

List GKB projects

GET

/v1/gkb/projects/{project_id}/activity

Get GKB project activity

GET

/v1/gkb/projects/{project_id}/visualization

Get GKB project graph

POST

/v1/gkb/query

Query GKB artifacts

POST

/v1/gkb/relationships

Get GKB relationships

POST

/v1/gkb/search

Search GKB artifacts

POST

/v1/gkb/search-page

Search GKB artifacts with total

POST

/v1/gkb/timeline-overview

Get GKB timeline overview

POST /v1/gkb/artifacts#

Commit GKB artifact

Commits an artifact, from Markdown or a draft, to the canonical store. The Idempotency-Key header is required (400 when missing or invalid). A repeat with the same body returns the original receipt with duplicate set; a conflicting body or existing artifact returns 409. The receipt reports durability and projection state.

  • Operation: commitGkbArtifact

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/gkb/artifacts" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

Idempotency-Key

header

string or null

X-GeoNemo-Project-ID

header

string

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

Request body

Content type

Schema

Required

application/json

GkbCommitRequest

yes

Responses

Status

Meaning

Body

201

Created

ContributionReceipt

422

Validation Error

HTTPValidationError

POST /v1/gkb/artifacts/validate#

Validate GKB artifact

Checks artifact Markdown without saving it. Always answers 200; valid is false and errors is set when it fails. Returns 503 when the GKB capability is disabled.

  • Operation: validateGkbArtifact

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/gkb/artifacts/validate" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

X-GeoNemo-Project-ID

header

string

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

Request body

Content type

Schema

Required

application/json

GkbValidateRequest

yes

Responses

Status

Meaning

Body

200

OK

ArtifactValidation

422

Validation Error

HTTPValidationError

GET /v1/gkb/artifacts/{artifact_id}#

Get GKB artifact

Returns one artifact by ID. Returns 404 when it does not exist and 422 for an invalid ID.

  • Operation: getGkbArtifact

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/gkb/artifacts/<artifact_id>" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

artifact_id

path

string

yes

The artifact ID.

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

GkbArtifactResponse

422

Validation Error

HTTPValidationError

GET /v1/gkb/artifacts/{artifact_id}/ship-visualization#

Get ship visualization

Returns the status and resources of an artifact’s saved visualization.

  • Operation: getGkbShipVisualization

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/gkb/artifacts/<artifact_id>/ship-visualization" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

artifact_id

path

string

yes

The artifact ID.

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

GkbShipVisualization

422

Validation Error

HTTPValidationError

POST /v1/gkb/artifacts/{artifact_id}/ship-visualization#

Queue ship visualization

Requests the saved visualization for a GKB finding artifact. Returns 202 while it is being prepared and 200 once it is ready. Returns 422 when the saved finding is incomplete and 503 when the visualization is unavailable or the problem is retryable.

  • Operation: queueGkbShipVisualization

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/gkb/artifacts/<artifact_id>/ship-visualization" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

artifact_id

path

string

yes

The artifact ID.

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

202

Accepted

GkbShipVisualization

422

Validation Error

HTTPValidationError

GET /v1/gkb/artifacts/{artifact_id}/ship-visualization/artifacts/{name}#

Get ship visualization resource

Returns one allowlisted report resource (HTML, Markdown, JSON or PNG) after verifying its checksum. Returns 404 when the artifact or resource is not found.

  • Operation: getGkbShipVisualizationResource

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/gkb/artifacts/<artifact_id>/ship-visualization/artifacts/<name>" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

artifact_id

path

string

yes

The artifact ID.

name

path

string

yes

The visualization resource name.

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

Checksum-verified allowlisted report resource

string (binary); string (binary); string (binary); string (binary)

422

Validation Error

HTTPValidationError

GET /v1/gkb/artifacts/{artifact_id}/ship-visualization/tile-source#

Get ship visualization tile source

Returns the tile source details a map viewer needs for an artifact’s saved visualization.

  • Operation: getGkbShipVisualizationTileSource

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/gkb/artifacts/<artifact_id>/ship-visualization/tile-source" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

artifact_id

path

string

yes

The artifact ID.

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

GkbShipTileSource

422

Validation Error

HTTPValidationError

GET /v1/gkb/artifacts/{artifact_id}/ship-visualization/tiles/{revision}/{z}/{x}/{y}#

Get ship visualization tile

Returns one PNG tile of the saved visualization for a revision. Tiles are immutable and cacheable, carry their checksum in X-GeoNemo-Artifact-SHA256, and support If-None-Match.

  • Operation: getGkbShipVisualizationTile

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/gkb/artifacts/<artifact_id>/ship-visualization/tiles/<revision>/<z>/<x>/<y>" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

artifact_id

path

string

yes

The artifact ID.

revision

path

string

yes

The visualization revision.

z

path

integer

yes

The tile zoom level.

x

path

integer

yes

The tile column.

y

path

integer

yes

The tile row.

if-none-match

header

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

string (binary)

422

Validation Error

HTTPValidationError

POST /v1/gkb/catalog-page#

Browse GKB catalog

Returns one page of GKB artifacts for browsing, filtered and ordered by the request (lexical ranking only). An invalid or expired cursor returns 422; refresh and start again. Returns 503 when the GKB capability is disabled.

  • Operation: browseGkbCatalog

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/gkb/catalog-page" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

X-GeoNemo-Project-ID

header

string

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

Request body

Content type

Schema

Required

application/json

GkbBrowseRequest

yes

Responses

Status

Meaning

Body

200

OK

GkbBrowsePage

422

Validation Error

HTTPValidationError

GET /v1/gkb/extension-schemas#

List GKB extension schemas

List only service-pinned schema identity, never executable tool code.

  • Operation: listGkbExtensionSchemas

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/gkb/extension-schemas" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

ExtensionSchemaList

422

Validation Error

HTTPValidationError

POST /v1/gkb/map-page#

Browse GKB map

Returns one page of GKB artifacts that fall inside one or two map viewport boxes, with the same filters and cursors as the catalog page. Returns 503 when the GKB capability is disabled.

  • Operation: browseGkbMap

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/gkb/map-page" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

X-GeoNemo-Project-ID

header

string

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

Request body

Content type

Schema

Required

application/json

GkbMapRequest

yes

Responses

Status

Meaning

Body

200

OK

GkbBrowsePage

422

Validation Error

HTTPValidationError

GET /v1/gkb/project-summaries#

List GKB project summaries

Lists project summaries, up to limit (at most 200) per page, with cursor for the next page. Returns 503 when the GKB capability is disabled.

  • Operation: listGkbProjectSummaries

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/gkb/project-summaries" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

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

GkbProjectSummaries

422

Validation Error

HTTPValidationError

GET /v1/gkb/projects#

List GKB projects

Lists the projects found in the canonical store with each one’s artifact count and latest activity. Only the first 10,000 artifacts are scanned.

  • Operation: listGkbProjects

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/gkb/projects" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

GkbProjectList

422

Validation Error

HTTPValidationError

GET /v1/gkb/projects/{project_id}/activity#

Get GKB project activity

Returns a project’s artifacts as activity entries based on their creation times.

  • Operation: getGkbActivity

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/gkb/projects/<project_id>/activity" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

project_id

path

string

yes

The GKB project ID.

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

GkbActivityResponse

422

Validation Error

HTTPValidationError

GET /v1/gkb/projects/{project_id}/visualization#

Get GKB project graph

Returns a project’s artifacts and their links as nodes and edges for graph display.

  • Operation: getGkbVisualization

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/gkb/projects/<project_id>/visualization" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

project_id

path

string

yes

The GKB project ID.

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

GkbVisualizationResponse

422

Validation Error

HTTPValidationError

POST /v1/gkb/query#

Query GKB artifacts

Lists artifacts matching text, project, bounding box, time and creation-time filters, with lexical ranking and a result limit. Returns 422 for an invalid query.

  • Operation: queryGkbArtifacts

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/gkb/query" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

X-GeoNemo-Project-ID

header

string

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

Request body

Content type

Schema

Required

application/json

ArtifactQuery

yes

Responses

Status

Meaning

Body

200

OK

ArtifactQueryResponse

422

Validation Error

HTTPValidationError

POST /v1/gkb/relationships#

Get GKB relationships

Returns the explicit relations of up to 100 artifacts, optionally within one project. Returns 503 when the GKB capability is disabled.

  • Operation: getGkbRelationships

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/gkb/relationships" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

X-GeoNemo-Project-ID

header

string

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

Request body

Content type

Schema

Required

application/json

GkbRelationshipRequest

yes

Responses

Status

Meaning

Body

200

OK

GkbRelationships

422

Validation Error

HTTPValidationError

POST /v1/gkb/search#

Search GKB artifacts

Searches artifacts with structured filters, in pages; pass next_cursor back as cursor for the next page. The /search-page form also returns total. Returns 503 when the GKB capability is disabled.

  • Operation: searchGkbArtifacts

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/gkb/search" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

X-GeoNemo-Project-ID

header

string

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

Request body

Content type

Schema

Required

application/json

GkbSearchRequest

yes

Responses

Status

Meaning

Body

200

OK

GkbSearchResponse

422

Validation Error

HTTPValidationError

POST /v1/gkb/search-page#

Search GKB artifacts with total

Searches artifacts with structured filters, in pages; pass next_cursor back as cursor for the next page. The /search-page form also returns total. Returns 503 when the GKB capability is disabled.

  • Operation: searchGkbArtifactPage

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/gkb/search-page" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

X-GeoNemo-Project-ID

header

string

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

Request body

Content type

Schema

Required

application/json

GkbSearchRequest

yes

Responses

Status

Meaning

Body

200

OK

GkbSearchPageResponse

422

Validation Error

HTTPValidationError

POST /v1/gkb/timeline-overview#

Get GKB timeline overview

Summarises GKB artifacts into time buckets (default 100, at most 200) for a timeline view. Returns 503 when the capability is disabled or the projection is unavailable.

  • Operation: getGkbTimelineOverview

  • Access: bearer token or console session cookie

curl -X POST "https://geonemo.example.com/v1/gkb/timeline-overview" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

X-GeoNemo-Project-ID

header

string

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

Request body

Content type

Schema

Required

application/json

GkbTimelineRequest

yes

Responses

Status

Meaning

Body

200

OK

GkbTimelineOverview

422

Validation Error

HTTPValidationError