Inference connections API#
Served by: GeoNeMo agent service API. Schemas are on the schemas page.
Method |
Path |
Summary |
|---|---|---|
|
|
List inference connections |
|
|
Create inference connection |
|
|
List connection deployments |
|
|
Disable inference connection |
|
|
Get connection model catalog |
|
|
List connection models |
|
|
Rotate inference credential |
|
|
Verify inference connection |
|
|
List inference gateways |
GET /v1/inference-connections#
List inference connections
Lists the caller’s inference connections. Credentials are never returned.
Operation:
connections_v1_inference_connections_getAccess: bearer token or console session cookie
curl -X GET "https://geonemo.example.com/v1/inference-connections" \
-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/inference-connections#
Create inference connection
Creates a connection to a gateway, or to a custom gateway, with an API key the caller supplies. The key is stored server-side and never returned. Requires connections:manage; returns 422 for a malformed credential.
Operation:
create_connection_v1_inference_connections_postAccess: bearer token or console session cookie
curl -X POST "https://geonemo.example.com/v1/inference-connections" \
-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 |
|---|---|---|
|
Created |
|
|
Validation Error |
GET /v1/inference-connections/{connection_id}/deployments#
List connection deployments
Lists the caller’s deployments that use a connection, with their status and the connection revision each bound.
Operation:
deployments_v1_inference_connections__connection_id__deployments_getAccess: bearer token or console session cookie
curl -X GET "https://geonemo.example.com/v1/inference-connections/<connection_id>/deployments" \
-H "Authorization: Bearer $TOKEN"
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The inference connection ID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
POST /v1/inference-connections/{connection_id}/disable#
Disable inference connection
Disables a connection so new launches cannot use it. Requires connections:manage.
Operation:
disable_connection_v1_inference_connections__connection_id__disable_postAccess: bearer token or console session cookie
curl -X POST "https://geonemo.example.com/v1/inference-connections/<connection_id>/disable" \
-H "Authorization: Bearer $TOKEN"
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The inference connection ID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
GET /v1/inference-connections/{connection_id}/model-catalog#
Get connection model catalog
Lists the connection’s models with capability metadata. refresh=true bypasses the cached list.
Operation:
model_catalog_v1_inference_connections__connection_id__model_catalog_getAccess: bearer token or console session cookie
curl -X GET "https://geonemo.example.com/v1/inference-connections/<connection_id>/model-catalog" \
-H "Authorization: Bearer $TOKEN"
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The inference connection ID. |
|
query |
boolean |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
GET /v1/inference-connections/{connection_id}/models#
List connection models
Lists the model IDs a connection offers. refresh=true bypasses the cached list.
Operation:
models_v1_inference_connections__connection_id__models_getAccess: bearer token or console session cookie
curl -X GET "https://geonemo.example.com/v1/inference-connections/<connection_id>/models" \
-H "Authorization: Bearer $TOKEN"
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The inference connection ID. |
|
query |
boolean |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
POST /v1/inference-connections/{connection_id}/rotate#
Rotate inference credential
Replaces a connection’s API key and returns its metadata. Requires connections:manage.
Operation:
rotate_connection_v1_inference_connections__connection_id__rotate_postAccess: bearer token or console session cookie
curl -X POST "https://geonemo.example.com/v1/inference-connections/<connection_id>/rotate" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d @body.json
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The inference connection ID. |
|
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/inference-connections/{connection_id}/verify#
Verify inference connection
Checks a connection by refreshing its model list with the stored key, and returns its metadata. Requires connections:manage.
Operation:
verify_v1_inference_connections__connection_id__verify_postAccess: bearer token or console session cookie
curl -X POST "https://geonemo.example.com/v1/inference-connections/<connection_id>/verify" \
-H "Authorization: Bearer $TOKEN"
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The inference connection ID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
GET /v1/inference-gateways#
List inference gateways
Lists the inference gateways this deployment supports, with their public metadata.
Operation:
gateways_v1_inference_gateways_getAccess: bearer token or console session cookie
curl -X GET "https://geonemo.example.com/v1/inference-gateways" \
-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 |