Gkb API#
Served by: GeoNeMo Toolkit API, GeoNeMo maritime part API. Schemas are on the schemas page.
Method |
Path |
Summary |
|---|---|---|
|
|
Commit GKB artifact |
|
|
Validate GKB artifact |
|
|
Get GKB artifact |
|
|
Get ship visualization |
|
|
Queue ship visualization |
|
|
Get ship visualization resource |
|
|
Get ship visualization tile source |
|
|
Get ship visualization tile |
|
|
Browse GKB catalog |
|
|
List GKB extension schemas |
|
|
Browse GKB map |
|
|
List GKB project summaries |
|
|
List GKB projects |
|
|
Get GKB project activity |
|
|
Get GKB project graph |
|
|
Query GKB artifacts |
|
|
Get GKB relationships |
|
|
Search GKB artifacts |
|
|
Search GKB artifacts with total |
|
|
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:
commitGkbArtifactAccess: 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 |
|---|---|---|---|---|
|
header |
string or null |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Request body
Content type |
Schema |
Required |
|---|---|---|
|
yes |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
Created |
|
|
Validation Error |
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:
validateGkbArtifactAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Request body
Content type |
Schema |
Required |
|---|---|---|
|
yes |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
getGkbArtifactAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The artifact ID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
GET /v1/gkb/artifacts/{artifact_id}/ship-visualization#
Get ship visualization
Returns the status and resources of an artifact’s saved visualization.
Operation:
getGkbShipVisualizationAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The artifact ID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
queueGkbShipVisualizationAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The artifact ID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
Accepted |
|
|
Validation Error |
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:
getGkbShipVisualizationResourceAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The artifact ID. |
|
path |
string |
yes |
The visualization resource name. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
Checksum-verified allowlisted report resource |
string (binary); string (binary); string (binary); string (binary) |
|
Validation Error |
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:
getGkbShipVisualizationTileSourceAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The artifact ID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
getGkbShipVisualizationTileAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The artifact ID. |
|
path |
string |
yes |
The visualization revision. |
|
path |
integer |
yes |
The tile zoom level. |
|
path |
integer |
yes |
The tile column. |
|
path |
integer |
yes |
The tile row. |
|
header |
string or null |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
string (binary) |
|
Validation Error |
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:
browseGkbCatalogAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Request body
Content type |
Schema |
Required |
|---|---|---|
|
yes |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
GET /v1/gkb/extension-schemas#
List GKB extension schemas
List only service-pinned schema identity, never executable tool code.
Operation:
listGkbExtensionSchemasAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
browseGkbMapAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Request body
Content type |
Schema |
Required |
|---|---|---|
|
yes |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
listGkbProjectSummariesAccess: 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 |
|---|---|---|---|---|
|
query |
integer |
||
|
query |
string or null |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
listGkbProjectsAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
getGkbActivityAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The GKB project ID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
getGkbVisualizationAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The GKB project ID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
queryGkbArtifactsAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Request body
Content type |
Schema |
Required |
|---|---|---|
|
yes |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
getGkbRelationshipsAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Request body
Content type |
Schema |
Required |
|---|---|---|
|
yes |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
searchGkbArtifactsAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Request body
Content type |
Schema |
Required |
|---|---|---|
|
yes |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
searchGkbArtifactPageAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Request body
Content type |
Schema |
Required |
|---|---|---|
|
yes |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
getGkbTimelineOverviewAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Request body
Content type |
Schema |
Required |
|---|---|---|
|
yes |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |