Download OpenAPI specification:Download
Login endpoint - proxies to Keycloak for authentication. Returns Keycloak's RS256 tokens directly.
| username required | string (Username) Account username (Keycloak login) |
| password required | string (Password) Account password |
| grant_type | string (Grant Type) Default: "password" OAuth 2.0 grant type |
| scope | string (Scope) Default: "openid email profile offline_access" Space-separated scopes. Default mirrors the Kamiwaza profile scopes |
Client Id (string) or Client Id (null) (Client Id) Keycloak client ID. Leave blank to use AUTH_GATEWAY_KEYCLOAK_CLIENT_ID (default 'kamiwaza-platform'). | |
Client Secret (string) or Client Secret (null) (Client Secret) Client secret if the Keycloak client requires one. Leave blank for the default setup. |
{- "access_token": "string",
- "token_type": "bearer",
- "expires_in": 0,
- "refresh_token": "string",
- "id_token": "string"
}Refresh access token using refresh token.
Refresh Token (string) or Refresh Token (null) (Refresh Token) |
{- "access_token": "string",
- "token_type": "bearer",
- "expires_in": 0,
- "refresh_token": "string",
- "id_token": "string"
}Return the authenticated user resolved from the bearer token or ForwardAuth headers.
Authorization (string) or Authorization (null) (Authorization) |
{- "username": "string",
- "email": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "sub": "string"
}OIDC callback handler. Exchanges authorization code for tokens, sets auth cookie, and redirects user to Kamiwaza UI.
This endpoint should be configured as a redirect URI in Keycloak.
| code required | string (Code) |
State (string) or State (null) (State) | |
Session State (string) or Session State (null) (Session State) |
nullRegister or update an external IdP in Keycloak.
Authorization (string) or Authorization (null) (Authorization) |
| provider required | string (Provider) 'google' or 'oidc' |
GoogleConfig (object) or null | |
OIDCConfig (object) or null | |
| ensure_redirects | boolean (Ensure Redirects) Default: true |
{- "provider": "string",
- "google": {
- "alias": "google",
- "client_id": "string",
- "client_secret": "string",
- "hosted_domain": "string",
- "scopes": [
- "string"
]
}, - "oidc": {
- "alias": "string",
- "client_id": "string",
- "client_secret": "string",
- "scopes": [
- "string"
]
}, - "ensure_redirects": true
}null| alias required | string (Alias) |
Authorization (string) or Authorization (null) (Authorization) |
| provider required | string (Provider) 'google' or 'oidc' |
GoogleConfig (object) or null | |
OIDCConfig (object) or null | |
| ensure_redirects | boolean (Ensure Redirects) Default: true |
{- "provider": "string",
- "google": {
- "alias": "google",
- "client_id": "string",
- "client_secret": "string",
- "hosted_domain": "string",
- "scopes": [
- "string"
]
}, - "oidc": {
- "alias": "string",
- "client_id": "string",
- "client_secret": "string",
- "scopes": [
- "string"
]
}, - "ensure_redirects": true
}null| alias required | string (Alias) |
Authorization (string) or Authorization (null) (Authorization) |
| enabled required | boolean (Enabled) |
{- "enabled": true
}nullAuthorization (string) or Authorization (null) (Authorization) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}
]| user_id required | string <uuid> (User Id) |
Authorization (string) or Authorization (null) (Authorization) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}| user_id required | string <uuid> (User Id) |
Authorization (string) or Authorization (null) (Authorization) |
Username (string) or Username (null) (Username) | |
Email (string) or Email (null) (Email) | |
Active (boolean) or Active (null) (Active) | |
Array of Roles (strings) or Roles (null) (Roles) |
{- "username": "string",
- "email": "string",
- "active": true,
- "roles": [
- "string"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}| user_id required | string <uuid> (User Id) |
Authorization (string) or Authorization (null) (Authorization) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}Authorization (string) or Authorization (null) (Authorization) |
| username required | string (Username) |
Email (string) or Email (null) (Email) | |
| password required | string (Password) |
Array of Roles (strings) or Roles (null) (Roles) |
{- "username": "string",
- "email": "string",
- "password": "string",
- "roles": [
- "string"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}| user_id required | string <uuid> (User Id) |
Authorization (string) or Authorization (null) (Authorization) |
| new_password required | string (New Password) |
{- "new_password": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}Authorization (string) or Authorization (null) (Authorization) |
| current_password required | string (Current Password) |
| new_password required | string (New Password) |
{- "current_password": "string",
- "new_password": "string"
}{- "changed": true
}Initiate browser-based login by redirecting to Keycloak. Uses the public URL for browser access.
Redirect Uri (string) or Redirect Uri (null) (Redirect Uri) Where to redirect after login | |
Provider (string) or Provider (null) (Provider) Identity provider hint (e.g., 'google') |
nullCreate a Personal Access Token for the current user. Returns the JWT once.
Name (string) or Name (null) (Name) | |
Ttl Seconds (integer) or Ttl Seconds (null) (Ttl Seconds) | |
Scope (string) or Scope (null) (Scope) | |
Aud (string) or Aud (null) (Aud) |
Authorization (string) or Authorization (null) (Authorization) |
Name (string) or Name (null) (Name) | |
Ttl Seconds (integer) or Ttl Seconds (null) (Ttl Seconds) TTL in seconds for the PAT | |
Scope (string) or Scope (null) (Scope) | |
Aud (string) or Aud (null) (Aud) |
{- "name": "string",
- "ttl_seconds": 0,
- "scope": "string",
- "aud": "string"
}{- "token": "string",
- "pat": {
- "name": "string",
- "ttl_seconds": 0,
- "scope": "string",
- "aud": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "jti": "string",
- "owner_id": "string",
- "exp": 0,
- "tenant_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "revoked": false
}
}Authorization (string) or Authorization (null) (Authorization) |
{- "pats": [
- {
- "name": "string",
- "ttl_seconds": 0,
- "scope": "string",
- "aud": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "jti": "string",
- "owner_id": "string",
- "exp": 0,
- "tenant_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "revoked": false
}
]
}| tenant | string (Tenant) Default: "__default__" Tenant identifier |
Object Namespace (string) or Object Namespace (null) (Object Namespace) Filter by object namespace |
Authorization (string) or Authorization (null) (Authorization) |
[- {
- "subject_namespace": "string",
- "subject_id": "string",
- "resource_type": "string",
- "resource_id": "string",
- "relation": "string",
- "tenant_id": "string"
}
]Authorization (string) or Authorization (null) (Authorization) |
| manifest required | string (Manifest) |
Tenant (string) or Tenant (null) (Tenant) |
{- "manifest": "string",
- "tenant": "string"
}nullAuthorization (string) or Authorization (null) (Authorization) |
| manifest required | string (Manifest) |
Tenant (string) or Tenant (null) (Tenant) | |
| dry_run | boolean (Dry Run) Default: false |
{- "manifest": "string",
- "tenant": "string",
- "dry_run": false
}{- "tenant": "string",
- "dry_run": true,
- "count": 0,
- "tuples": [
- {
- "subject_namespace": "string",
- "subject_id": "string",
- "resource_type": "string",
- "resource_id": "string",
- "relation": "string",
- "tenant_id": "string"
}
]
}| tenant | string (Tenant) Default: "__default__" Tenant identifier |
Updated After (string) or Updated After (null) (Updated After) ISO-8601 timestamp filter (updated_at >= value) |
Authorization (string) or Authorization (null) (Authorization) |
{- "tenant": "string",
- "exported_at": "2019-08-24T14:15:22Z",
- "count": 0,
- "events": [
- {
- "id": "string",
- "action": "string",
- "occurred_at": "2019-08-24T14:15:22Z",
- "actor": { },
- "targets": [
- { }
], - "context": { }
}
]
}Tenant (string) or Tenant (null) (Tenant) Filter events to a tenant identifier | |
Result (string) or Result (null) (Result) Filter by decision result | |
Updated After (string) or Updated After (null) (Updated After) ISO-8601 timestamp filter for decision time | |
| limit | integer (Limit) [ 1 .. 1000 ] Default: 200 Maximum number of events |
Cursor (integer) or Cursor (null) (Cursor) Resume export from this sequence cursor |
Authorization (string) or Authorization (null) (Authorization) |
{- "tenant": "string",
- "result": "string",
- "since": "2019-08-24T14:15:22Z",
- "count": 0,
- "events": [
- {
- "sequence": 0,
- "occurred_at": "2019-08-24T14:15:22Z",
- "result": "string",
- "tenant_id": "string",
- "subject_namespace": "string",
- "subject_id": "string",
- "object_namespace": "string",
- "object_id": "string",
- "relation": "string",
- "source": "string",
- "decision_id": "string",
- "reason": "string",
- "correlation_id": "string",
- "latency_ms": 0,
- "metadata": { }
}
], - "next_cursor": 0,
- "has_more": true
}Authorization (string) or Authorization (null) (Authorization) |
| tenant_id required | string (Tenant Id) |
| subject_namespace | string (Subject Namespace) Default: "user" |
| subject_id required | string (Subject Id) |
{- "tenant_id": "string",
- "subject_namespace": "user",
- "subject_id": "string"
}{- "revoked": 0
}Login endpoint - proxies to Keycloak for authentication. Returns Keycloak's RS256 tokens directly.
| username required | string (Username) Account username (Keycloak login) |
| password required | string (Password) Account password |
| grant_type | string (Grant Type) Default: "password" OAuth 2.0 grant type |
| scope | string (Scope) Default: "openid email profile offline_access" Space-separated scopes. Default mirrors the Kamiwaza profile scopes |
Client Id (string) or Client Id (null) (Client Id) Keycloak client ID. Leave blank to use AUTH_GATEWAY_KEYCLOAK_CLIENT_ID (default 'kamiwaza-platform'). | |
Client Secret (string) or Client Secret (null) (Client Secret) Client secret if the Keycloak client requires one. Leave blank for the default setup. |
{- "access_token": "string",
- "token_type": "bearer",
- "expires_in": 0,
- "refresh_token": "string",
- "id_token": "string"
}Refresh access token using refresh token.
Refresh Token (string) or Refresh Token (null) (Refresh Token) |
{- "access_token": "string",
- "token_type": "bearer",
- "expires_in": 0,
- "refresh_token": "string",
- "id_token": "string"
}Return the authenticated user resolved from the bearer token or ForwardAuth headers.
Authorization (string) or Authorization (null) (Authorization) |
{- "username": "string",
- "email": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "sub": "string"
}Register or update an external IdP in Keycloak.
Authorization (string) or Authorization (null) (Authorization) |
| provider required | string (Provider) 'google' or 'oidc' |
GoogleConfig (object) or null | |
OIDCConfig (object) or null | |
| ensure_redirects | boolean (Ensure Redirects) Default: true |
{- "provider": "string",
- "google": {
- "alias": "google",
- "client_id": "string",
- "client_secret": "string",
- "hosted_domain": "string",
- "scopes": [
- "string"
]
}, - "oidc": {
- "alias": "string",
- "client_id": "string",
- "client_secret": "string",
- "scopes": [
- "string"
]
}, - "ensure_redirects": true
}null| alias required | string (Alias) |
Authorization (string) or Authorization (null) (Authorization) |
| provider required | string (Provider) 'google' or 'oidc' |
GoogleConfig (object) or null | |
OIDCConfig (object) or null | |
| ensure_redirects | boolean (Ensure Redirects) Default: true |
{- "provider": "string",
- "google": {
- "alias": "google",
- "client_id": "string",
- "client_secret": "string",
- "hosted_domain": "string",
- "scopes": [
- "string"
]
}, - "oidc": {
- "alias": "string",
- "client_id": "string",
- "client_secret": "string",
- "scopes": [
- "string"
]
}, - "ensure_redirects": true
}null| alias required | string (Alias) |
Authorization (string) or Authorization (null) (Authorization) |
| enabled required | boolean (Enabled) |
{- "enabled": true
}nullAuthorization (string) or Authorization (null) (Authorization) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}
]| user_id required | string <uuid> (User Id) |
Authorization (string) or Authorization (null) (Authorization) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}| user_id required | string <uuid> (User Id) |
Authorization (string) or Authorization (null) (Authorization) |
Username (string) or Username (null) (Username) | |
Email (string) or Email (null) (Email) | |
Active (boolean) or Active (null) (Active) | |
Array of Roles (strings) or Roles (null) (Roles) |
{- "username": "string",
- "email": "string",
- "active": true,
- "roles": [
- "string"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}| user_id required | string <uuid> (User Id) |
Authorization (string) or Authorization (null) (Authorization) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}Authorization (string) or Authorization (null) (Authorization) |
| username required | string (Username) |
Email (string) or Email (null) (Email) | |
| password required | string (Password) |
Array of Roles (strings) or Roles (null) (Roles) |
{- "username": "string",
- "email": "string",
- "password": "string",
- "roles": [
- "string"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}| user_id required | string <uuid> (User Id) |
Authorization (string) or Authorization (null) (Authorization) |
| new_password required | string (New Password) |
{- "new_password": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "email": "string",
- "roles": [
- "string"
], - "active": true,
- "deleted": true,
- "is_external": true,
- "external_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}Authorization (string) or Authorization (null) (Authorization) |
| current_password required | string (Current Password) |
| new_password required | string (New Password) |
{- "current_password": "string",
- "new_password": "string"
}{- "changed": true
}ForwardAuth validation endpoint for Traefik. Refactored for clarity: bypass → token → validate → claims→user → RBAC → response
Authorization (string) or Authorization (null) (Authorization) | |
X-Forwarded-Method (string) or X-Forwarded-Method (null) (X-Forwarded-Method) | |
X-Forwarded-Uri (string) or X-Forwarded-Uri (null) (X-Forwarded-Uri) | |
X-Forwarded-Host (string) or X-Forwarded-Host (null) (X-Forwarded-Host) | |
X-Forwarded-Proto (string) or X-Forwarded-Proto (null) (X-Forwarded-Proto) |
nullForwardAuth validation endpoint for Traefik. Refactored for clarity: bypass → token → validate → claims→user → RBAC → response
Authorization (string) or Authorization (null) (Authorization) | |
X-Forwarded-Method (string) or X-Forwarded-Method (null) (X-Forwarded-Method) | |
X-Forwarded-Uri (string) or X-Forwarded-Uri (null) (X-Forwarded-Uri) | |
X-Forwarded-Host (string) or X-Forwarded-Host (null) (X-Forwarded-Host) | |
X-Forwarded-Proto (string) or X-Forwarded-Proto (null) (X-Forwarded-Proto) |
nullForwardAuth validation endpoint for Traefik. Refactored for clarity: bypass → token → validate → claims→user → RBAC → response
Authorization (string) or Authorization (null) (Authorization) | |
X-Forwarded-Method (string) or X-Forwarded-Method (null) (X-Forwarded-Method) | |
X-Forwarded-Uri (string) or X-Forwarded-Uri (null) (X-Forwarded-Uri) | |
X-Forwarded-Host (string) or X-Forwarded-Host (null) (X-Forwarded-Host) | |
X-Forwarded-Proto (string) or X-Forwarded-Proto (null) (X-Forwarded-Proto) |
null| tenant | string (Tenant) Default: "__default__" Tenant identifier |
Object Namespace (string) or Object Namespace (null) (Object Namespace) Filter by object namespace |
Authorization (string) or Authorization (null) (Authorization) |
[- {
- "subject_namespace": "string",
- "subject_id": "string",
- "resource_type": "string",
- "resource_id": "string",
- "relation": "string",
- "tenant_id": "string"
}
]Authorization (string) or Authorization (null) (Authorization) |
| manifest required | string (Manifest) |
Tenant (string) or Tenant (null) (Tenant) |
{- "manifest": "string",
- "tenant": "string"
}nullAuthorization (string) or Authorization (null) (Authorization) |
| manifest required | string (Manifest) |
Tenant (string) or Tenant (null) (Tenant) | |
| dry_run | boolean (Dry Run) Default: false |
{- "manifest": "string",
- "tenant": "string",
- "dry_run": false
}{- "tenant": "string",
- "dry_run": true,
- "count": 0,
- "tuples": [
- {
- "subject_namespace": "string",
- "subject_id": "string",
- "resource_type": "string",
- "resource_id": "string",
- "relation": "string",
- "tenant_id": "string"
}
]
}| tenant | string (Tenant) Default: "__default__" Tenant identifier |
Updated After (string) or Updated After (null) (Updated After) ISO-8601 timestamp filter (updated_at >= value) |
Authorization (string) or Authorization (null) (Authorization) |
{- "tenant": "string",
- "exported_at": "2019-08-24T14:15:22Z",
- "count": 0,
- "events": [
- {
- "id": "string",
- "action": "string",
- "occurred_at": "2019-08-24T14:15:22Z",
- "actor": { },
- "targets": [
- { }
], - "context": { }
}
]
}Tenant (string) or Tenant (null) (Tenant) Filter events to a tenant identifier | |
Result (string) or Result (null) (Result) Filter by decision result | |
Updated After (string) or Updated After (null) (Updated After) ISO-8601 timestamp filter for decision time | |
| limit | integer (Limit) [ 1 .. 1000 ] Default: 200 Maximum number of events |
Cursor (integer) or Cursor (null) (Cursor) Resume export from this sequence cursor |
Authorization (string) or Authorization (null) (Authorization) |
{- "tenant": "string",
- "result": "string",
- "since": "2019-08-24T14:15:22Z",
- "count": 0,
- "events": [
- {
- "sequence": 0,
- "occurred_at": "2019-08-24T14:15:22Z",
- "result": "string",
- "tenant_id": "string",
- "subject_namespace": "string",
- "subject_id": "string",
- "object_namespace": "string",
- "object_id": "string",
- "relation": "string",
- "source": "string",
- "decision_id": "string",
- "reason": "string",
- "correlation_id": "string",
- "latency_ms": 0,
- "metadata": { }
}
], - "next_cursor": 0,
- "has_more": true
}Authorization (string) or Authorization (null) (Authorization) |
| tenant_id required | string (Tenant Id) |
| subject_namespace | string (Subject Namespace) Default: "user" |
| subject_id required | string (Subject Id) |
{- "tenant_id": "string",
- "subject_namespace": "user",
- "subject_id": "string"
}{- "revoked": 0
}Authorization (string) or Authorization (null) (Authorization) |
required | object (SubjectModel) |
| relation required | string (Relation) ^(owner|editor|viewer|member|operator|mission... |
required | object (ObjectModel) |
Tenant Id (string) or Tenant Id (null) (Tenant Id) Optional tenant identifier for the relationship |
{- "subject": {
- "namespace": "user",
- "id": "string"
}, - "relation": "string",
- "object": {
- "namespace": "model",
- "id": "string"
}, - "tenant_id": "string"
}{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Authorization (string) or Authorization (null) (Authorization) |
required | object (SubjectModel) |
Relation (string) or Relation (null) (Relation) | |
required | object (ObjectModel) |
Tenant Id (string) or Tenant Id (null) (Tenant Id) Optional tenant filter when deleting |
{- "subject": {
- "namespace": "user",
- "id": "string"
}, - "relation": "string",
- "object": {
- "namespace": "model",
- "id": "string"
}, - "tenant_id": "string"
}{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Authorization (string) or Authorization (null) (Authorization) |
required | object (ObjectModel) |
Tenant Id (string) or Tenant Id (null) (Tenant Id) Optional tenant filter when deleting |
{- "object": {
- "namespace": "model",
- "id": "string"
}, - "tenant_id": "string"
}{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}required | object (SubjectModel) |
| relation required | string (Relation) ^(owner|editor|viewer|member|operator|mission... |
required | object (ObjectModel) |
{- "subject": {
- "namespace": "user",
- "id": "string"
}, - "relation": "string",
- "object": {
- "namespace": "model",
- "id": "string"
}
}{- "allow": true,
- "decision_id": "string",
- "reason": "string"
}Get all models with pending deployment flags and active downloads for UI state recovery.
This endpoint is used by the frontend to recover state after page reloads when download/deploy operations were in progress.
Returns: dict: { "pending_deployments": [model_repo_ids], # Models waiting for deployment "downloading_models": [model_repo_ids], # Models currently downloading "deployment_flags": {model_id: flag_value}, # Raw etcd flags "active_downloads": [download_info], # Detailed download info "total_pending": int, "total_downloading": int }
{ }Manually clean up stale deployment flags in etcd.
This endpoint removes deployment flags for models that:
Returns: dict: { "cleaned_count": int, "cleaned_flags": [model_ids], "message": str }
{ }Get deployment information for a deployed model including engine type and port.
Args: model_id (UUID): The ID of the model to get deployment info for
Returns: dict: Deployment information if model is deployed, otherwise {"deployed": false}
| model_id required | string <uuid> (Model Id) |
{ }Get a model by its id.
Args: model_id (UUID): The id of the model to retrieve.
Returns: Model: The retrieved model.
Raises: HTTPException: If the model is not found.
| model_id required | string <uuid> (Model Id) |
{- "repo_modelId": "string",
- "modelfamily": "string",
- "purpose": "string",
- "name": "string",
- "version": "string",
- "author": "string",
- "source_repository": "string",
- "sha_repository": "string",
- "hub": "string",
- "description": "string",
- "quantization_details": "string",
- "private": true,
- "m_files": [ ],
- "modelcard": "string",
- "default_config": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "modified_timestamp": "2019-08-24T14:15:22Z",
- "files_being_downloaded": [ ]
}Create a new model.
Args: model (CreateModel): The model to create.
Returns: Model: The newly created model.
Raises: HTTPException: If there is insufficient disk space to create the model.
Repo Modelid (string) or Repo Modelid (null) (Repo Modelid) | |
Modelfamily (string) or Modelfamily (null) (Modelfamily) | |
Purpose (string) or Purpose (null) (Purpose) | |
| name required | string (Name) |
Version (string) or Version (null) (Version) | |
Author (string) or Author (null) (Author) | |
Source Repository (string) or Source Repository (null) (Source Repository) | |
Sha Repository (string) or Sha Repository (null) (Sha Repository) | |
Hub (string) or Hub (null) (Hub) | |
Description (string) or Description (null) (Description) | |
Quantization Details (string) or Quantization Details (null) (Quantization Details) | |
Private (boolean) or Private (null) (Private) | |
Array of objects (M Files) Default: [] | |
Modelcard (string) or Modelcard (null) (Modelcard) | |
Default Config (object) or Default Config (null) (Default Config) |
{- "repo_modelId": "string",
- "modelfamily": "string",
- "purpose": "string",
- "name": "string",
- "version": "string",
- "author": "string",
- "source_repository": "string",
- "sha_repository": "string",
- "hub": "string",
- "description": "string",
- "quantization_details": "string",
- "private": true,
- "m_files": [ ],
- "modelcard": "string",
- "default_config": { }
}{- "repo_modelId": "string",
- "modelfamily": "string",
- "purpose": "string",
- "name": "string",
- "version": "string",
- "author": "string",
- "source_repository": "string",
- "sha_repository": "string",
- "hub": "string",
- "description": "string",
- "quantization_details": "string",
- "private": true,
- "m_files": [ ],
- "modelcard": "string",
- "default_config": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "modified_timestamp": "2019-08-24T14:15:22Z",
- "files_being_downloaded": [ ]
}Endpoint to list all models, with an option to include associated files.
Args: load_files (bool, optional): Hint to the API to include associated files. Defaults to False.
Returns: List[Model]: A list of models, optionally including their files.
| load_files | boolean (Load Files) Default: false |
[- {
- "repo_modelId": "string",
- "modelfamily": "string",
- "purpose": "string",
- "name": "string",
- "version": "string",
- "author": "string",
- "source_repository": "string",
- "sha_repository": "string",
- "hub": "string",
- "description": "string",
- "quantization_details": "string",
- "private": true,
- "m_files": [ ],
- "modelcard": "string",
- "default_config": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "modified_timestamp": "2019-08-24T14:15:22Z",
- "files_being_downloaded": [ ]
}
]Retrieve a specific model file by its ID.
Args: model_file_id (UUID): The unique identifier of the model file.
Returns: ModelFile: The requested model file.
Raises: HTTPException: An error if the model file is not found.
| model_file_id required | string <uuid> (Model File Id) |
{- "name": "string",
- "size": 0,
- "storage_type": "file",
- "storage_host": "string",
- "storage_location": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hub": "string",
- "model_id": "f8ff2fb8-4acc-4e48-bd83-cbdac23e1224",
- "checksum": "string",
- "checksum_type": "string",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "is_downloading": true,
- "download_pid": 0,
- "download_process_start_time": 0,
- "download": true,
- "dl_requested_at": "2019-08-24T14:15:22Z",
- "download_node": "string",
- "download_percentage": 0,
- "download_elapsed": "string",
- "download_remaining": "string",
- "download_throughput": "string",
- "download_cancelled_at": "2019-08-24T14:15:22Z"
}Search for models based on a given search request.
Args: request (ModelSearchRequest): The search criteria for models.
Returns: List[Model]: A list of models that match the search criteria.
| query required | string (Query) |
Array of Hubs To Search (strings) or Hubs To Search (null) (Hubs To Search) | |
Exact (boolean) or Exact (null) (Exact) Default: false | |
Limit (integer) or Limit (null) (Limit) Default: 100 |
{- "query": "string",
- "hubs_to_search": [
- "string"
], - "exact": false,
- "limit": 100
}{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "model": {
- "repo_modelId": "string",
- "modelfamily": "string",
- "purpose": "string",
- "name": "string",
- "version": "string",
- "author": "string",
- "source_repository": "string",
- "sha_repository": "string",
- "hub": "string",
- "description": "string",
- "quantization_details": "string",
- "private": true,
- "m_files": [ ],
- "modelcard": "string",
- "default_config": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "modified_timestamp": "2019-08-24T14:15:22Z",
- "files_being_downloaded": [ ]
}
}
], - "total_results": 0
}List all model files.
Returns: List[ModelFile]: A list of all model files.
[- {
- "name": "string",
- "size": 0,
- "storage_type": "file",
- "storage_host": "string",
- "storage_location": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hub": "string",
- "model_id": "f8ff2fb8-4acc-4e48-bd83-cbdac23e1224",
- "checksum": "string",
- "checksum_type": "string",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "is_downloading": true,
- "download_pid": 0,
- "download_process_start_time": 0,
- "download": true,
- "dl_requested_at": "2019-08-24T14:15:22Z",
- "download_node": "string",
- "download_percentage": 0,
- "download_elapsed": "string",
- "download_remaining": "string",
- "download_throughput": "string",
- "download_cancelled_at": "2019-08-24T14:15:22Z"
}
]Create a new model file.
Args: model_file (CreateModelFile): The model file data to create.
Returns: ModelFile: The created model file.
Raises: HTTPException: An error if there is insufficient disk space to create the model file.
| name required | string (Name) The name of the model file |
Size (integer) or Size (null) (Size) The size of the model file in bytes | |
StorageType (string) or null The type of storage where the file is located (file or s3) | |
| storage_host | string (Storage Host) Default: "localhost" Host where the file is stored |
Storage Location (string) or Storage Location (null) (Storage Location) The location path or key where the file is stored |
{- "name": "string",
- "size": 0,
- "storage_type": "file",
- "storage_host": "localhost",
- "storage_location": "string"
}{- "name": "string",
- "size": 0,
- "storage_type": "file",
- "storage_host": "string",
- "storage_location": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hub": "string",
- "model_id": "f8ff2fb8-4acc-4e48-bd83-cbdac23e1224",
- "checksum": "string",
- "checksum_type": "string",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "is_downloading": true,
- "download_pid": 0,
- "download_process_start_time": 0,
- "download": true,
- "dl_requested_at": "2019-08-24T14:15:22Z",
- "download_node": "string",
- "download_percentage": 0,
- "download_elapsed": "string",
- "download_remaining": "string",
- "download_throughput": "string",
- "download_cancelled_at": "2019-08-24T14:15:22Z"
}Search for model files in a specific hub based on the given search request.
Args: request (HubModelFileSearch): The search criteria for model files, including hub, model_id, and version.
Returns: List[ModelFile]: A list of model files that match the search criteria.
| hub required | string (Hub) |
| model required | string (Model) |
Version (string) or Version (null) (Version) |
{- "hub": "string",
- "model": "string",
- "version": "string"
}[- {
- "name": "string",
- "size": 0,
- "storage_type": "file",
- "storage_host": "string",
- "storage_location": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hub": "string",
- "model_id": "f8ff2fb8-4acc-4e48-bd83-cbdac23e1224",
- "checksum": "string",
- "checksum_type": "string",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "is_downloading": true,
- "download_pid": 0,
- "download_process_start_time": 0,
- "download": true,
- "dl_requested_at": "2019-08-24T14:15:22Z",
- "download_node": "string",
- "download_percentage": 0,
- "download_elapsed": "string",
- "download_remaining": "string",
- "download_throughput": "string",
- "download_cancelled_at": "2019-08-24T14:15:22Z"
}
]Download specified files associated with a model
Args: request (ModelDownloadRequest): A payload specifying model_id, version, hub, and files_to_download
Returns: dict: A dictionary containing the download status of the model files. The dictionary has the following keys: - 'result': A boolean indicating whether the download was successfully initiated or not. - 'message': A string containing a message about the download status. - 'files': A list of modelfile ids being downloaded
| model required | string (Model) |
Version (string) or Version (null) (Version) | |
Hub (string) or Hub (null) (Hub) | |
Array of Files To Download (strings) or Files To Download (null) (Files To Download) | |
Deploy After Download (boolean) or Deploy After Download (null) (Deploy After Download) Default: true | |
Novice Selected Context (integer) or Novice Selected Context (null) (Novice Selected Context) |
{- "model": "string",
- "version": "string",
- "hub": "string",
- "files_to_download": [
- "string"
], - "deploy_after_download": true,
- "novice_selected_context": 0
}{ }Create a new model configuration.
| m_id required | string <uuid> (M Id) Foreign key to the associated model |
M File Id (string) or M File Id (null) (M File Id) Foreign key to the associated model file | |
Name (string) or Name (null) (Name) Name of the model configuration | |
| default required | boolean (Default) Whether this is the default model configuration for the model |
Description (string) or Description (null) (Description) Description of the model configuration and purpose | |
object (Config) Key-value pairs for model configuration parameters | |
object (System Config) Key-value pairs for system configuration parameters |
{- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "name": "string",
- "default": true,
- "description": "string",
- "config": { },
- "system_config": { }
}{- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "name": "string",
- "default": true,
- "description": "string",
- "config": { },
- "system_config": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kamiwaza_version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z"
}List all model configurations associated with a given model ID.
| model_id required | string <uuid> (Model Id) |
[- {
- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "name": "string",
- "default": true,
- "description": "string",
- "config": { },
- "system_config": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kamiwaza_version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z"
}
]Get a list of model configurations for a given model ID.
| model_id required | string <uuid> (Model Id) |
| default | boolean (Default) Default: false |
[- {
- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "name": "string",
- "default": true,
- "description": "string",
- "config": { },
- "system_config": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kamiwaza_version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z"
}
]Get a model configuration by its ID.
| model_config_id required | string <uuid> (Model Config Id) |
{- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "name": "string",
- "default": true,
- "description": "string",
- "config": { },
- "system_config": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kamiwaza_version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z"
}Update a model configuration by its ID.
| model_config_id required | string <uuid> (Model Config Id) |
| m_id required | string <uuid> (M Id) Foreign key to the associated model |
M File Id (string) or M File Id (null) (M File Id) Foreign key to the associated model file | |
Name (string) or Name (null) (Name) Name of the model configuration | |
| default required | boolean (Default) Whether this is the default model configuration for the model |
Description (string) or Description (null) (Description) Description of the model configuration and purpose | |
object (Config) Key-value pairs for model configuration parameters | |
object (System Config) Key-value pairs for system configuration parameters |
{- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "name": "string",
- "default": true,
- "description": "string",
- "config": { },
- "system_config": { }
}{- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "name": "string",
- "default": true,
- "description": "string",
- "config": { },
- "system_config": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kamiwaza_version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z"
}Cancel all currently downloading model files, optionally filtered by model
Args: model_id: Optional model ID to filter downloads. If provided, only cancels downloads for that model
Returns: BulkDownloadCancelResponse: Status of the bulk cancellation operation
Model Id (string) or Model Id (null) (Model Id) Optional model ID to filter cancellation to a specific model |
{- "result": true,
- "message": "string",
- "total_downloads": 0,
- "cancelled_count": 0,
- "failed_count": 0,
- "cancelled_files": [ ],
- "failed_files": [ ],
- "cancelled_at": "2019-08-24T14:15:22Z"
}Download model files and set deployment flag for automatic deployment after completion.
Args: request (ModelDownloadRequest): A payload specifying model_id, version, hub, and files_to_download
Returns: dict: Download status with deployment flag set
| model required | string (Model) |
Version (string) or Version (null) (Version) | |
Hub (string) or Hub (null) (Hub) | |
Array of Files To Download (strings) or Files To Download (null) (Files To Download) | |
Deploy After Download (boolean) or Deploy After Download (null) (Deploy After Download) Default: true | |
Novice Selected Context (integer) or Novice Selected Context (null) (Novice Selected Context) |
{- "model": "string",
- "version": "string",
- "hub": "string",
- "files_to_download": [
- "string"
], - "deploy_after_download": true,
- "novice_selected_context": 0
}{ }Check if model downloads are complete and deploy if ready.
Args: model_key (Union[UUID, str]): The ID or repo_modelId of the model to check and deploy request (Optional[dict]): Optional request body with novice_selected_context and files_to_deploy
Returns: dict: Deployment status
required | Model Key (string) or Model Key (string) (Model Key) |
| property name* additional property | any |
null{ }Get all model guide entries.
Returns: List[ModelGuide]: List of all model guide entries.
[- {
- "base_model_id": "string",
- "name": "string",
- "producer": "string",
- "context_length": "string",
- "use_case": "string",
- "size_category": "string",
- "quality_overall": "string",
- "score_average": 100,
- "score_reasoning": 100,
- "score_coding": 100,
- "score_agentic_coding": 100,
- "score_math": 100,
- "score_data_analysis": 100,
- "score_language": 100,
- "score_instruction_following": 100,
- "score_roleplaying": 100,
- "variants": [
- {
- "platform": "string",
- "variant_repo": "string",
- "variant_type": "string",
- "recommended_file": "string",
- "minimum_vram": 0,
- "recommended_vram": 0,
- "speed_rating": "medium",
- "quality_penalty": 0,
- "notes": "string",
- "kv_ram": 0,
- "novice_config": { }
}
], - "kamiwaza_notes": "string",
- "description": "string",
- "guide_version": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "modified_timestamp": "2019-08-24T14:15:22Z"
}
]Import model guide data from the default JSON file. This endpoint will load guide/default/models.json and import all entries.
Args: replace: If True, delete all existing guides before importing. Default is False.
Returns: dict: A message indicating the import status.
| replace | boolean (Replace) Default: false |
{ }Base Host (string) or Base Host (null) (Base Host) | |
Service Prefixes (object) or Service Prefixes (null) (Service Prefixes) | |
Enabled Services (object) or Enabled Services (null) (Enabled Services) |
{- "base_host": "cluster.local",
- "service_prefixes": {
- "property1": "string",
- "property2": "string"
}, - "enabled_services": {
- "property1": true,
- "property2": true
}
}{- "mode": "path",
- "base_host": "cluster.local",
- "service_prefixes": {
- "property1": "string",
- "property2": "string"
}, - "enabled_services": {
- "property1": true,
- "property2": true
}, - "updated_at": "string"
}Base Host (string) or Base Host (null) (Base Host) | |
Service Prefixes (object) or Service Prefixes (null) (Service Prefixes) | |
Enabled Services (object) or Enabled Services (null) (Enabled Services) |
{- "base_host": "cluster.local",
- "service_prefixes": {
- "property1": "string",
- "property2": "string"
}, - "enabled_services": {
- "property1": true,
- "property2": true
}
}{- "mode": "path",
- "base_host": "cluster.local",
- "service_prefixes": {
- "property1": "string",
- "property2": "string"
}, - "enabled_services": {
- "property1": true,
- "property2": true
}, - "updated_at": "string"
}Start Ray with the given parameters. If Ray is already running, a RayServiceException is raised.
Address (string) or Address (null) (Address) |
Runtime Env (object) or Runtime Env (null) (Runtime Env) | |
Options (object) or Options (null) (Options) |
{- "runtime_env": { },
- "options": { }
}nullEstimate the VRAM required for a model deployment. If Ray is initialized, runs estimation on the node with the model files. Otherwise falls back to local estimation.
Leverages globalizer to distribute to the correct node.
Args: deployment_request (CreateModelDeployment): The deployment request containing model configuration.
Returns: Dict[str, float]: A dictionary containing the computed VRAM estimate and the highest node VRAM.
Raises: HTTPException: If the model is not found or estimation fails.
| m_id required | string <uuid> (M Id) The UUID of the model to deploy |
M File Id (string) or M File Id (null) (M File Id) Which weights file to use for models with >1 set of weights (eg, multi-quant GPTQ models) | |
| m_config_id required | string <uuid> (M Config Id) The UUID of the ModelConfig to use for this deployment |
Engine Name (string) or Engine Name (null) (Engine Name) Name of the engine to use for deployment | |
Duration (integer) or Duration (null) (Duration) Duration in minutes for which the model should be deployed; default indefinite | |
| min_copies | integer (Min Copies) Default: 1 Minimum number of copies to maintain; if set to 0 will dynamically reactivate |
| starting_copies | integer (Starting Copies) Default: 1 Number of copies to start with |
Max Copies (integer) or Max Copies (null) (Max Copies) Maximum number of copies allowed | |
Location (string) or Location (null) (Location) Location where the model is to be deployed | |
| lb_port | integer (Lb Port) Default: 0 Port on which the load balancer is listening |
| autoscaling | boolean (Autoscaling) Default: false Whether autoscaling is enabled |
| force_cpu | boolean (Force Cpu) Default: false Whether to force CPU usage; not required on Ampere systems without accelerators; otherwise expected for cpu deployment |
Node Resource Type (string) or Node Resource Type (null) (Node Resource Type) The specialized gpu node resource; for future use for mixed clusters | |
Max Concurrent Requests (integer) or Max Concurrent Requests (null) (Max Concurrent Requests) Maximum number of concurrent requests allowed | |
Vram Allocation (number) or Vram Allocation (null) (Vram Allocation) Not user-settable (ignored); The VRAM allocation, in bytes of vram for each copy of the deployed model | |
Gpu Allocation (number) or Gpu Allocation (null) (Gpu Allocation) Not user-settable (ignored); The GPU allocation, as a percentage of the the total VRAM available on the highest vram node, for ray serve allocation | |
| active_req_per_replica | integer (Active Req Per Replica) Default: 20 Number of active requests per replica |
M Version (string) or M Version (null) (M Version) Version of the model | |
| engine | string (Engine) Default: "vllm" Engine to use for deployment |
| container | string (Container) Default: "kamiwaza" Container to use for deployment |
{- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "m_config_id": "3332a42e-73e6-4c01-9873-ee2c21c5e45a",
- "engine_name": "string",
- "duration": 0,
- "min_copies": 1,
- "starting_copies": 1,
- "max_copies": 0,
- "location": "string",
- "lb_port": 0,
- "autoscaling": false,
- "force_cpu": false,
- "node_resource_type": "string",
- "max_concurrent_requests": 0,
- "vram_allocation": 0,
- "gpu_allocation": 0,
- "active_req_per_replica": 20,
- "m_version": "string",
- "engine": "vllm",
- "container": "kamiwaza"
}{ }Asynchronously deploy a model based on the provided deployment request.
Args: create_model_request (CreateModelDeployment): The deployment request containing model configuration.
Returns: Union[UUID, bool]: The UUID of the deployed model or False if deployment failed.
| m_id required | string <uuid> (M Id) The UUID of the model to deploy |
M File Id (string) or M File Id (null) (M File Id) Which weights file to use for models with >1 set of weights (eg, multi-quant GPTQ models) | |
| m_config_id required | string <uuid> (M Config Id) The UUID of the ModelConfig to use for this deployment |
Engine Name (string) or Engine Name (null) (Engine Name) Name of the engine to use for deployment | |
Duration (integer) or Duration (null) (Duration) Duration in minutes for which the model should be deployed; default indefinite | |
| min_copies | integer (Min Copies) Default: 1 Minimum number of copies to maintain; if set to 0 will dynamically reactivate |
| starting_copies | integer (Starting Copies) Default: 1 Number of copies to start with |
Max Copies (integer) or Max Copies (null) (Max Copies) Maximum number of copies allowed | |
Location (string) or Location (null) (Location) Location where the model is to be deployed | |
| lb_port | integer (Lb Port) Default: 0 Port on which the load balancer is listening |
| autoscaling | boolean (Autoscaling) Default: false Whether autoscaling is enabled |
| force_cpu | boolean (Force Cpu) Default: false Whether to force CPU usage; not required on Ampere systems without accelerators; otherwise expected for cpu deployment |
Node Resource Type (string) or Node Resource Type (null) (Node Resource Type) The specialized gpu node resource; for future use for mixed clusters | |
Max Concurrent Requests (integer) or Max Concurrent Requests (null) (Max Concurrent Requests) Maximum number of concurrent requests allowed | |
Vram Allocation (number) or Vram Allocation (null) (Vram Allocation) Not user-settable (ignored); The VRAM allocation, in bytes of vram for each copy of the deployed model | |
Gpu Allocation (number) or Gpu Allocation (null) (Gpu Allocation) Not user-settable (ignored); The GPU allocation, as a percentage of the the total VRAM available on the highest vram node, for ray serve allocation | |
| active_req_per_replica | integer (Active Req Per Replica) Default: 20 Number of active requests per replica |
M Version (string) or M Version (null) (M Version) Version of the model | |
| engine | string (Engine) Default: "vllm" Engine to use for deployment |
| container | string (Container) Default: "kamiwaza" Container to use for deployment |
{- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "m_config_id": "3332a42e-73e6-4c01-9873-ee2c21c5e45a",
- "engine_name": "string",
- "duration": 0,
- "min_copies": 1,
- "starting_copies": 1,
- "max_copies": 0,
- "location": "string",
- "lb_port": 0,
- "autoscaling": false,
- "force_cpu": false,
- "node_resource_type": "string",
- "max_concurrent_requests": 0,
- "vram_allocation": 0,
- "gpu_allocation": 0,
- "active_req_per_replica": 20,
- "m_version": "string",
- "engine": "vllm",
- "container": "kamiwaza"
}trueList all model deployments or filter by model_id if provided.
Performs an opportunistic health check to ensure deployment statuses are up-to-date before returning the list, so users see current status without waiting for the background scheduler.
Args: model_id (Optional[UUID]): The ID of the model to filter deployments by.
Returns: List[UIModelDeployment]: A list of model deployments with current status.
Model Id (string) or Model Id (null) (Model Id) |
[- {
- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "m_config_id": "3332a42e-73e6-4c01-9873-ee2c21c5e45a",
- "engine_name": "string",
- "duration": 0,
- "min_copies": 1,
- "starting_copies": 1,
- "max_copies": 0,
- "location": "string",
- "lb_port": 0,
- "autoscaling": false,
- "force_cpu": false,
- "node_resource_type": "string",
- "max_concurrent_requests": 0,
- "vram_allocation": 0,
- "gpu_allocation": 0,
- "active_req_per_replica": 20,
- "m_version": "string",
- "engine": "vllm",
- "container": "kamiwaza",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "serve_path": "string",
- "access_path_prefix": "string",
- "access_path": "string",
- "single_node_mode": false,
- "status": "UNINITIALIZED",
- "last_error_code": "string",
- "last_error_message": "string",
- "last_error_at": "2019-08-24T14:15:22Z",
- "health_details": { },
- "instances": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "deployed_at": "2019-08-24T14:15:22Z",
- "container_id": "string",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "host_name": "string",
- "files_synced": true,
- "listen_port": 0,
- "status": "UNINITIALIZED",
- "extra_details": { }
}
], - "created_at": "2019-08-24T14:15:22Z",
- "gpu_memory_utilization": 0,
- "tensor_parallel_size": 0,
- "m_name": "string",
- "m_config_name": "string",
- "host_ip": "string"
}
]Get the details of a specific model deployment.
Args: deployment_id (UUID): The ID of the deployment.
Returns: UIModelDeployment: The details of the specified deployment.
| deployment_id required | string <uuid> (Deployment Id) |
{- "m_id": "9fa8614b-5eb2-4338-b373-8a5898e84e27",
- "m_file_id": "4ac4c186-075b-4681-9464-7d9e843ec833",
- "m_config_id": "3332a42e-73e6-4c01-9873-ee2c21c5e45a",
- "engine_name": "string",
- "duration": 0,
- "min_copies": 1,
- "starting_copies": 1,
- "max_copies": 0,
- "location": "string",
- "lb_port": 0,
- "autoscaling": false,
- "force_cpu": false,
- "node_resource_type": "string",
- "max_concurrent_requests": 0,
- "vram_allocation": 0,
- "gpu_allocation": 0,
- "active_req_per_replica": 20,
- "m_version": "string",
- "engine": "vllm",
- "container": "kamiwaza",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "serve_path": "string",
- "access_path_prefix": "string",
- "access_path": "string",
- "single_node_mode": false,
- "status": "UNINITIALIZED",
- "last_error_code": "string",
- "last_error_message": "string",
- "last_error_at": "2019-08-24T14:15:22Z",
- "health_details": { },
- "instances": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "deployed_at": "2019-08-24T14:15:22Z",
- "container_id": "string",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "host_name": "string",
- "files_synced": true,
- "listen_port": 0,
- "status": "UNINITIALIZED",
- "extra_details": { }
}
], - "created_at": "2019-08-24T14:15:22Z",
- "gpu_memory_utilization": 0,
- "tensor_parallel_size": 0,
- "m_name": "string",
- "m_config_name": "string",
- "host_ip": "string"
}Stop a model deployment.
Args: deployment_id (UUID): The ID of the deployment to stop. force (Optional[bool]): Whether to force stop the deployment. Defaults to False.
Returns: bool: True if the deployment was successfully stopped, otherwise raises an HTTPException.
| deployment_id required | string <uuid> (Deployment Id) |
| force | boolean (Force) Default: false |
trueGet the status of a specific model deployment.
Args: deployment_id (UUID): The ID of the deployment.
Returns: ModelDeployment: The status of the specified deployment.
| deployment_id required | string <uuid> (Deployment Id) |
"string"List all model instances, optionally filtered by deployment ID.
Args: deployment_id (Optional[UUID]): The ID of the deployment to filter instances by. Defaults to None.
Returns: List[ModelInstance]: A list of all model instances currently active, optionally filtered by deployment ID.
Deployment Id (string) or Deployment Id (null) (Deployment Id) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "deployed_at": "2019-08-24T14:15:22Z",
- "container_id": "string",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "host_name": "string",
- "files_synced": true,
- "listen_port": 0,
- "status": "UNINITIALIZED",
- "extra_details": { }
}
]Retrieve a specific model instance by its ID.
Args: instance_id (UUID): The ID of the model instance to retrieve.
Returns: ModelInstance: The model instance if found, otherwise raises a 404 HTTPException.
| instance_id required | string <uuid> (Instance Id) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "deployed_at": "2019-08-24T14:15:22Z",
- "container_id": "string",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "host_name": "string",
- "files_synced": true,
- "listen_port": 0,
- "status": "UNINITIALIZED",
- "extra_details": { }
}Get container logs for a specific deployment. Returns captured logs from the inference container with metadata.
| deployment_id required | string <uuid> (Deployment Id) |
{- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "engine_type": "string",
- "container_id": "string",
- "log_file_path": "string",
- "logs": [
- "string"
], - "total_lines_seen": 0,
- "current_lines_stored": 0,
- "compressed": true,
- "capture_active": true
}Analyze container logs for failure patterns (OOM, CUDA errors, etc.).
This endpoint returns pattern analysis for informational purposes only. It does NOT update deployment status - that should only be done based on actual container/service state, not log analysis.
| deployment_id required | string <uuid> (Deployment Id) |
{- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "patterns_detected": {
- "property1": true,
- "property2": true
}, - "failure_lines": [
- {
- "property1": "string",
- "property2": "string"
}
], - "analysis_timestamp": "2019-08-24T14:15:22Z"
}| name required | string (Name) The name of the vectordb instance to register |
| engine required | string (Engine) The engine of the vectordb instance, eg Milvus |
| description required | string (Description) The description of the vectordb instance |
| host required | string (Host) The host of the vectordb instance |
| port required | integer (Port) The port of the vectordb instance |
{- "name": "string",
- "engine": "string",
- "description": "string",
- "host": "string",
- "port": 0
}nullRetrieve all VectorDB instances, optionally filtered by engine.
:param engine: Optional engine type to filter the VectorDB instances. :return: List of VectorDB instances.
| engine | string (Engine) |
[- {
- "name": "string",
- "engine": "string",
- "description": "string",
- "host": "string",
- "port": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z"
}
]Get a specific VectorDB instance.
| vectordb_id required | string (Vectordb Id) |
{- "name": "string",
- "engine": "string",
- "description": "string",
- "host": "string",
- "port": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z"
}| collection_name required | string (Collection Name) |
| vectors required | Array of numbers (Vectors) [ items ] |
required | Array of objects (Metadata) |
| dimensions required | integer (Dimensions) |
Array of Field List (items) or Field List (null) (Field List) |
{- "collection_name": "string",
- "vectors": [
- [
- 0
]
], - "metadata": [
- { }
], - "dimensions": 0,
- "field_list": [
- [
- "string",
- "string"
]
]
}null| collection_name required | string (Collection Name) |
| query_vectors required | Array of numbers (Query Vectors) [ items ] |
| anns_field | string (Anns Field) Default: "embedding" |
Search Params (object) or Search Params (null) (Search Params) | |
| limit | integer (Limit) Default: 100 |
Array of Output Fields (strings) or Output Fields (null) (Output Fields) |
{- "collection_name": "string",
- "query_vectors": [
- [
- 0
]
], - "anns_field": "embedding",
- "search_params": { },
- "limit": 100,
- "output_fields": [
- "string"
]
}[- {
- "id": null,
- "score": 0,
- "metadata": { }
}
]Create a new dataset.
| name required | string (Name) |
| platform required | string (Platform) |
| environment | string (Environment) Default: "PROD" |
Description (string) or Description (null) (Description) | |
| tags | Array of strings (Tags) Default: [] |
object (Properties) Default: {} | |
Schema (object) or null | |
Container Urn (string) or Container Urn (null) (Container Urn) |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string"
}"string"Create a new dataset.
| name required | string (Name) |
| platform required | string (Platform) |
| environment | string (Environment) Default: "PROD" |
Description (string) or Description (null) (Description) | |
| tags | Array of strings (Tags) Default: [] |
object (Properties) Default: {} | |
Schema (object) or null | |
Container Urn (string) or Container Urn (null) (Container Urn) |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string"
}"string"List datasets, optionally filtering by query or other properties.
Query (string) or Query (null) (Query) Search query string |
[- {
- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]List datasets, optionally filtering by query or other properties.
Query (string) or Query (null) (Query) Search query string |
[- {
- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Get dataset by URN using query parameter.
RECOMMENDED for complex URNs with forward slashes. Example: GET /catalog/datasets/by-urn?urn=urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| urn required | string (Urn) Dataset URN |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get dataset by URN using query parameter.
RECOMMENDED for complex URNs with forward slashes. Example: GET /catalog/datasets/by-urn?urn=urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| urn required | string (Urn) Dataset URN |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update dataset by URN using query parameter.
| urn required | string (Urn) Dataset URN |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Container Urn (string) or Container Urn (null) (Container Urn) | |
Updated At (string) or Updated At (null) (Updated At) |
{- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "container_urn": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update dataset by URN using query parameter.
| urn required | string (Urn) Dataset URN |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Container Urn (string) or Container Urn (null) (Container Urn) | |
Updated At (string) or Updated At (null) (Updated At) |
{- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "container_urn": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get schema by URN using query parameter.
RECOMMENDED for complex URNs with forward slashes. Example: GET /catalog/datasets/by-urn/schema?urn=urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| urn required | string (Urn) Dataset URN |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}Get schema by URN using query parameter.
RECOMMENDED for complex URNs with forward slashes. Example: GET /catalog/datasets/by-urn/schema?urn=urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| urn required | string (Urn) Dataset URN |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}Update schema by URN using query parameter.
| urn required | string (Urn) Dataset URN |
| name required | string (Name) |
| platform required | string (Platform) |
Version (integer) or Version (null) (Version) | |
required | Array of objects (Fields) |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}nullUpdate schema by URN using query parameter.
| urn required | string (Urn) Dataset URN |
| name required | string (Name) |
| platform required | string (Platform) |
Version (integer) or Version (null) (Version) | |
required | Array of objects (Fields) |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}nullGet dataset by URN in path (BACKWARD COMPATIBLE).
NOTE: URNs with forward slashes should use /by-urn endpoint instead. For path usage, ensure proper URL encoding:
Example: GET /catalog/datasets/urn%3Ali%3Adataset%3A(urn%3Ali%3AdataPlatform%3Afile%2Csimple-name%2CPROD)
| dataset_urn required | string (Dataset Urn) |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get dataset by URN in path (BACKWARD COMPATIBLE).
NOTE: URNs with forward slashes should use /by-urn endpoint instead. For path usage, ensure proper URL encoding:
Example: GET /catalog/datasets/urn%3Ali%3Adataset%3A(urn%3Ali%3AdataPlatform%3Afile%2Csimple-name%2CPROD)
| dataset_urn required | string (Dataset Urn) |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update dataset by URN in path (BACKWARD COMPATIBLE).
| dataset_urn required | string (Dataset Urn) |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Container Urn (string) or Container Urn (null) (Container Urn) | |
Updated At (string) or Updated At (null) (Updated At) |
{- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "container_urn": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update dataset by URN in path (BACKWARD COMPATIBLE).
| dataset_urn required | string (Dataset Urn) |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Container Urn (string) or Container Urn (null) (Container Urn) | |
Updated At (string) or Updated At (null) (Updated At) |
{- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "container_urn": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get dataset by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes using custom regex matching. Supports all URN complexities while maintaining clean RESTful URLs.
Example: GET /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| dataset_urn required | string (Dataset Urn) |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get dataset by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes using custom regex matching. Supports all URN complexities while maintaining clean RESTful URLs.
Example: GET /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| dataset_urn required | string (Dataset Urn) |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update dataset by URN using regex-based path converter (V2 - RECOMMENDED).
Example: PATCH /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| dataset_urn required | string (Dataset Urn) |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Container Urn (string) or Container Urn (null) (Container Urn) | |
Updated At (string) or Updated At (null) (Updated At) |
{- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "container_urn": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update dataset by URN using regex-based path converter (V2 - RECOMMENDED).
Example: PATCH /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| dataset_urn required | string (Dataset Urn) |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Container Urn (string) or Container Urn (null) (Container Urn) | |
Updated At (string) or Updated At (null) (Updated At) |
{- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "container_urn": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete dataset by URN using regex-based path converter (V2 - RECOMMENDED).
Example: DELETE /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| dataset_urn required | string (Dataset Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Delete dataset by URN using regex-based path converter (V2 - RECOMMENDED).
Example: DELETE /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| dataset_urn required | string (Dataset Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get schema by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes including sub-resources.
Example: GET /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)/schema
| dataset_urn required | string (Dataset Urn) |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}Get schema by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes including sub-resources.
Example: GET /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)/schema
| dataset_urn required | string (Dataset Urn) |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}Update schema by URN using regex-based path converter (V2 - RECOMMENDED).
Example: PUT /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)/schema
| dataset_urn required | string (Dataset Urn) |
| name required | string (Name) |
| platform required | string (Platform) |
Version (integer) or Version (null) (Version) | |
required | Array of objects (Fields) |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}nullUpdate schema by URN using regex-based path converter (V2 - RECOMMENDED).
Example: PUT /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)/schema
| dataset_urn required | string (Dataset Urn) |
| name required | string (Name) |
| platform required | string (Platform) |
Version (integer) or Version (null) (Version) | |
required | Array of objects (Fields) |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}nullGet container by URN using query parameter.
| urn required | string (Urn) Container URN |
Datasets Cursor (string) or Datasets Cursor (null) (Datasets Cursor) Cursor for container datasets | |
Datasets Page Size (integer) or Datasets Page Size (null) (Datasets Page Size) Max datasets to return for this container |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get container by URN using query parameter.
| urn required | string (Urn) Container URN |
Datasets Cursor (string) or Datasets Cursor (null) (Datasets Cursor) Cursor for container datasets | |
Datasets Page Size (integer) or Datasets Page Size (null) (Datasets Page Size) Max datasets to return for this container |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update container by URN using query parameter.
| urn required | string (Urn) Container URN |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "parent_urn": "string"
}{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update container by URN using query parameter.
| urn required | string (Urn) Container URN |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "parent_urn": "string"
}{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Add a dataset to a container by URN using query parameters.
| container_urn required | string (Container Urn) Container URN |
| dataset_urn required | string (Dataset Urn) |
{- "dataset_urn": "string"
}nullAdd a dataset to a container by URN using query parameters.
| container_urn required | string (Container Urn) Container URN |
| dataset_urn required | string (Dataset Urn) |
{- "dataset_urn": "string"
}nullAdd a dataset to a container.
| container_urn required | string (Container Urn) |
| dataset_urn required | string (Dataset Urn) |
{- "dataset_urn": "string"
}nullAdd a dataset to a container.
| container_urn required | string (Container Urn) |
| dataset_urn required | string (Dataset Urn) |
{- "dataset_urn": "string"
}nullCreate a new container.
| name required | string (Name) |
Platform (string) or Platform (null) (Platform) | |
Description (string) or Description (null) (Description) | |
| tags | Array of strings (Tags) Default: [] |
object (Properties) Default: {} | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string"
}"string"Create a new container.
| name required | string (Name) |
Platform (string) or Platform (null) (Platform) | |
Description (string) or Description (null) (Description) | |
| tags | Array of strings (Tags) Default: [] |
object (Properties) Default: {} | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string"
}"string"List containers, optionally filtering by query.
Query (string) or Query (null) (Query) Search query string |
[- {
- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]List containers, optionally filtering by query.
Query (string) or Query (null) (Query) Search query string |
[- {
- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Get container by URN. Use :path converter for URNs with slashes.
| container_urn required | string (Container Urn) |
Datasets Cursor (string) or Datasets Cursor (null) (Datasets Cursor) Cursor for container datasets | |
Datasets Page Size (integer) or Datasets Page Size (null) (Datasets Page Size) Max datasets to return for this container |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get container by URN. Use :path converter for URNs with slashes.
| container_urn required | string (Container Urn) |
Datasets Cursor (string) or Datasets Cursor (null) (Datasets Cursor) Cursor for container datasets | |
Datasets Page Size (integer) or Datasets Page Size (null) (Datasets Page Size) Max datasets to return for this container |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update an existing container.
| container_urn required | string (Container Urn) |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "parent_urn": "string"
}{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update an existing container.
| container_urn required | string (Container Urn) |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "parent_urn": "string"
}{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get container by URN using regex-based path converter (V2 - RECOMMENDED).
Example: GET /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket/path,PROD)
| container_urn required | string (Container Urn) |
Datasets Cursor (string) or Datasets Cursor (null) (Datasets Cursor) Cursor for container datasets | |
Datasets Page Size (integer) or Datasets Page Size (null) (Datasets Page Size) Max datasets to return for this container |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get container by URN using regex-based path converter (V2 - RECOMMENDED).
Example: GET /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket/path,PROD)
| container_urn required | string (Container Urn) |
Datasets Cursor (string) or Datasets Cursor (null) (Datasets Cursor) Cursor for container datasets | |
Datasets Page Size (integer) or Datasets Page Size (null) (Datasets Page Size) Max datasets to return for this container |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update container by URN using regex-based path converter (V2 - RECOMMENDED).
Example: PATCH /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket/path,PROD)
| container_urn required | string (Container Urn) |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "parent_urn": "string"
}{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update container by URN using regex-based path converter (V2 - RECOMMENDED).
Example: PATCH /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket/path,PROD)
| container_urn required | string (Container Urn) |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "parent_urn": "string"
}{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete container by URN using regex-based path converter (V2 - RECOMMENDED).
Example: DELETE /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket/path,PROD)
| container_urn required | string (Container Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Delete container by URN using regex-based path converter (V2 - RECOMMENDED).
Example: DELETE /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket/path,PROD)
| container_urn required | string (Container Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Add a dataset to a container using regex-based path converter (V2 - RECOMMENDED).
Example: POST /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket,PROD)/datasets
| container_urn required | string (Container Urn) |
| dataset_urn required | string (Dataset Urn) |
{- "dataset_urn": "string"
}nullAdd a dataset to a container using regex-based path converter (V2 - RECOMMENDED).
Example: POST /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket,PROD)/datasets
| container_urn required | string (Container Urn) |
| dataset_urn required | string (Dataset Urn) |
{- "dataset_urn": "string"
}nullRemove a dataset from a container using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles both container and dataset URNs with forward slashes.
Example: DELETE /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket,PROD)/datasets/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| container_urn required | string (Container Urn) |
| dataset_urn required | string (Dataset Urn) |
nullRemove a dataset from a container using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles both container and dataset URNs with forward slashes.
Example: DELETE /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket,PROD)/datasets/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| container_urn required | string (Container Urn) |
| dataset_urn required | string (Dataset Urn) |
nullCreate a new secret. Owner defaults if not provided.
| clobber | boolean (Clobber) Default: false Overwrite existing secret with the same name |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
| name required | string (Name) Unique name for the secret |
| value required | string <password> (Value) The secret value |
| owner required | string (Owner) URN of the owner (e.g., corpuser) |
Description (string) or Description (null) (Description) Optional description |
{- "name": "string",
- "value": "pa$$word",
- "owner": "string",
- "description": "string"
}"string"Create a new secret. Owner defaults if not provided.
| clobber | boolean (Clobber) Default: false Overwrite existing secret with the same name |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
| name required | string (Name) Unique name for the secret |
| value required | string <password> (Value) The secret value |
| owner required | string (Owner) URN of the owner (e.g., corpuser) |
Description (string) or Description (null) (Description) Optional description |
{- "name": "string",
- "value": "pa$$word",
- "owner": "string",
- "description": "string"
}"string"List secrets the requester has permission to see.
Query (string) or Query (null) (Query) Search query string |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
[- {
- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]List secrets the requester has permission to see.
Query (string) or Query (null) (Query) Search query string |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
[- {
- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Get secret metadata by URN using query parameter (requires permission).
| urn required | string (Urn) Secret URN |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get secret metadata by URN using query parameter (requires permission).
| urn required | string (Urn) Secret URN |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete a secret by URN using query parameter (requires permission).
| urn required | string (Urn) Secret URN |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Delete a secret by URN using query parameter (requires permission).
| urn required | string (Urn) Secret URN |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get secret metadata by URN (requires permission).
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get secret metadata by URN (requires permission).
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete a secret by URN (requires permission).
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Delete a secret by URN (requires permission).
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get secret metadata by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes.
Example: GET /catalog/secrets/v2/urn:li:secret:(urn:li:dataPlatform:file,/var/tmp/secret.key,PROD)
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get secret metadata by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes.
Example: GET /catalog/secrets/v2/urn:li:secret:(urn:li:dataPlatform:file,/var/tmp/secret.key,PROD)
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete a secret by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes.
Example: DELETE /catalog/secrets/v2/urn:li:secret:(urn:li:dataPlatform:file,/var/tmp/secret.key,PROD)
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Delete a secret by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes.
Example: DELETE /catalog/secrets/v2/urn:li:secret:(urn:li:dataPlatform:file,/var/tmp/secret.key,PROD)
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Create a new dataset.
| name required | string (Name) |
| platform required | string (Platform) |
| environment | string (Environment) Default: "PROD" |
Description (string) or Description (null) (Description) | |
| tags | Array of strings (Tags) Default: [] |
object (Properties) Default: {} | |
Schema (object) or null | |
Container Urn (string) or Container Urn (null) (Container Urn) |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string"
}"string"List datasets, optionally filtering by query or other properties.
Query (string) or Query (null) (Query) Search query string |
[- {
- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Get dataset by URN using query parameter.
RECOMMENDED for complex URNs with forward slashes. Example: GET /catalog/datasets/by-urn?urn=urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| urn required | string (Urn) Dataset URN |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update dataset by URN using query parameter.
| urn required | string (Urn) Dataset URN |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Container Urn (string) or Container Urn (null) (Container Urn) | |
Updated At (string) or Updated At (null) (Updated At) |
{- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "container_urn": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get schema by URN using query parameter.
RECOMMENDED for complex URNs with forward slashes. Example: GET /catalog/datasets/by-urn/schema?urn=urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| urn required | string (Urn) Dataset URN |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}Update schema by URN using query parameter.
| urn required | string (Urn) Dataset URN |
| name required | string (Name) |
| platform required | string (Platform) |
Version (integer) or Version (null) (Version) | |
required | Array of objects (Fields) |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}nullGet dataset by URN in path (BACKWARD COMPATIBLE).
NOTE: URNs with forward slashes should use /by-urn endpoint instead. For path usage, ensure proper URL encoding:
Example: GET /catalog/datasets/urn%3Ali%3Adataset%3A(urn%3Ali%3AdataPlatform%3Afile%2Csimple-name%2CPROD)
| dataset_urn required | string (Dataset Urn) |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update dataset by URN in path (BACKWARD COMPATIBLE).
| dataset_urn required | string (Dataset Urn) |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Container Urn (string) or Container Urn (null) (Container Urn) | |
Updated At (string) or Updated At (null) (Updated At) |
{- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "container_urn": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get dataset by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes using custom regex matching. Supports all URN complexities while maintaining clean RESTful URLs.
Example: GET /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| dataset_urn required | string (Dataset Urn) |
{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update dataset by URN using regex-based path converter (V2 - RECOMMENDED).
Example: PATCH /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| dataset_urn required | string (Dataset Urn) |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Container Urn (string) or Container Urn (null) (Container Urn) | |
Updated At (string) or Updated At (null) (Updated At) |
{- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "container_urn": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "platform": "string",
- "environment": "PROD",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "dataset_schema": {
- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}, - "container_urn": "string",
- "urn": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete dataset by URN using regex-based path converter (V2 - RECOMMENDED).
Example: DELETE /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| dataset_urn required | string (Dataset Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get schema by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes including sub-resources.
Example: GET /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)/schema
| dataset_urn required | string (Dataset Urn) |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}Update schema by URN using regex-based path converter (V2 - RECOMMENDED).
Example: PUT /catalog/datasets/v2/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)/schema
| dataset_urn required | string (Dataset Urn) |
| name required | string (Name) |
| platform required | string (Platform) |
Version (integer) or Version (null) (Version) | |
required | Array of objects (Fields) |
{- "name": "string",
- "platform": "string",
- "version": 0,
- "fields": [
- {
- "name": "string",
- "type": "string",
- "description": "string"
}
]
}nullGet container by URN using query parameter.
| urn required | string (Urn) Container URN |
Datasets Cursor (string) or Datasets Cursor (null) (Datasets Cursor) Cursor for container datasets | |
Datasets Page Size (integer) or Datasets Page Size (null) (Datasets Page Size) Max datasets to return for this container |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update container by URN using query parameter.
| urn required | string (Urn) Container URN |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "parent_urn": "string"
}{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Add a dataset to a container by URN using query parameters.
| container_urn required | string (Container Urn) Container URN |
| dataset_urn required | string (Dataset Urn) |
{- "dataset_urn": "string"
}nullAdd a dataset to a container.
| container_urn required | string (Container Urn) |
| dataset_urn required | string (Dataset Urn) |
{- "dataset_urn": "string"
}nullCreate a new container.
| name required | string (Name) |
Platform (string) or Platform (null) (Platform) | |
Description (string) or Description (null) (Description) | |
| tags | Array of strings (Tags) Default: [] |
object (Properties) Default: {} | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string"
}"string"List containers, optionally filtering by query.
Query (string) or Query (null) (Query) Search query string |
[- {
- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Get container by URN. Use :path converter for URNs with slashes.
| container_urn required | string (Container Urn) |
Datasets Cursor (string) or Datasets Cursor (null) (Datasets Cursor) Cursor for container datasets | |
Datasets Page Size (integer) or Datasets Page Size (null) (Datasets Page Size) Max datasets to return for this container |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update an existing container.
| container_urn required | string (Container Urn) |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "parent_urn": "string"
}{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get container by URN using regex-based path converter (V2 - RECOMMENDED).
Example: GET /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket/path,PROD)
| container_urn required | string (Container Urn) |
Datasets Cursor (string) or Datasets Cursor (null) (Datasets Cursor) Cursor for container datasets | |
Datasets Page Size (integer) or Datasets Page Size (null) (Datasets Page Size) Max datasets to return for this container |
{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update container by URN using regex-based path converter (V2 - RECOMMENDED).
Example: PATCH /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket/path,PROD)
| container_urn required | string (Container Urn) |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Properties (object) or Properties (null) (Properties) | |
Parent Urn (string) or Parent Urn (null) (Parent Urn) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "properties": { },
- "parent_urn": "string"
}{- "name": "string",
- "platform": "string",
- "description": "string",
- "tags": [ ],
- "properties": { },
- "parent_urn": "string",
- "urn": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete container by URN using regex-based path converter (V2 - RECOMMENDED).
Example: DELETE /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket/path,PROD)
| container_urn required | string (Container Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Add a dataset to a container using regex-based path converter (V2 - RECOMMENDED).
Example: POST /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket,PROD)/datasets
| container_urn required | string (Container Urn) |
| dataset_urn required | string (Dataset Urn) |
{- "dataset_urn": "string"
}nullRemove a dataset from a container using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles both container and dataset URNs with forward slashes.
Example: DELETE /catalog/containers/v2/urn:li:container:(urn:li:dataPlatform:s3,/my/bucket,PROD)/datasets/urn:li:dataset:(urn:li:dataPlatform:file,/var/tmp/docs,PROD)
| container_urn required | string (Container Urn) |
| dataset_urn required | string (Dataset Urn) |
nullCreate a new secret. Owner defaults if not provided.
| clobber | boolean (Clobber) Default: false Overwrite existing secret with the same name |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
| name required | string (Name) Unique name for the secret |
| value required | string <password> (Value) The secret value |
| owner required | string (Owner) URN of the owner (e.g., corpuser) |
Description (string) or Description (null) (Description) Optional description |
{- "name": "string",
- "value": "pa$$word",
- "owner": "string",
- "description": "string"
}"string"List secrets the requester has permission to see.
Query (string) or Query (null) (Query) Search query string |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
[- {
- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Get secret metadata by URN using query parameter (requires permission).
| urn required | string (Urn) Secret URN |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete a secret by URN using query parameter (requires permission).
| urn required | string (Urn) Secret URN |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get secret metadata by URN (requires permission).
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete a secret by URN (requires permission).
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get secret metadata by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes.
Example: GET /catalog/secrets/v2/urn:li:secret:(urn:li:dataPlatform:file,/var/tmp/secret.key,PROD)
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "urn": "string",
- "name": "string",
- "owner": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete a secret by URN using regex-based path converter (V2 - RECOMMENDED).
This endpoint properly handles DataHub URNs with forward slashes.
Example: DELETE /catalog/secrets/v2/urn:li:secret:(urn:li:dataPlatform:file,/var/tmp/secret.key,PROD)
| secret_urn required | string (Secret Urn) |
X-User-Urn (string) or X-User-Urn (null) (X-User-Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Create a new role.
:param role: PromptRoleCreate schema. :return: The created PromptRole model.
| tags | Array of strings (Tags) Default: [] |
| name required | string (Name) |
| content required | string (Content) |
{- "tags": [ ],
- "name": "string",
- "content": "string"
}{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Create a new role.
:param role: PromptRoleCreate schema. :return: The created PromptRole model.
| tags | Array of strings (Tags) Default: [] |
| name required | string (Name) |
| content required | string (Content) |
{- "tags": [ ],
- "name": "string",
- "content": "string"
}{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Retrieve a role by its ID.
:param role_id: Unique identifier of the role. :return: The requested PromptRole model. :raises HTTPException: 404 error if the role is not found.
| role_id required | string <uuid> (Role Id) |
{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Retrieve a role by its ID.
:param role_id: Unique identifier of the role. :return: The requested PromptRole model. :raises HTTPException: 404 error if the role is not found.
| role_id required | string <uuid> (Role Id) |
{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Create a new system.
:param system: PromptSystemCreate schema. :return: The created PromptSystem model.
| tags | Array of strings (Tags) Default: [] |
| name required | string (Name) |
| content required | string (Content) |
{- "tags": [ ],
- "name": "string",
- "content": "string"
}{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "2019-08-24T14:15:22Z"
}Create a new system.
:param system: PromptSystemCreate schema. :return: The created PromptSystem model.
| tags | Array of strings (Tags) Default: [] |
| name required | string (Name) |
| content required | string (Content) |
{- "tags": [ ],
- "name": "string",
- "content": "string"
}{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "2019-08-24T14:15:22Z"
}Retrieve a system by its ID.
:param system_id: Unique identifier of the system. :return: The requested PromptSystem model. :raises HTTPException: 404 error if the system is not found.
| system_id required | string <uuid> (System Id) |
{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "2019-08-24T14:15:22Z"
}Retrieve a system by its ID.
:param system_id: Unique identifier of the system. :return: The requested PromptSystem model. :raises HTTPException: 404 error if the system is not found.
| system_id required | string <uuid> (System Id) |
{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "2019-08-24T14:15:22Z"
}Create a new element.
:param element: PromptElementCreate schema. :return: The created PromptElement model.
| tags | Array of strings (Tags) Default: [] |
| name required | string (Name) |
| content required | string (Content) |
{- "tags": [ ],
- "name": "string",
- "content": "string"
}{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Create a new element.
:param element: PromptElementCreate schema. :return: The created PromptElement model.
| tags | Array of strings (Tags) Default: [] |
| name required | string (Name) |
| content required | string (Content) |
{- "tags": [ ],
- "name": "string",
- "content": "string"
}{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Retrieve an element by its ID.
:param element_id: Unique identifier of the element. :return: The requested PromptElement model. :raises HTTPException: 404 error if the element is not found.
| element_id required | string <uuid> (Element Id) |
{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Retrieve an element by its ID.
:param element_id: Unique identifier of the element. :return: The requested PromptElement model. :raises HTTPException: 404 error if the element is not found.
| element_id required | string <uuid> (Element Id) |
{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Create a new template.
:param template: PromptTemplateCreate schema. :return: The created PromptTemplate model.
| tags | Array of strings (Tags) Default: [] |
| name required | string (Name) |
| content required | string (Content) |
{- "tags": [ ],
- "name": "string",
- "content": "string"
}{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Create a new template.
:param template: PromptTemplateCreate schema. :return: The created PromptTemplate model.
| tags | Array of strings (Tags) Default: [] |
| name required | string (Name) |
| content required | string (Content) |
{- "tags": [ ],
- "name": "string",
- "content": "string"
}{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Retrieve a template by its ID.
:param template_id: Unique identifier of the template. :return: The requested PromptTemplate model. :raises HTTPException: 404 error if the template is not found.
| template_id required | string <uuid> (Template Id) |
{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Retrieve a template by its ID.
:param template_id: Unique identifier of the template. :return: The requested PromptTemplate model. :raises HTTPException: 404 error if the template is not found.
| template_id required | string <uuid> (Template Id) |
{- "tags": [ ],
- "name": "string",
- "content": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": 0,
- "created_at": "string"
}Create embedding using specified model configuration
| text required | string (Text) Text to generate embedding for |
| model required | string (Model) Model name to use |
| provider_type required | string (Provider Type) Provider type (e.g., huggingface_embedding) |
Device (string) or Device (null) (Device) Device to use (cpu, cuda, mps) |
{- "text": "string",
- "model": "string",
- "provider_type": "string",
- "device": "string"
}{- "embedding": [
- 0
], - "offset": 0
}Create embedding using specified model configuration
| text required | string (Text) Text to generate embedding for |
| model required | string (Model) Model name to use |
| provider_type required | string (Provider Type) Provider type (e.g., huggingface_embedding) |
Device (string) or Device (null) (Device) Device to use (cpu, cuda, mps) |
{- "text": "string",
- "model": "string",
- "provider_type": "string",
- "device": "string"
}{- "embedding": [
- 0
], - "offset": 0
}Get embedding using specified model configuration
| text required | string (Text) |
| model required | string (Model) Model name |
| provider_type required | string (Provider Type) Provider type |
Device (string) or Device (null) (Device) Device | |
| return_offset | boolean (Return Offset) Default: false |
{- "embedding": [
- 0
], - "offset": 0
}Get embedding using specified model configuration
| text required | string (Text) |
| model required | string (Model) Model name |
| provider_type required | string (Provider Type) Provider type |
Device (string) or Device (null) (Device) Device | |
| return_offset | boolean (Return Offset) Default: false |
{- "embedding": [
- 0
], - "offset": 0
}Chunk text using specified model configuration
| model required | string (Model) Model name to use |
| provider_type required | string (Provider Type) Provider type (e.g., huggingface_embedding) |
Device (string) or Device (null) (Device) Device to use (cpu, cuda, mps) |
| text required | string (Text) non-empty Text to be chunked |
| max_length | integer (Max Length) [ 50 .. 8192 ] Default: 510 Maximum length of each chunk |
| overlap | integer (Overlap) >= 0 Default: 32 Number of tokens to overlap between chunks |
| preamble_text | string (Preamble Text) <= 10000 characters Default: "" Text to prepend to each chunk |
| return_metadata | boolean (Return Metadata) Default: false Whether to return metadata with chunks |
{- "text": "string",
- "max_length": 510,
- "overlap": 32,
- "preamble_text": "",
- "return_metadata": false
}[ ]Chunk text using specified model configuration
| model required | string (Model) Model name to use |
| provider_type required | string (Provider Type) Provider type (e.g., huggingface_embedding) |
Device (string) or Device (null) (Device) Device to use (cpu, cuda, mps) |
| text required | string (Text) non-empty Text to be chunked |
| max_length | integer (Max Length) [ 50 .. 8192 ] Default: 510 Maximum length of each chunk |
| overlap | integer (Overlap) >= 0 Default: 32 Number of tokens to overlap between chunks |
| preamble_text | string (Preamble Text) <= 10000 characters Default: "" Text to prepend to each chunk |
| return_metadata | boolean (Return Metadata) Default: false Whether to return metadata with chunks |
{- "text": "string",
- "max_length": 510,
- "overlap": 32,
- "preamble_text": "",
- "return_metadata": false
}[ ]Embed chunks using specified model configuration
| model required | string (Model) Model name to use |
| provider_type required | string (Provider Type) Provider type (e.g., huggingface_embedding) |
Device (string) or Device (null) (Device) Device to use (cpu, cuda, mps) | |
| batch_size | integer (Batch Size) Default: 64 Batch size for processing |
[- "string"
][- [
- 0
]
]Embed chunks using specified model configuration
| model required | string (Model) Model name to use |
| provider_type required | string (Provider Type) Provider type (e.g., huggingface_embedding) |
Device (string) or Device (null) (Device) Device to use (cpu, cuda, mps) | |
| batch_size | integer (Batch Size) Default: 64 Batch size for processing |
[- "string"
][- [
- 0
]
]| name required | string (Name) Name of the location |
Datacenter (string) or Datacenter (null) (Datacenter) Datacenter of the location | |
Region (string) or Region (null) (Region) Region of the location | |
Zone (string) or Zone (null) (Zone) Zone of the location | |
Building (string) or Building (null) (Building) Building of the location | |
Address (string) or Address (null) (Address) Address of the location | |
Contact Phone (string) or Contact Phone (null) (Contact Phone) Contact phone for the location | |
Contact Name (string) or Contact Name (null) (Contact Name) Contact name for the location | |
Contact Email (string) or Contact Email (null) (Contact Email) Contact email for the location | |
Placement Group Id (string) or Placement Group Id (null) (Placement Group Id) Ray placement group ID |
{- "name": "string",
- "datacenter": "string",
- "region": "string",
- "zone": "string",
- "building": "string",
- "address": "string",
- "contact_phone": "string",
- "contact_name": "string",
- "contact_email": "user@example.com",
- "placement_group_id": "string"
}{- "name": "string",
- "datacenter": "string",
- "region": "string",
- "zone": "string",
- "building": "string",
- "address": "string",
- "contact_phone": "string",
- "contact_name": "string",
- "contact_email": "user@example.com",
- "placement_group_id": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z"
}Update an existing location by its ID.
Args: location_id (UUID): The unique identifier of the location to update. location (CreateLocation): The new data for the location.
Returns: Location: The updated location object.
| location_id required | string <uuid> (Location Id) |
| name required | string (Name) Name of the location |
Datacenter (string) or Datacenter (null) (Datacenter) Datacenter of the location | |
Region (string) or Region (null) (Region) Region of the location | |
Zone (string) or Zone (null) (Zone) Zone of the location | |
Building (string) or Building (null) (Building) Building of the location | |
Address (string) or Address (null) (Address) Address of the location | |
Contact Phone (string) or Contact Phone (null) (Contact Phone) Contact phone for the location | |
Contact Name (string) or Contact Name (null) (Contact Name) Contact name for the location | |
Contact Email (string) or Contact Email (null) (Contact Email) Contact email for the location | |
Placement Group Id (string) or Placement Group Id (null) (Placement Group Id) Ray placement group ID |
{- "name": "string",
- "datacenter": "string",
- "region": "string",
- "zone": "string",
- "building": "string",
- "address": "string",
- "contact_phone": "string",
- "contact_name": "string",
- "contact_email": "user@example.com",
- "placement_group_id": "string"
}{- "name": "string",
- "datacenter": "string",
- "region": "string",
- "zone": "string",
- "building": "string",
- "address": "string",
- "contact_phone": "string",
- "contact_name": "string",
- "contact_email": "user@example.com",
- "placement_group_id": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "datacenter": "string",
- "region": "string",
- "zone": "string",
- "building": "string",
- "address": "string",
- "contact_phone": "string",
- "contact_name": "string",
- "contact_email": "user@example.com",
- "placement_group_id": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z"
}Skip (integer) or Skip (null) (Skip) | |
Limit (integer) or Limit (null) (Limit) |
[- {
- "name": "string",
- "datacenter": "string",
- "region": "string",
- "zone": "string",
- "building": "string",
- "address": "string",
- "contact_phone": "string",
- "contact_name": "string",
- "contact_email": "user@example.com",
- "placement_group_id": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z"
}
]| location_id required | string <uuid> (Location Id) Unique identifier for the location of the cluster |
| name required | string (Name) Name of the cluster |
{- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "name": "string"
}{- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "name": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z"
}Skip (integer) or Skip (null) (Skip) | |
Limit (integer) or Limit (null) (Limit) |
[- {
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "name": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z"
}
]{- "node": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hardware_id": "874c9372-145b-49d5-9374-fea1200f8a1b",
- "ray_id": "string",
- "last_seen": "2019-08-24T14:15:22Z",
- "last_config": { },
- "created_at": "2019-08-24T14:15:22Z",
- "hardware": {
- "name": "string",
- "gpus": [
- { }
], - "cluster_ip": "string",
- "processors": [
- "string"
], - "processor_vendor": "string",
- "os": "string",
- "platform": "string",
- "local_node_id": "string",
- "ray_node_id": "string",
- "configuration": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "active": true
}, - "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "active": true
}, - "location": {
- "name": "string",
- "datacenter": "string",
- "region": "string",
- "zone": "string",
- "building": "string",
- "address": "string",
- "contact_phone": "string",
- "contact_name": "string",
- "contact_email": "user@example.com",
- "placement_group_id": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z"
}, - "hardware": {
- "name": "string",
- "gpus": [
- { }
], - "cluster_ip": "string",
- "processors": [
- "string"
], - "processor_vendor": "string",
- "os": "string",
- "platform": "string",
- "local_node_id": "string",
- "ray_node_id": "string",
- "configuration": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "active": true
}, - "node_list_node": {
- "node_id": "string",
- "alive": true,
- "node_manager_address": "string",
- "node_manager_hostname": "string",
- "node_manager_port": 0,
- "object_manager_port": 0,
- "object_store_socket_name": "string",
- "raylet_socket_name": "string",
- "metrics_export_port": 0,
- "resources": { },
- "node_ip": "string"
}
}[- {
- "node_id": "string",
- "alive": true,
- "node_manager_address": "string",
- "node_manager_hostname": "string",
- "node_manager_port": 0,
- "object_manager_port": 0,
- "object_store_socket_name": "string",
- "raylet_socket_name": "string",
- "metrics_export_port": 0,
- "resources": { },
- "node_ip": "string"
}
]Skip (integer) or Skip (null) (Skip) | |
Limit (integer) or Limit (null) (Limit) | |
Active (boolean) or Active (null) (Active) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "hardware_id": "874c9372-145b-49d5-9374-fea1200f8a1b",
- "ray_id": "string",
- "last_seen": "2019-08-24T14:15:22Z",
- "last_config": { },
- "created_at": "2019-08-24T14:15:22Z",
- "hardware": {
- "name": "string",
- "gpus": [
- { }
], - "cluster_ip": "string",
- "processors": [
- "string"
], - "processor_vendor": "string",
- "os": "string",
- "platform": "string",
- "local_node_id": "string",
- "ray_node_id": "string",
- "configuration": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "active": true
}, - "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "active": true
}
]Name (string) or Name (null) (Name) Name of the hardware | |
Array of Gpus (objects) or Gpus (null) (Gpus) GPU configuration of the hardware | |
Cluster Ip (string) or Cluster Ip (null) (Cluster Ip) Cluster IP of the hardware | |
Array of Processors (strings) or Processors (null) (Processors) Processor configuration of the hardware | |
Processor Vendor (string) or Processor Vendor (null) (Processor Vendor) Processor vendor of the hardware | |
Os (string) or Os (null) (Os) Operating system of the hardware | |
Platform (string) or Platform (null) (Platform) Platform of the hardware | |
Local Node Id (string) or Local Node Id (null) (Local Node Id) Local node ID of the hardware | |
Ray Node Id (string) or Ray Node Id (null) (Ray Node Id) Ray node ID of the hardware | |
Configuration (object) or Configuration (null) (Configuration) Configuration of the hardware |
{- "name": "string",
- "gpus": [
- { }
], - "cluster_ip": "string",
- "processors": [
- "string"
], - "processor_vendor": "string",
- "os": "string",
- "platform": "string",
- "local_node_id": "string",
- "ray_node_id": "string",
- "configuration": { }
}{- "name": "string",
- "gpus": [
- { }
], - "cluster_ip": "string",
- "processors": [
- "string"
], - "processor_vendor": "string",
- "os": "string",
- "platform": "string",
- "local_node_id": "string",
- "ray_node_id": "string",
- "configuration": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "active": true
}Skip (integer) or Skip (null) (Skip) | |
Limit (integer) or Limit (null) (Limit) |
[- {
- "name": "string",
- "gpus": [
- { }
], - "cluster_ip": "string",
- "processors": [
- "string"
], - "processor_vendor": "string",
- "os": "string",
- "platform": "string",
- "local_node_id": "string",
- "ray_node_id": "string",
- "configuration": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "active": true
}
]{- "name": "string",
- "gpus": [
- { }
], - "cluster_ip": "string",
- "processors": [
- "string"
], - "processor_vendor": "string",
- "os": "string",
- "platform": "string",
- "local_node_id": "string",
- "ray_node_id": "string",
- "configuration": { },
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "active": true
}Endpoint to retrieve cluster capabilities for model deployment and platform selection.
Returns hardware information, system type, available platforms, and tool availability including whether llamacpp is installed and what inference engines are supported.
Returns: Dict[str, Any]: A dictionary containing cluster capabilities information.
{ }| remote_host required | string (Remote Host) Hostname or IP of the paired GPU node |
Remote User (string) or Remote User (null) (Remote User) SSH username for the paired node | |
Ssh Key Path (string) or Ssh Key Path (null) (Ssh Key Path) Path to the SSH private key on the head node | |
Models Root (string) or Models Root (null) (Models Root) Model storage root on the paired node | |
Strict Host Key Checking (boolean) or Strict Host Key Checking (null) (Strict Host Key Checking) Default: false Enforce strict SSH host key checking | |
Additional Env (object) or Additional Env (null) (Additional Env) Additional environment variables to set before remote commands |
{- "remote_host": "string",
- "remote_user": "string",
- "ssh_key_path": "string",
- "models_root": "string",
- "strict_host_key_checking": false,
- "additional_env": {
- "property1": "string",
- "property2": "string"
}
}nullCreate a new cluster federation.
Args: federation: Federation creation data
Returns: Created ClusterFederation object
| remote_cluster_name required | string (Remote Cluster Name) Name of the remote cluster for display |
required | Array of objects (Remote Ips) List of remote IPs with primary flag |
Preshared Key (string) or Preshared Key (null) (Preshared Key) Pre-shared key for authentication, auto-generated if not provided | |
Callback Hostname (string) or Callback Hostname (null) (Callback Hostname) Optional hostname/IP for remote cluster to use for callbacks |
{- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "preshared_key": "string",
- "callback_hostname": "string"
}{- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "preshared_key": "string",
- "callback_hostname": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "local_cluster_id": "1260b091-d4ae-49be-a02b-b44ea252bd7e",
- "remote_cluster_id": "2e5a86d7-242f-4a38-9dcb-3cd98ca8c46e",
- "status": "string",
- "last_activity": "2019-08-24T14:15:22Z",
- "last_ping": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}List all cluster federations with optional filtering.
Args: skip: Number of records to skip limit: Maximum number of records to return status: Filter by status (PAIRING|PAIRED|DISCONNECTED|DELETED)
Returns: List of ClusterFederation objects
Skip (integer) or Skip (null) (Skip) Default: 0 | |
Limit (integer) or Limit (null) (Limit) Default: 100 | |
Status (string) or Status (null) (Status) |
[- {
- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "preshared_key": "string",
- "callback_hostname": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "local_cluster_id": "1260b091-d4ae-49be-a02b-b44ea252bd7e",
- "remote_cluster_id": "2e5a86d7-242f-4a38-9dcb-3cd98ca8c46e",
- "status": "string",
- "last_activity": "2019-08-24T14:15:22Z",
- "last_ping": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Get a single cluster federation by ID.
Args: federation_id: UUID of the federation
Returns: ClusterFederation object
| federation_id required | string <uuid> (Federation Id) |
{- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "preshared_key": "string",
- "callback_hostname": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "local_cluster_id": "1260b091-d4ae-49be-a02b-b44ea252bd7e",
- "remote_cluster_id": "2e5a86d7-242f-4a38-9dcb-3cd98ca8c46e",
- "status": "string",
- "last_activity": "2019-08-24T14:15:22Z",
- "last_ping": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}Update a cluster federation.
Args: federation_id: UUID of the federation updates: Dictionary of fields to update
Returns: Updated ClusterFederation object
| federation_id required | string <uuid> (Federation Id) |
| property name* additional property | any |
{ }{- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "preshared_key": "string",
- "callback_hostname": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "local_cluster_id": "1260b091-d4ae-49be-a02b-b44ea252bd7e",
- "remote_cluster_id": "2e5a86d7-242f-4a38-9dcb-3cd98ca8c46e",
- "status": "string",
- "last_activity": "2019-08-24T14:15:22Z",
- "last_ping": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}Initiate the pairing process for a federation.
Args: federation_id: UUID of the federation to pair
Returns: Updated ClusterFederation object
| federation_id required | string <uuid> (Federation Id) |
{- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "preshared_key": "string",
- "callback_hostname": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "local_cluster_id": "1260b091-d4ae-49be-a02b-b44ea252bd7e",
- "remote_cluster_id": "2e5a86d7-242f-4a38-9dcb-3cd98ca8c46e",
- "status": "string",
- "last_activity": "2019-08-24T14:15:22Z",
- "last_ping": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}Handle incoming federation pairing request from remote cluster. This endpoint is called by remote clusters initiating pairing.
Args: request: FederationPairRequest from remote cluster
Returns: Response with local cluster ID
required | Local Cluster Id (string) or Local Cluster Id (string) (Local Cluster Id) ID of the requesting cluster |
| local_cluster_name required | string (Local Cluster Name) Name of the requesting cluster |
required | Array of objects (Local Ips) List of local IPs with primary flag |
| preshared_key required | string (Preshared Key) Pre-shared key for authentication |
{- "local_cluster_id": "1260b091-d4ae-49be-a02b-b44ea252bd7e",
- "local_cluster_name": "string",
- "local_ips": [
- { }
], - "preshared_key": "string"
}nullHandle incoming federation reciprocation from remote cluster. This endpoint is called by remote clusters acknowledging pairing.
Args: request: FederationReciprocateRequest from remote cluster
Returns: Success status
| remote_host required | string (Remote Host) Remote host address |
| local_host required | string (Local Host) Local host address |
required | Remote Cluster Id (string) or Remote Cluster Id (string) (Remote Cluster Id) Remote cluster ID |
| acknowledged required | boolean (Acknowledged) Acknowledgment status |
{- "remote_host": "string",
- "local_host": "string",
- "remote_cluster_id": "2e5a86d7-242f-4a38-9dcb-3cd98ca8c46e",
- "acknowledged": true
}nullDisconnect a federation gracefully or forcefully.
Args: federation_id: UUID of the federation to disconnect force: If True, disconnect without waiting for acknowledgment
Returns: Success message
| federation_id required | string <uuid> (Federation Id) |
| force | boolean (Force) Default: false |
nullHandle incoming disconnect request from remote cluster. This endpoint is called by remote clusters initiating disconnect.
Args: request: FederationDisconnectRequest from remote cluster
Returns: Success status
required | Federation Id (string) or Federation Id (string) (Federation Id) Federation ID to disconnect |
required | Cluster Id (string) or Cluster Id (string) (Cluster Id) Cluster ID requesting disconnect |
Reason (string) or Reason (null) (Reason) Reason for disconnection |
{- "federation_id": "ace943d5-f456-4364-a519-e1de625df434",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "reason": "string"
}nullEndpoint to list all recent activities.
Returns: List[Activity]: A list of recent activities.
[- {
- "user_id": "string",
- "module": "string",
- "apicall": "string",
- "action": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z"
}
]| source_type required | string (Source Type) Type of source (e.g., 's3', 'postgres') |
object (Kwargs) Source-specific parameters |
{- "source_type": "string",
- "kwargs": { }
}null| source_type required | string (Source Type) Type of source (e.g., 's3', 'postgres') |
object (Kwargs) Source-specific parameters |
{- "source_type": "string",
- "kwargs": { }
}null| job_id required | string (Job Id) Unique job identifier |
| schedule required | string (Schedule) Cron schedule expression |
| source_type required | string (Source Type) Type of source |
object (Conn Args) Connection arguments |
{- "job_id": "string",
- "schedule": "string",
- "source_type": "string",
- "conn_args": { }
}null| job_id required | string (Job Id) Unique job identifier |
| schedule required | string (Schedule) Cron schedule expression |
| source_type required | string (Source Type) Type of source |
object (Conn Args) Connection arguments |
{- "job_id": "string",
- "schedule": "string",
- "source_type": "string",
- "conn_args": { }
}null| limit | integer (Limit) [ 1 .. 100 ] Default: 50 |
| offset | integer (Offset) >= 0 Default: 0 |
Source Type (string) or Source Type (null) (Source Type) | |
Enabled (boolean) or Enabled (null) (Enabled) | |
Tag (string) or Tag (null) (Tag) |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}
], - "total": 0,
- "limit": 0,
- "offset": 0
}| name required | string (Name) |
| source_type required | string (Source Type) |
| connector_type required | string (Connector Type) |
Description (string) or Description (null) (Description) | |
| tags | Array of strings (Tags) |
| allowed_roles | Array of strings (Allowed Roles) |
| require_encryption | boolean (Require Encryption) Default: true |
| system_high | string (System High) Default: "UNCLASSIFIED" System-high classification for this connector |
Default Security Marking (string) or Default Security Marking (null) (Default Security Marking) Default ICISM/CAPCO marking applied when documents lack explicit markings | |
required | object (Connection Config) |
{- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "system_high": "UNCLASSIFIED",
- "default_security_marking": "string",
- "connection_config": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}| connector_id required | string <uuid> (Connector Id) |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Array of Allowed Roles (strings) or Allowed Roles (null) (Allowed Roles) | |
Require Encryption (boolean) or Require Encryption (null) (Require Encryption) | |
Enabled (boolean) or Enabled (null) (Enabled) | |
Connection Config (object) or Connection Config (null) (Connection Config) | |
System High (string) or System High (null) (System High) | |
Default Security Marking (string) or Default Security Marking (null) (Default Security Marking) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "connection_config": { },
- "system_high": "string",
- "default_security_marking": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}| source_id required | string <uuid> (Source Id) |
| source_ref required | string (Source Ref) |
| item_type | string (Item Type) Default: "document" |
Job Id (string) or Job Id (null) (Job Id) | |
Job Name (string) or Job Name (null) (Job Name) | |
Job Config (object) or Job Config (null) (Job Config) | |
Security Marking (string) or Security Marking (null) (Security Marking) | |
object (Metadata) |
{- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_ref": "string",
- "item_type": "document",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "job_name": "string",
- "job_config": { },
- "security_marking": "string",
- "metadata": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_ref": "string",
- "item_type": "string",
- "title": "string",
- "description": "string",
- "content_type": "string",
- "size_bytes": 0,
- "tags": [
- "string"
], - "categories": [
- "string"
], - "language": "string",
- "classification": "string",
- "security_marking": "string",
- "handling_caveats": [
- "string"
], - "control_markings": [
- "string"
], - "sci_controls": [
- "string"
], - "dissemination_controls": [
- "string"
], - "releasable_to": [
- "string"
], - "entities": { },
- "indexed_at": "2019-08-24T14:15:22Z",
- "content_date": "2019-08-24T14:15:22Z",
- "confidence_score": 0,
- "completeness_score": 0,
- "access_count": 0
}| source_id required | string <uuid> (Source Id) |
| limit | integer (Limit) [ 1 .. 100 ] Default: 20 |
| offset | integer (Offset) >= 0 Default: 0 |
Item Type (string) or Item Type (null) (Item Type) | |
Tag (string) or Tag (null) (Tag) |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_ref": "string",
- "item_type": "string",
- "title": "string",
- "description": "string",
- "content_type": "string",
- "size_bytes": 0,
- "tags": [
- "string"
], - "categories": [
- "string"
], - "language": "string",
- "classification": "string",
- "security_marking": "string",
- "handling_caveats": [
- "string"
], - "control_markings": [
- "string"
], - "sci_controls": [
- "string"
], - "dissemination_controls": [
- "string"
], - "releasable_to": [
- "string"
], - "entities": { },
- "indexed_at": "2019-08-24T14:15:22Z",
- "content_date": "2019-08-24T14:15:22Z",
- "confidence_score": 0,
- "completeness_score": 0,
- "access_count": 0
}
], - "total": 0,
- "limit": 0,
- "offset": 0,
- "rejections": [
- {
- "document_id": "string",
- "reason": "string"
}
]
}| document_id required | string <uuid> (Document Id) |
| source_id required | string <uuid> (Source Id) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_ref": "string",
- "item_type": "string",
- "title": "string",
- "description": "string",
- "content_type": "string",
- "size_bytes": 0,
- "tags": [
- "string"
], - "categories": [
- "string"
], - "language": "string",
- "classification": "string",
- "security_marking": "string",
- "handling_caveats": [
- "string"
], - "control_markings": [
- "string"
], - "sci_controls": [
- "string"
], - "dissemination_controls": [
- "string"
], - "releasable_to": [
- "string"
], - "entities": { },
- "indexed_at": "2019-08-24T14:15:22Z",
- "content_date": "2019-08-24T14:15:22Z",
- "confidence_score": 0,
- "completeness_score": 0,
- "access_count": 0
}| limit | integer (Limit) [ 1 .. 100 ] Default: 50 |
| offset | integer (Offset) >= 0 Default: 0 |
Source Type (string) or Source Type (null) (Source Type) | |
Enabled (boolean) or Enabled (null) (Enabled) | |
Tag (string) or Tag (null) (Tag) |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}
], - "total": 0,
- "limit": 0,
- "offset": 0
}| limit | integer (Limit) [ 1 .. 100 ] Default: 50 |
| offset | integer (Offset) >= 0 Default: 0 |
Source Type (string) or Source Type (null) (Source Type) | |
Enabled (boolean) or Enabled (null) (Enabled) | |
Tag (string) or Tag (null) (Tag) |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}
], - "total": 0,
- "limit": 0,
- "offset": 0
}| name required | string (Name) |
| source_type required | string (Source Type) |
| connector_type required | string (Connector Type) |
Description (string) or Description (null) (Description) | |
| tags | Array of strings (Tags) |
| allowed_roles | Array of strings (Allowed Roles) |
| require_encryption | boolean (Require Encryption) Default: true |
| system_high | string (System High) Default: "UNCLASSIFIED" System-high classification for this connector |
Default Security Marking (string) or Default Security Marking (null) (Default Security Marking) Default ICISM/CAPCO marking applied when documents lack explicit markings | |
required | object (Connection Config) |
{- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "system_high": "UNCLASSIFIED",
- "default_security_marking": "string",
- "connection_config": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}| name required | string (Name) |
| source_type required | string (Source Type) |
| connector_type required | string (Connector Type) |
Description (string) or Description (null) (Description) | |
| tags | Array of strings (Tags) |
| allowed_roles | Array of strings (Allowed Roles) |
| require_encryption | boolean (Require Encryption) Default: true |
| system_high | string (System High) Default: "UNCLASSIFIED" System-high classification for this connector |
Default Security Marking (string) or Default Security Marking (null) (Default Security Marking) Default ICISM/CAPCO marking applied when documents lack explicit markings | |
required | object (Connection Config) |
{- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "system_high": "UNCLASSIFIED",
- "default_security_marking": "string",
- "connection_config": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}| connector_id required | string <uuid> (Connector Id) |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Array of Allowed Roles (strings) or Allowed Roles (null) (Allowed Roles) | |
Require Encryption (boolean) or Require Encryption (null) (Require Encryption) | |
Enabled (boolean) or Enabled (null) (Enabled) | |
Connection Config (object) or Connection Config (null) (Connection Config) | |
System High (string) or System High (null) (System High) | |
Default Security Marking (string) or Default Security Marking (null) (Default Security Marking) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "connection_config": { },
- "system_high": "string",
- "default_security_marking": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}| connector_id required | string <uuid> (Connector Id) |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Array of Tags (strings) or Tags (null) (Tags) | |
Array of Allowed Roles (strings) or Allowed Roles (null) (Allowed Roles) | |
Require Encryption (boolean) or Require Encryption (null) (Require Encryption) | |
Enabled (boolean) or Enabled (null) (Enabled) | |
Connection Config (object) or Connection Config (null) (Connection Config) | |
System High (string) or System High (null) (System High) | |
Default Security Marking (string) or Default Security Marking (null) (Default Security Marking) |
{- "name": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "connection_config": { },
- "system_high": "string",
- "default_security_marking": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source_type": "string",
- "connector_type": "string",
- "description": "string",
- "tags": [
- "string"
], - "allowed_roles": [
- "string"
], - "require_encryption": true,
- "enabled": true,
- "system_high": "string",
- "default_security_marking": "string",
- "last_ingestion_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z",
- "error_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by": "string"
}| source_id required | string <uuid> (Source Id) |
| source_ref required | string (Source Ref) |
| item_type | string (Item Type) Default: "document" |
Job Id (string) or Job Id (null) (Job Id) | |
Job Name (string) or Job Name (null) (Job Name) | |
Job Config (object) or Job Config (null) (Job Config) | |
Security Marking (string) or Security Marking (null) (Security Marking) | |
object (Metadata) |
{- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_ref": "string",
- "item_type": "document",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "job_name": "string",
- "job_config": { },
- "security_marking": "string",
- "metadata": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_ref": "string",
- "item_type": "string",
- "title": "string",
- "description": "string",
- "content_type": "string",
- "size_bytes": 0,
- "tags": [
- "string"
], - "categories": [
- "string"
], - "language": "string",
- "classification": "string",
- "security_marking": "string",
- "handling_caveats": [
- "string"
], - "control_markings": [
- "string"
], - "sci_controls": [
- "string"
], - "dissemination_controls": [
- "string"
], - "releasable_to": [
- "string"
], - "entities": { },
- "indexed_at": "2019-08-24T14:15:22Z",
- "content_date": "2019-08-24T14:15:22Z",
- "confidence_score": 0,
- "completeness_score": 0,
- "access_count": 0
}| source_id required | string <uuid> (Source Id) |
| source_ref required | string (Source Ref) |
| item_type | string (Item Type) Default: "document" |
Job Id (string) or Job Id (null) (Job Id) | |
Job Name (string) or Job Name (null) (Job Name) | |
Job Config (object) or Job Config (null) (Job Config) | |
Security Marking (string) or Security Marking (null) (Security Marking) | |
object (Metadata) |
{- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_ref": "string",
- "item_type": "document",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "job_name": "string",
- "job_config": { },
- "security_marking": "string",
- "metadata": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_ref": "string",
- "item_type": "string",
- "title": "string",
- "description": "string",
- "content_type": "string",
- "size_bytes": 0,
- "tags": [
- "string"
], - "categories": [
- "string"
], - "language": "string",
- "classification": "string",
- "security_marking": "string",
- "handling_caveats": [
- "string"
], - "control_markings": [
- "string"
], - "sci_controls": [
- "string"
], - "dissemination_controls": [
- "string"
], - "releasable_to": [
- "string"
], - "entities": { },
- "indexed_at": "2019-08-24T14:15:22Z",
- "content_date": "2019-08-24T14:15:22Z",
- "confidence_score": 0,
- "completeness_score": 0,
- "access_count": 0
}| source_id required | string <uuid> (Source Id) |
| limit | integer (Limit) [ 1 .. 100 ] Default: 20 |
| offset | integer (Offset) >= 0 Default: 0 |
Item Type (string) or Item Type (null) (Item Type) | |
Tag (string) or Tag (null) (Tag) |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_ref": "string",
- "item_type": "string",
- "title": "string",
- "description": "string",
- "content_type": "string",
- "size_bytes": 0,
- "tags": [
- "string"
], - "categories": [
- "string"
], - "language": "string",
- "classification": "string",
- "security_marking": "string",
- "handling_caveats": [
- "string"
], - "control_markings": [
- "string"
], - "sci_controls": [
- "string"
], - "dissemination_controls": [
- "string"
], - "releasable_to": [
- "string"
], - "entities": { },
- "indexed_at": "2019-08-24T14:15:22Z",
- "content_date": "2019-08-24T14:15:22Z",
- "confidence_score": 0,
- "completeness_score": 0,
- "access_count": 0
}
], - "total": 0,
- "limit": 0,
- "offset": 0,
- "rejections": [
- {
- "document_id": "string",
- "reason": "string"
}
]
}| source_id required | string <uuid> (Source Id) |
| limit | integer (Limit) [ 1 .. 100 ] Default: 20 |
| offset | integer (Offset) >= 0 Default: 0 |
Item Type (string) or Item Type (null) (Item Type) | |
Tag (string) or Tag (null) (Tag) |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_ref": "string",
- "item_type": "string",
- "title": "string",
- "description": "string",
- "content_type": "string",
- "size_bytes": 0,
- "tags": [
- "string"
], - "categories": [
- "string"
], - "language": "string",
- "classification": "string",
- "security_marking": "string",
- "handling_caveats": [
- "string"
], - "control_markings": [
- "string"
], - "sci_controls": [
- "string"
], - "dissemination_controls": [
- "string"
], - "releasable_to": [
- "string"
], - "entities": { },
- "indexed_at": "2019-08-24T14:15:22Z",
- "content_date": "2019-08-24T14:15:22Z",
- "confidence_score": 0,
- "completeness_score": 0,
- "access_count": 0
}
], - "total": 0,
- "limit": 0,
- "offset": 0,
- "rejections": [
- {
- "document_id": "string",
- "reason": "string"
}
]
}| document_id required | string <uuid> (Document Id) |
| source_id required | string <uuid> (Source Id) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_ref": "string",
- "item_type": "string",
- "title": "string",
- "description": "string",
- "content_type": "string",
- "size_bytes": 0,
- "tags": [
- "string"
], - "categories": [
- "string"
], - "language": "string",
- "classification": "string",
- "security_marking": "string",
- "handling_caveats": [
- "string"
], - "control_markings": [
- "string"
], - "sci_controls": [
- "string"
], - "dissemination_controls": [
- "string"
], - "releasable_to": [
- "string"
], - "entities": { },
- "indexed_at": "2019-08-24T14:15:22Z",
- "content_date": "2019-08-24T14:15:22Z",
- "confidence_score": 0,
- "completeness_score": 0,
- "access_count": 0
}| document_id required | string <uuid> (Document Id) |
| source_id required | string <uuid> (Source Id) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_ref": "string",
- "item_type": "string",
- "title": "string",
- "description": "string",
- "content_type": "string",
- "size_bytes": 0,
- "tags": [
- "string"
], - "categories": [
- "string"
], - "language": "string",
- "classification": "string",
- "security_marking": "string",
- "handling_caveats": [
- "string"
], - "control_markings": [
- "string"
], - "sci_controls": [
- "string"
], - "dissemination_controls": [
- "string"
], - "releasable_to": [
- "string"
], - "entities": { },
- "indexed_at": "2019-08-24T14:15:22Z",
- "content_date": "2019-08-24T14:15:22Z",
- "confidence_score": 0,
- "completeness_score": 0,
- "access_count": 0
}| dataset_urn required | string (Dataset Urn) Catalog URN identifying the dataset |
Transport (string) or Transport (null) (Transport) Default: "auto" Preferred transport ('auto', 'inline', 'sse', 'grpc') | |
Limit Rows (integer) or Limit Rows (null) (Limit Rows) Maximum number of rows to materialise (if applicable) | |
Offset (integer) or Offset (null) (Offset) | |
Filters (object) or Filters (null) (Filters) | |
Options (object) or Options (null) (Options) Backend-specific options (e.g., kafka bootstrap servers) | |
Array of Columns (strings) or Columns (null) (Columns) | |
Credential Override (string) or Credential Override (null) (Credential Override) Caller-provided credential to access the dataset | |
Format Hint (string) or Format Hint (null) (Format Hint) Optional hint for dataset format (parquet,csv,json,binary,text,slack) | |
Batch Size (integer) or Batch Size (null) (Batch Size) Preferred batch size for streaming transports | |
Sdk Session (string) or Sdk Session (null) (Sdk Session) Identifier supplied by the SDK to aid telemetry |
{- "dataset_urn": "string",
- "transport": "auto",
- "limit_rows": 1,
- "offset": 0,
- "filters": { },
- "options": { },
- "columns": [
- "string"
], - "credential_override": "pa$$word",
- "format_hint": "string",
- "batch_size": 1,
- "sdk_session": "string"
}{- "job_id": "string",
- "transport": "inline",
- "status": "string",
- "dataset": {
- "urn": "string",
- "platform": "string",
- "path": "string",
- "format": "string",
- "estimated_bytes": 0,
- "estimated_rows": 0
}, - "inline": {
- "media_type": "string",
- "data": null,
- "row_count": 0,
- "metadata": { }
}, - "grpc": {
- "endpoint": "string",
- "token": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "protocol": "kamiwaza.retrieval.v1"
}
}| dataset_urn required | string (Dataset Urn) Catalog URN identifying the dataset |
Transport (string) or Transport (null) (Transport) Default: "auto" Preferred transport ('auto', 'inline', 'sse', 'grpc') | |
Limit Rows (integer) or Limit Rows (null) (Limit Rows) Maximum number of rows to materialise (if applicable) | |
Offset (integer) or Offset (null) (Offset) | |
Filters (object) or Filters (null) (Filters) | |
Options (object) or Options (null) (Options) Backend-specific options (e.g., kafka bootstrap servers) | |
Array of Columns (strings) or Columns (null) (Columns) | |
Credential Override (string) or Credential Override (null) (Credential Override) Caller-provided credential to access the dataset | |
Format Hint (string) or Format Hint (null) (Format Hint) Optional hint for dataset format (parquet,csv,json,binary,text,slack) | |
Batch Size (integer) or Batch Size (null) (Batch Size) Preferred batch size for streaming transports | |
Sdk Session (string) or Sdk Session (null) (Sdk Session) Identifier supplied by the SDK to aid telemetry |
{- "dataset_urn": "string",
- "transport": "auto",
- "limit_rows": 1,
- "offset": 0,
- "filters": { },
- "options": { },
- "columns": [
- "string"
], - "credential_override": "pa$$word",
- "format_hint": "string",
- "batch_size": 1,
- "sdk_session": "string"
}{- "job_id": "string",
- "transport": "inline",
- "status": "string",
- "dataset": {
- "urn": "string",
- "platform": "string",
- "path": "string",
- "format": "string",
- "estimated_bytes": 0,
- "estimated_rows": 0
}, - "inline": {
- "media_type": "string",
- "data": null,
- "row_count": 0,
- "metadata": { }
}, - "grpc": {
- "endpoint": "string",
- "token": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "protocol": "kamiwaza.retrieval.v1"
}
}{- "job_id": "string",
- "status": "string",
- "transport": "inline",
- "dataset": {
- "urn": "string",
- "platform": "string",
- "path": "string",
- "format": "string",
- "estimated_bytes": 0,
- "estimated_rows": 0
}, - "progress": {
- "bytes_processed": 0,
- "rows_processed": 0,
- "chunks_emitted": 0
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "job_id": "string",
- "status": "string",
- "transport": "inline",
- "dataset": {
- "urn": "string",
- "platform": "string",
- "path": "string",
- "format": "string",
- "estimated_bytes": 0,
- "estimated_rows": 0
}, - "progress": {
- "bytes_processed": 0,
- "rows_processed": 0,
- "chunks_emitted": 0
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get the structured news content in quadrant format.
Returns: NewsResponse: Object containing quadrant-structured news data
{- "metadata": {
- "version": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "totalItems": 0
}, - "categories": [
- "string"
], - "items": [
- {
- "id": "string",
- "title": "string",
- "date": "string",
- "category": "string",
- "content": "string",
- "featured": false,
- "author": "string",
- "tags": [ ]
}
], - "quadrants": {
- "property1": {
- "title": "string",
- "position": "string",
- "items": [
- {
- "id": "string",
- "title": "string",
- "date": "string",
- "category": "string",
- "content": "string",
- "featured": false,
- "author": "string",
- "tags": [ ]
}
]
}, - "property2": {
- "title": "string",
- "position": "string",
- "items": [
- {
- "id": "string",
- "title": "string",
- "date": "string",
- "category": "string",
- "content": "string",
- "featured": false,
- "author": "string",
- "tags": [ ]
}
]
}
}
}Get the structured news content in quadrant format.
Returns: NewsResponse: Object containing quadrant-structured news data
{- "metadata": {
- "version": "string",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "totalItems": 0
}, - "categories": [
- "string"
], - "items": [
- {
- "id": "string",
- "title": "string",
- "date": "string",
- "category": "string",
- "content": "string",
- "featured": false,
- "author": "string",
- "tags": [ ]
}
], - "quadrants": {
- "property1": {
- "title": "string",
- "position": "string",
- "items": [
- {
- "id": "string",
- "title": "string",
- "date": "string",
- "category": "string",
- "content": "string",
- "featured": false,
- "author": "string",
- "tags": [ ]
}
]
}, - "property2": {
- "title": "string",
- "position": "string",
- "items": [
- {
- "id": "string",
- "title": "string",
- "date": "string",
- "category": "string",
- "content": "string",
- "featured": false,
- "author": "string",
- "tags": [ ]
}
]
}
}
}Get the latest news content from the Kamiwaza news API. Legacy endpoint for backward compatibility.
Returns: NewsContent: Object containing news content or error message
{- "content": "## Latest Kamiwaza Updates\n\n### Kamiwaza 2.2.0 Released\n*January 10, 2025*\n\nMajor update with improved model deployment, enhanced UI, and better performance monitoring.\n\n### New Model Support\n*January 5, 2025*\n\nAdded support for **Llama 3.3**, **DeepSeek V3**, and **Qwen 2.5** series models.",
- "timestamp": "2025-01-15T00:00:00Z"
}Get the latest news content from the Kamiwaza news API. Legacy endpoint for backward compatibility.
Returns: NewsContent: Object containing news content or error message
{- "content": "## Latest Kamiwaza Updates\n\n### Kamiwaza 2.2.0 Released\n*January 10, 2025*\n\nMajor update with improved model deployment, enhanced UI, and better performance monitoring.\n\n### New Model Support\n*January 5, 2025*\n\nAdded support for **Llama 3.3**, **DeepSeek V3**, and **Qwen 2.5** series models.",
- "timestamp": "2025-01-15T00:00:00Z"
}List all deployment logs across all services. This is the main endpoint for the unified logs viewer UI.
{- "logs": [
- {
- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "file_size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "is_orphaned": false,
- "has_errors": true
}
], - "total_count": 0,
- "orphaned_count": 0
}List all logs for a specific deployment type. Uses filesystem directory structure for filtering.
| deployment_type required | string (DeploymentType) Enum: "vllm" "llamacpp" "mlx" "ampere" "app_garden" "tool_shed" "unknown" Type of deployment |
{- "logs": [
- {
- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "file_size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "is_orphaned": false,
- "has_errors": true
}
], - "total_count": 0,
- "orphaned_count": 0
}Get the content of a specific deployment log.
| deployment_type required | string (DeploymentType) Enum: "vllm" "llamacpp" "mlx" "ampere" "app_garden" "tool_shed" "unknown" Type of deployment |
| deployment_id required | string <uuid> (Deployment Id) Deployment ID |
{- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "logs": [
- "string"
], - "total_lines": 0,
- "is_compressed": false,
- "patterns_detected": {
- "property1": true,
- "property2": true
}, - "capture_active": false
}Delete a specific deployment log file.
| deployment_type required | string (DeploymentType) Enum: "vllm" "llamacpp" "mlx" "ampere" "app_garden" "tool_shed" "unknown" Type of deployment |
| deployment_id required | string (Deployment Id) Deployment ID |
| confirm | boolean (Confirm) Default: false Confirm deletion |
{- "deleted": true,
- "message": "string",
- "files_removed": [
- "string"
]
}Analyze deployment logs for error patterns.
| deployment_type required | string (DeploymentType) Enum: "vllm" "llamacpp" "mlx" "ampere" "app_garden" "tool_shed" "unknown" Type of deployment |
| deployment_id required | string <uuid> (Deployment Id) Deployment ID |
{- "deployment_id": "string",
- "deployment_type": "vllm",
- "patterns_detected": {
- "property1": true,
- "property2": true
}, - "failure_lines": [
- { }
], - "analysis_timestamp": "2019-08-24T14:15:22Z",
- "total_errors_found": 0
}{- "logs": [
- {
- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "file_size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "is_orphaned": false,
- "has_errors": true
}
], - "total_count": 0,
- "orphaned_count": 0
}Clean up old log files.
| days_old | integer (Days Old) Default: 30 Delete logs older than this many days |
DeploymentType (string) or Deployment Type (null) (Deployment Type) Filter by deployment type | |
| dry_run | boolean (Dry Run) Default: true If true, only show what would be deleted |
nullLegacy endpoint for backward compatibility with existing UI. Get container logs for a specific deployment.
| deployment_id required | string <uuid> (Deployment Id) |
{- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "logs": [
- "string"
], - "total_lines": 0,
- "is_compressed": false,
- "patterns_detected": {
- "property1": true,
- "property2": true
}, - "capture_active": false
}Legacy endpoint for backward compatibility. Analyze container logs for failure patterns.
| deployment_id required | string <uuid> (Deployment Id) |
{- "deployment_id": "string",
- "deployment_type": "vllm",
- "patterns_detected": {
- "property1": true,
- "property2": true
}, - "failure_lines": [
- { }
], - "analysis_timestamp": "2019-08-24T14:15:22Z",
- "total_errors_found": 0
}Legacy endpoint for backward compatibility. List available container logs for a specific engine type.
| engine_type required | string (Engine Type) |
{- "logs": [
- {
- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "file_size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "is_orphaned": false,
- "has_errors": true
}
], - "total_count": 0,
- "orphaned_count": 0
}List all deployment logs across all services. This is the main endpoint for the unified logs viewer UI.
{- "logs": [
- {
- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "file_size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "is_orphaned": false,
- "has_errors": true
}
], - "total_count": 0,
- "orphaned_count": 0
}List all logs for a specific deployment type. Uses filesystem directory structure for filtering.
| deployment_type required | string (DeploymentType) Enum: "vllm" "llamacpp" "mlx" "ampere" "app_garden" "tool_shed" "unknown" Type of deployment |
{- "logs": [
- {
- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "file_size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "is_orphaned": false,
- "has_errors": true
}
], - "total_count": 0,
- "orphaned_count": 0
}Get the content of a specific deployment log.
| deployment_type required | string (DeploymentType) Enum: "vllm" "llamacpp" "mlx" "ampere" "app_garden" "tool_shed" "unknown" Type of deployment |
| deployment_id required | string <uuid> (Deployment Id) Deployment ID |
{- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "logs": [
- "string"
], - "total_lines": 0,
- "is_compressed": false,
- "patterns_detected": {
- "property1": true,
- "property2": true
}, - "capture_active": false
}Delete a specific deployment log file.
| deployment_type required | string (DeploymentType) Enum: "vllm" "llamacpp" "mlx" "ampere" "app_garden" "tool_shed" "unknown" Type of deployment |
| deployment_id required | string (Deployment Id) Deployment ID |
| confirm | boolean (Confirm) Default: false Confirm deletion |
{- "deleted": true,
- "message": "string",
- "files_removed": [
- "string"
]
}Analyze deployment logs for error patterns.
| deployment_type required | string (DeploymentType) Enum: "vllm" "llamacpp" "mlx" "ampere" "app_garden" "tool_shed" "unknown" Type of deployment |
| deployment_id required | string <uuid> (Deployment Id) Deployment ID |
{- "deployment_id": "string",
- "deployment_type": "vllm",
- "patterns_detected": {
- "property1": true,
- "property2": true
}, - "failure_lines": [
- { }
], - "analysis_timestamp": "2019-08-24T14:15:22Z",
- "total_errors_found": 0
}{- "logs": [
- {
- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "file_size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "is_orphaned": false,
- "has_errors": true
}
], - "total_count": 0,
- "orphaned_count": 0
}Clean up old log files.
| days_old | integer (Days Old) Default: 30 Delete logs older than this many days |
DeploymentType (string) or Deployment Type (null) (Deployment Type) Filter by deployment type | |
| dry_run | boolean (Dry Run) Default: true If true, only show what would be deleted |
nullLegacy endpoint for backward compatibility with existing UI. Get container logs for a specific deployment.
| deployment_id required | string <uuid> (Deployment Id) |
{- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "logs": [
- "string"
], - "total_lines": 0,
- "is_compressed": false,
- "patterns_detected": {
- "property1": true,
- "property2": true
}, - "capture_active": false
}Legacy endpoint for backward compatibility. Analyze container logs for failure patterns.
| deployment_id required | string <uuid> (Deployment Id) |
{- "deployment_id": "string",
- "deployment_type": "vllm",
- "patterns_detected": {
- "property1": true,
- "property2": true
}, - "failure_lines": [
- { }
], - "analysis_timestamp": "2019-08-24T14:15:22Z",
- "total_errors_found": 0
}Legacy endpoint for backward compatibility. List available container logs for a specific engine type.
| engine_type required | string (Engine Type) |
{- "logs": [
- {
- "deployment_id": "string",
- "deployment_type": "vllm",
- "file_path": "string",
- "file_size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "is_orphaned": false,
- "has_errors": true
}
], - "total_count": 0,
- "orphaned_count": 0
}Get whether ephemeral mode is forced for all app deployments.
When KAMIWAZA_EPHEMERAL_EXTENSIONS=true, all deployments are forced to be ephemeral and the user cannot override this in the UI.
Returns: EphemeralConfigResponse: Whether ephemeral mode is forced.
{- "ephemeral_forced": true
}Deploy a new application.
Args: create_app_request (CreateAppDeployment): The deployment request containing app configuration. audit_ctx: Automatically extracted audit context for logging
Returns: AppDeployment: The created app deployment details.
| name required | string (Name) Name of the app deployment |
Template Id (string) or Template Id (null) (Template Id) The UUID of the app template to use | |
| min_copies | integer (Min Copies) Default: 1 Minimum number of copies to maintain |
| starting_copies | integer (Starting Copies) Default: 1 Number of copies to start with |
Max Copies (integer) or Max Copies (null) (Max Copies) Maximum number of copies allowed | |
Serve Path (string) or Serve Path (null) (Serve Path) Optional path prefix for the deployment | |
| lb_port | integer (Lb Port) Default: 0 Port on which the load balancer is listening |
Array of Port Mappings (objects) or Port Mappings (null) (Port Mappings) Optional explicit port mappings | |
Runtime Resources Id (string) or Runtime Resources Id (null) (Runtime Resources Id) Optional ID of the resource specification (e.g., CPU, memory limits) for this deployment | |
Env Vars (object) or Env Vars (null) (Env Vars) Environment variables to pass to the app container | |
Is Ephemeral Session (boolean) or Is Ephemeral Session (null) (Is Ephemeral Session) Override the default app session policy. True => purge on logout, False => persistent. | |
Preferred Model Type (string) or Preferred Model Type (null) (Preferred Model Type) Preferred model type: any, large, reasoning, fast, vl. If None, skips model discovery. | |
| fail_if_model_type_unavailable | boolean (Fail If Model Type Unavailable) Default: false Fail deployment if preferred model type unavailable |
Preferred Model Name (string) or Preferred Model Name (null) (Preferred Model Name) Specific model name to prefer (substring match) | |
| fail_if_model_name_unavailable | boolean (Fail If Model Name Unavailable) Default: false Fail deployment if preferred model name not found |
{- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "min_copies": 1,
- "starting_copies": 1,
- "max_copies": 0,
- "serve_path": "string",
- "lb_port": 0,
- "port_mappings": [
- {
- "container_port": 0,
- "port_name": "string",
- "is_primary": false
}
], - "runtime_resources_id": "5523ab73-0d21-4472-a248-f87deceba08f",
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "is_ephemeral_session": true,
- "preferred_model_type": "string",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false
}{- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "min_copies": 1,
- "starting_copies": 1,
- "max_copies": 0,
- "serve_path": "string",
- "lb_port": 0,
- "port_mappings": [
- {
- "container_port": 0,
- "port_name": "string",
- "is_primary": false
}
], - "runtime_resources_id": "5523ab73-0d21-4472-a248-f87deceba08f",
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "is_ephemeral_session": false,
- "preferred_model_type": "string",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "instances": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "deployed_at": "2019-08-24T14:15:22Z",
- "container_id": "string",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "host_name": "string",
- "listen_port": 0,
- "status": "UNINITIALIZED"
}
], - "access_path_prefix": "string",
- "access_path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "runtime_artifacts": { },
- "owner_user_id": "string",
- "owner_session_id": "string",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "purge_requested_at": "2019-08-24T14:15:22Z",
- "image_status": { }
}List all app deployments.
Returns: List[AppDeployment]: A list of all app deployments.
[- {
- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "min_copies": 1,
- "starting_copies": 1,
- "max_copies": 0,
- "serve_path": "string",
- "lb_port": 0,
- "port_mappings": [
- {
- "container_port": 0,
- "port_name": "string",
- "is_primary": false
}
], - "runtime_resources_id": "5523ab73-0d21-4472-a248-f87deceba08f",
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "is_ephemeral_session": false,
- "preferred_model_type": "string",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "instances": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "deployed_at": "2019-08-24T14:15:22Z",
- "container_id": "string",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "host_name": "string",
- "listen_port": 0,
- "status": "UNINITIALIZED"
}
], - "access_path_prefix": "string",
- "access_path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "runtime_artifacts": { },
- "owner_user_id": "string",
- "owner_session_id": "string",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "purge_requested_at": "2019-08-24T14:15:22Z",
- "image_status": { }
}
]Get details of a specific app deployment.
Args: deployment_id (UUID): The ID of the deployment to retrieve.
Returns: AppDeployment: The deployment details.
| deployment_id required | string <uuid> (Deployment Id) |
{- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "min_copies": 1,
- "starting_copies": 1,
- "max_copies": 0,
- "serve_path": "string",
- "lb_port": 0,
- "port_mappings": [
- {
- "container_port": 0,
- "port_name": "string",
- "is_primary": false
}
], - "runtime_resources_id": "5523ab73-0d21-4472-a248-f87deceba08f",
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "is_ephemeral_session": false,
- "preferred_model_type": "string",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "instances": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "deployed_at": "2019-08-24T14:15:22Z",
- "container_id": "string",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "host_name": "string",
- "listen_port": 0,
- "status": "UNINITIALIZED"
}
], - "access_path_prefix": "string",
- "access_path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "runtime_artifacts": { },
- "owner_user_id": "string",
- "owner_session_id": "string",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "purge_requested_at": "2019-08-24T14:15:22Z",
- "image_status": { }
}Stop an app deployment.
Args: deployment_id (UUID): The ID of the deployment to stop. audit_ctx: Automatically extracted audit context for logging
Returns: bool: True if successfully stopped, False otherwise.
| deployment_id required | string <uuid> (Deployment Id) |
trueStop and completely remove an app deployment.
Requires authentication and ownership verification. Users can only purge their own deployments unless they have admin role.
Admin cross-user purges are rate limited to prevent abuse and ensure proper audit trails are maintained.
Args: deployment_id (UUID): The ID of the deployment to purge. current_user: Authenticated user (injected by dependency)
Returns: bool: True if successfully purged.
Raises: HTTPException: 403 if user doesn't own the deployment and isn't admin HTTPException: 404 if deployment doesn't exist HTTPException: 429 if admin rate limit exceeded HTTPException: 500 if purge operation fails
| deployment_id required | string <uuid> (Deployment Id) |
trueRecord a heartbeat for an app session token.
Token should be provided in one of:
{- "status": "string",
- "message": "string",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6"
}End an app session token and purge the associated deployment.
Token should be provided in one of:
Reason (string) or Reason (null) (Reason) Optional reason for ending the session, used for audit logging. | |
Session Token (string) or Session Token (null) (Session Token) Session token if not provided in X-Session-Token header. |
{- "reason": "string",
- "session_token": "string"
}{- "status": "string",
- "message": "string",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6"
}List all app instances, optionally filtered by deployment.
Args: deployment_id (Optional[UUID]): Optional deployment ID to filter instances.
Returns: List[AppInstance]: List of app instances.
Deployment Id (string) or Deployment Id (null) (Deployment Id) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "deployed_at": "2019-08-24T14:15:22Z",
- "container_id": "string",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "host_name": "string",
- "listen_port": 0,
- "status": "UNINITIALIZED"
}
]Get details of a specific app instance.
Args: instance_id (UUID): The ID of the instance to retrieve.
Returns: AppInstance: The instance details.
| instance_id required | string <uuid> (Instance Id) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "deployed_at": "2019-08-24T14:15:22Z",
- "container_id": "string",
- "node_id": "6e0bdcac-9717-4a6f-972e-97489dffeb0c",
- "host_name": "string",
- "listen_port": 0,
- "status": "UNINITIALIZED"
}Get the status of a specific app deployment.
Args: deployment_id (UUID): The ID of the deployment.
Returns: str: The current status of the deployment.
| deployment_id required | string <uuid> (Deployment Id) |
"string"[- {
- "name": "string",
- "version": "string",
- "source_type": "kamiwaza",
- "visibility": "private",
- "compose_yml": "string",
- "risk_tier": 0,
- "validate_containers": false,
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "env_defaults": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "category": "string",
- "tags": [
- "string"
], - "author": "string",
- "license": "string",
- "homepage": "string",
- "image": "string",
- "capabilities": [
- "string"
], - "required_env_vars": [
- "string"
], - "preferred_model_type": "any",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false,
- "preview_image": "string",
- "kamiwaza_version": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "verified": false,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| name required | string (Name) Template display name |
Version (string) or Version (null) (Version) Semver string, default 1.0.0 | |
| source_type required | string (TemplateSource) Enum: "kamiwaza" "user_repo" "public" |
| visibility | string (TemplateVisibility) Default: "private" Enum: "private" "team" "public" |
| compose_yml required | string (Compose Yml) Raw docker-compose YAML content |
| risk_tier | integer (RiskTier) Default: 0 Enum: 0 1 2 |
| validate_containers | boolean (Validate Containers) Default: false If true, attempt to pull / inspect referenced images on create |
Owner Id (string) or Owner Id (string) or Owner Id (null) (Owner Id) User ID of template owner (injected by API layer) | |
Env Defaults (object) or Env Defaults (null) (Env Defaults) Default environment variables for the template | |
Description (string) or Description (null) (Description) Template description | |
Category (string) or Category (null) (Category) Template category (e.g., internet_data, model_tools) | |
Array of Tags (strings) or Tags (null) (Tags) List of tags for categorization and search | |
Author (string) or Author (null) (Author) Template author/organization | |
License (string) or License (null) (License) Software license (e.g., MIT, Apache-2.0) | |
Homepage (string) or Homepage (null) (Homepage) Homepage/repository URL | |
Image (string) or Image (null) (Image) Docker image reference | |
Array of Capabilities (strings) or Capabilities (null) (Capabilities) List of capabilities provided by this template | |
Array of Required Env Vars (strings) or Required Env Vars (null) (Required Env Vars) List of required environment variables | |
Preferred Model Type (string) or Preferred Model Type (null) (Preferred Model Type) Default: "any" Preferred model type: any, large, reasoning, fast, vl | |
| fail_if_model_type_unavailable | boolean (Fail If Model Type Unavailable) Default: false Fail deployment if preferred model type unavailable |
Preferred Model Name (string) or Preferred Model Name (null) (Preferred Model Name) Specific model name to prefer (substring match) | |
| fail_if_model_name_unavailable | boolean (Fail If Model Name Unavailable) Default: false Fail deployment if preferred model name not found |
Preview Image (string) or Preview Image (null) (Preview Image) Preview image URL for the template | |
Kamiwaza Version (string) or Kamiwaza Version (null) (Kamiwaza Version) Kamiwaza version constraint (e.g., '>=0.7.0', '>=0.7.0,<0.9.0', '*') |
{- "name": "string",
- "version": "string",
- "source_type": "kamiwaza",
- "visibility": "private",
- "compose_yml": "string",
- "risk_tier": 0,
- "validate_containers": false,
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "env_defaults": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "category": "string",
- "tags": [
- "string"
], - "author": "string",
- "license": "string",
- "homepage": "string",
- "image": "string",
- "capabilities": [
- "string"
], - "required_env_vars": [
- "string"
], - "preferred_model_type": "any",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false,
- "preview_image": "string",
- "kamiwaza_version": "string"
}{- "name": "string",
- "version": "string",
- "source_type": "kamiwaza",
- "visibility": "private",
- "compose_yml": "string",
- "risk_tier": 0,
- "validate_containers": false,
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "env_defaults": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "category": "string",
- "tags": [
- "string"
], - "author": "string",
- "license": "string",
- "homepage": "string",
- "image": "string",
- "capabilities": [
- "string"
], - "required_env_vars": [
- "string"
], - "preferred_model_type": "any",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false,
- "preview_image": "string",
- "kamiwaza_version": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "verified": false,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "name": "string",
- "version": "string",
- "source_type": "kamiwaza",
- "visibility": "private",
- "compose_yml": "string",
- "risk_tier": 0,
- "validate_containers": false,
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "env_defaults": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "category": "string",
- "tags": [
- "string"
], - "author": "string",
- "license": "string",
- "homepage": "string",
- "image": "string",
- "capabilities": [
- "string"
], - "required_env_vars": [
- "string"
], - "preferred_model_type": "any",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false,
- "preview_image": "string",
- "kamiwaza_version": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "verified": false,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update a template using API-provided payload data.
| template_id required | string <uuid> (Template Id) |
Name (string) or Name (null) (Name) Template display name | |
Version (string) or Version (null) (Version) Semver string, default 1.0.0 | |
TemplateSource (string) or null | |
TemplateVisibility (string) or null | |
Compose Yml (string) or Compose Yml (null) (Compose Yml) Raw docker-compose YAML content | |
RiskTier (integer) or null | |
Validate Containers (boolean) or Validate Containers (null) (Validate Containers) If true, attempt to pull / inspect referenced images on update | |
Env Defaults (object) or Env Defaults (null) (Env Defaults) Default environment variables for the template | |
Description (string) or Description (null) (Description) Template description | |
Category (string) or Category (null) (Category) Template category | |
Array of Tags (strings) or Tags (null) (Tags) List of tags | |
Author (string) or Author (null) (Author) Template author/organization | |
License (string) or License (null) (License) Software license | |
Homepage (string) or Homepage (null) (Homepage) Homepage/repository URL | |
Image (string) or Image (null) (Image) Docker image reference | |
Array of Capabilities (strings) or Capabilities (null) (Capabilities) Template capabilities | |
Array of Required Env Vars (strings) or Required Env Vars (null) (Required Env Vars) List of required environment variables | |
Preferred Model Type (string) or Preferred Model Type (null) (Preferred Model Type) | |
Fail If Model Type Unavailable (boolean) or Fail If Model Type Unavailable (null) (Fail If Model Type Unavailable) | |
Preferred Model Name (string) or Preferred Model Name (null) (Preferred Model Name) | |
Fail If Model Name Unavailable (boolean) or Fail If Model Name Unavailable (null) (Fail If Model Name Unavailable) | |
Preview Image (string) or Preview Image (null) (Preview Image) Preview image URL | |
Kamiwaza Version (string) or Kamiwaza Version (null) (Kamiwaza Version) Kamiwaza version constraint |
{- "name": "string",
- "version": "string",
- "source_type": "kamiwaza",
- "visibility": "private",
- "compose_yml": "string",
- "risk_tier": 0,
- "validate_containers": true,
- "env_defaults": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "category": "string",
- "tags": [
- "string"
], - "author": "string",
- "license": "string",
- "homepage": "string",
- "image": "string",
- "capabilities": [
- "string"
], - "required_env_vars": [
- "string"
], - "preferred_model_type": "string",
- "fail_if_model_type_unavailable": true,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": true,
- "preview_image": "string",
- "kamiwaza_version": "string"
}{- "name": "string",
- "version": "string",
- "source_type": "kamiwaza",
- "visibility": "private",
- "compose_yml": "string",
- "risk_tier": 0,
- "validate_containers": false,
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "env_defaults": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "category": "string",
- "tags": [
- "string"
], - "author": "string",
- "license": "string",
- "homepage": "string",
- "image": "string",
- "capabilities": [
- "string"
], - "required_env_vars": [
- "string"
], - "preferred_model_type": "any",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false,
- "preview_image": "string",
- "kamiwaza_version": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "verified": false,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Import new remote app templates from info.kamiwaza.ai.
Args: current_user: Authenticated user (injected) audit_ctx: Audit context for logging (injected) sync_request: Optional filter for specific template names stage: Optional stage override (LOCAL/DEV/STAGE/PROD) for support use
Returns: Import results including counts and any errors
Raises: HTTPException: On validation errors or import failures
Array of Names (strings) or Names (null) (Names) Specific template names to sync. If None, syncs all missing templates. | |
Any of Array string | |
{- "names": [
- "string"
]
}nullDeploy a new Tool server from a Docker image.
This endpoint creates a new Tool deployment and returns a public HTTPS URL that can be used with any Tool-compatible client.
Args: request: Deployment configuration including Docker image and environment variables current_user: Authenticated user (injected)
Returns: ToolDeployment: Deployment details including the generated public URL
Raises: HTTPException: If deployment fails
| name required | string (Name) Name for the Tool deployment |
| template_name required | string (Template Name) Name of the tool template to use |
Env Vars (object) or Env Vars (null) (Env Vars) Environment variables | |
| min_copies | integer (Min Copies) Default: 1 Minimum number of instances |
| max_copies | integer (Max Copies) Default: 1 Maximum number of instances |
{- "env_vars": {
- "LOG_LEVEL": "info",
- "TAVILY_API_KEY": "your-api-key"
}, - "name": "my-math-tools",
- "template_name": "tool-websearch"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "min_copies": 1,
- "max_copies": 0,
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "url": "string",
- "deployment_type": "tool"
}Deploy a new Tool server from a Docker image.
This endpoint creates a new Tool deployment and returns a public HTTPS URL that can be used with any Tool-compatible client.
Args: request: Deployment configuration including Docker image and environment variables current_user: Authenticated user (injected)
Returns: ToolDeployment: Deployment details including the generated public URL
Raises: HTTPException: If deployment fails
| name required | string (Name) Name for the Tool deployment |
| template_name required | string (Template Name) Name of the tool template to use |
Env Vars (object) or Env Vars (null) (Env Vars) Environment variables | |
| min_copies | integer (Min Copies) Default: 1 Minimum number of instances |
| max_copies | integer (Max Copies) Default: 1 Maximum number of instances |
{- "env_vars": {
- "LOG_LEVEL": "info",
- "TAVILY_API_KEY": "your-api-key"
}, - "name": "my-math-tools",
- "template_name": "tool-websearch"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "min_copies": 1,
- "max_copies": 0,
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "url": "string",
- "deployment_type": "tool"
}Deploy a Tool server from a pre-built template.
This is a convenience endpoint that combines template lookup and deployment.
Args: template_name: Name of the template (e.g., "tool-websearch") name: Name for your deployment instance env_vars: Optional environment variables (e.g., API keys) current_user: Authenticated user (injected)
Returns: ToolDeployment: Deployment details including the generated public URL
Example: POST /tool/deploy-template/tool-websearch { "name": "my-search-tool", "env_vars": { "TAVILY_API_KEY": "your-api-key" } }
| template_name required | string (Template Name) |
| name required | string (Name) Name for your deployment instance |
Env Vars (object) or Env Vars (null) (Env Vars) Environment variables (e.g., API keys) |
{- "env_vars": {
- "TAVILY_API_KEY": "your-api-key"
}, - "name": "my-search-tool"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "min_copies": 1,
- "max_copies": 0,
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "url": "string",
- "deployment_type": "tool"
}Deploy a Tool server from a pre-built template.
This is a convenience endpoint that combines template lookup and deployment.
Args: template_name: Name of the template (e.g., "tool-websearch") name: Name for your deployment instance env_vars: Optional environment variables (e.g., API keys) current_user: Authenticated user (injected)
Returns: ToolDeployment: Deployment details including the generated public URL
Example: POST /tool/deploy-template/tool-websearch { "name": "my-search-tool", "env_vars": { "TAVILY_API_KEY": "your-api-key" } }
| template_name required | string (Template Name) |
| name required | string (Name) Name for your deployment instance |
Env Vars (object) or Env Vars (null) (Env Vars) Environment variables (e.g., API keys) |
{- "env_vars": {
- "TAVILY_API_KEY": "your-api-key"
}, - "name": "my-search-tool"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "min_copies": 1,
- "max_copies": 0,
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "url": "string",
- "deployment_type": "tool"
}List all Tool deployments.
Returns a list of all active Tool server deployments with their public URLs.
Returns: List[ToolDeployment]: List of Tool deployments
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "min_copies": 1,
- "max_copies": 0,
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "url": "string",
- "deployment_type": "tool"
}
]List all Tool deployments.
Returns a list of all active Tool server deployments with their public URLs.
Returns: List[ToolDeployment]: List of Tool deployments
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "min_copies": 1,
- "max_copies": 0,
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "url": "string",
- "deployment_type": "tool"
}
]Get details of a specific Tool deployment.
Args: deployment_id: UUID of the deployment current_user: Authenticated user (injected)
Returns: ToolDeployment: Deployment details with URL
Raises: HTTPException: If deployment not found
| deployment_id required | string <uuid> (Deployment Id) UUID of the tool deployment |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "min_copies": 1,
- "max_copies": 0,
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "url": "string",
- "deployment_type": "tool"
}Get details of a specific Tool deployment.
Args: deployment_id: UUID of the deployment current_user: Authenticated user (injected)
Returns: ToolDeployment: Deployment details with URL
Raises: HTTPException: If deployment not found
| deployment_id required | string <uuid> (Deployment Id) UUID of the tool deployment |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
- "requested_at": "2019-08-24T14:15:22Z",
- "deployed_at": "2019-08-24T14:15:22Z",
- "status": "UNINITIALIZED",
- "created_at": "2019-08-24T14:15:22Z",
- "compose_yml": "string",
- "min_copies": 1,
- "max_copies": 0,
- "env_vars": {
- "property1": "string",
- "property2": "string"
}, - "url": "string",
- "deployment_type": "tool"
}Stop and remove a tool deployment.
This will terminate the tool server container(s) and clean up associated resources.
Args: deployment_id: UUID of the deployment to stop current_user: Authenticated user (injected)
Returns: dict: Success message
Raises: HTTPException: If deployment not found or stop fails
| deployment_id required | string <uuid> (Deployment Id) UUID of the tool deployment to stop |
{ }Stop and remove a tool deployment.
This will terminate the tool server container(s) and clean up associated resources.
Args: deployment_id: UUID of the deployment to stop current_user: Authenticated user (injected)
Returns: dict: Success message
Raises: HTTPException: If deployment not found or stop fails
| deployment_id required | string <uuid> (Deployment Id) UUID of the tool deployment to stop |
{ }Discover available tool servers and their capabilities.
This endpoint returns information about all deployed tool servers, including their capabilities (when available).
Returns: ToolDiscovery: List of available tool servers
{- "servers": [
- {
- "capabilities": [
- {
- "description": "Math calculations",
- "name": "calculate"
}
], - "created_at": "2024-01-01T00:00:00Z",
- "deployment_id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "math-tools",
- "status": "running",
}
], - "total": 1
}Discover available tool servers and their capabilities.
This endpoint returns information about all deployed tool servers, including their capabilities (when available).
Returns: ToolDiscovery: List of available tool servers
{- "servers": [
- {
- "capabilities": [
- {
- "description": "Math calculations",
- "name": "calculate"
}
], - "created_at": "2024-01-01T00:00:00Z",
- "deployment_id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "math-tools",
- "status": "running",
}
], - "total": 1
}Check the health status of a tool deployment.
This endpoint performs a health check on the specified tool server to verify it's running and responding to the tool protocol.
Args: deployment_id: UUID of the deployment to check current_user: Authenticated user (injected)
Returns: ToolHealthCheck: Health status information
| deployment_id required | string <uuid> (Deployment Id) UUID of the tool deployment |
{- "status": "string",
- "protocol_version": "string",
- "last_checked": "2019-08-24T14:15:22Z",
- "error": "string"
}Check the health status of a tool deployment.
This endpoint performs a health check on the specified tool server to verify it's running and responding to the tool protocol.
Args: deployment_id: UUID of the deployment to check current_user: Authenticated user (injected)
Returns: ToolHealthCheck: Health status information
| deployment_id required | string <uuid> (Deployment Id) UUID of the tool deployment |
{- "status": "string",
- "protocol_version": "string",
- "last_checked": "2019-08-24T14:15:22Z",
- "error": "string"
}List tool templates from database (already imported).
Returns only templates that have been imported into the database, filtered to show only tool templates (names starting with "tool-"). Transforms the data to include Tool-specific fields from env_defaults.
Returns: List[Dict]: Imported tool templates with Tool-specific fields
[- { }
]List tool templates from database (already imported).
Returns only templates that have been imported into the database, filtered to show only tool templates (names starting with "tool-"). Transforms the data to include Tool-specific fields from env_defaults.
Returns: List[Dict]: Imported tool templates with Tool-specific fields
[- { }
]Update an existing tool template (local changes, no remote fetch).
| template_id required | string <uuid> (Template Id) |
Name (string) or Name (null) (Name) Template display name | |
Version (string) or Version (null) (Version) Semver string, default 1.0.0 | |
TemplateSource (string) or null | |
TemplateVisibility (string) or null | |
Compose Yml (string) or Compose Yml (null) (Compose Yml) Raw docker-compose YAML content | |
RiskTier (integer) or null | |
Validate Containers (boolean) or Validate Containers (null) (Validate Containers) If true, attempt to pull / inspect referenced images on update | |
Env Defaults (object) or Env Defaults (null) (Env Defaults) Default environment variables for the template | |
Description (string) or Description (null) (Description) Template description | |
Category (string) or Category (null) (Category) Template category | |
Array of Tags (strings) or Tags (null) (Tags) List of tags | |
Author (string) or Author (null) (Author) Template author/organization | |
License (string) or License (null) (License) Software license | |
Homepage (string) or Homepage (null) (Homepage) Homepage/repository URL | |
Image (string) or Image (null) (Image) Docker image reference | |
Array of Capabilities (strings) or Capabilities (null) (Capabilities) Template capabilities | |
Array of Required Env Vars (strings) or Required Env Vars (null) (Required Env Vars) List of required environment variables | |
Preferred Model Type (string) or Preferred Model Type (null) (Preferred Model Type) | |
Fail If Model Type Unavailable (boolean) or Fail If Model Type Unavailable (null) (Fail If Model Type Unavailable) | |
Preferred Model Name (string) or Preferred Model Name (null) (Preferred Model Name) | |
Fail If Model Name Unavailable (boolean) or Fail If Model Name Unavailable (null) (Fail If Model Name Unavailable) | |
Preview Image (string) or Preview Image (null) (Preview Image) Preview image URL | |
Kamiwaza Version (string) or Kamiwaza Version (null) (Kamiwaza Version) Kamiwaza version constraint |
{- "name": "string",
- "version": "string",
- "source_type": "kamiwaza",
- "visibility": "private",
- "compose_yml": "string",
- "risk_tier": 0,
- "validate_containers": true,
- "env_defaults": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "category": "string",
- "tags": [
- "string"
], - "author": "string",
- "license": "string",
- "homepage": "string",
- "image": "string",
- "capabilities": [
- "string"
], - "required_env_vars": [
- "string"
], - "preferred_model_type": "string",
- "fail_if_model_type_unavailable": true,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": true,
- "preview_image": "string",
- "kamiwaza_version": "string"
}{- "name": "string",
- "version": "string",
- "source_type": "kamiwaza",
- "visibility": "private",
- "compose_yml": "string",
- "risk_tier": 0,
- "validate_containers": false,
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "env_defaults": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "category": "string",
- "tags": [
- "string"
], - "author": "string",
- "license": "string",
- "homepage": "string",
- "image": "string",
- "capabilities": [
- "string"
], - "required_env_vars": [
- "string"
], - "preferred_model_type": "any",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false,
- "preview_image": "string",
- "kamiwaza_version": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "verified": false,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update an existing tool template (local changes, no remote fetch).
| template_id required | string <uuid> (Template Id) |
Name (string) or Name (null) (Name) Template display name | |
Version (string) or Version (null) (Version) Semver string, default 1.0.0 | |
TemplateSource (string) or null | |
TemplateVisibility (string) or null | |
Compose Yml (string) or Compose Yml (null) (Compose Yml) Raw docker-compose YAML content | |
RiskTier (integer) or null | |
Validate Containers (boolean) or Validate Containers (null) (Validate Containers) If true, attempt to pull / inspect referenced images on update | |
Env Defaults (object) or Env Defaults (null) (Env Defaults) Default environment variables for the template | |
Description (string) or Description (null) (Description) Template description | |
Category (string) or Category (null) (Category) Template category | |
Array of Tags (strings) or Tags (null) (Tags) List of tags | |
Author (string) or Author (null) (Author) Template author/organization | |
License (string) or License (null) (License) Software license | |
Homepage (string) or Homepage (null) (Homepage) Homepage/repository URL | |
Image (string) or Image (null) (Image) Docker image reference | |
Array of Capabilities (strings) or Capabilities (null) (Capabilities) Template capabilities | |
Array of Required Env Vars (strings) or Required Env Vars (null) (Required Env Vars) List of required environment variables | |
Preferred Model Type (string) or Preferred Model Type (null) (Preferred Model Type) | |
Fail If Model Type Unavailable (boolean) or Fail If Model Type Unavailable (null) (Fail If Model Type Unavailable) | |
Preferred Model Name (string) or Preferred Model Name (null) (Preferred Model Name) | |
Fail If Model Name Unavailable (boolean) or Fail If Model Name Unavailable (null) (Fail If Model Name Unavailable) | |
Preview Image (string) or Preview Image (null) (Preview Image) Preview image URL | |
Kamiwaza Version (string) or Kamiwaza Version (null) (Kamiwaza Version) Kamiwaza version constraint |
{- "name": "string",
- "version": "string",
- "source_type": "kamiwaza",
- "visibility": "private",
- "compose_yml": "string",
- "risk_tier": 0,
- "validate_containers": true,
- "env_defaults": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "category": "string",
- "tags": [
- "string"
], - "author": "string",
- "license": "string",
- "homepage": "string",
- "image": "string",
- "capabilities": [
- "string"
], - "required_env_vars": [
- "string"
], - "preferred_model_type": "string",
- "fail_if_model_type_unavailable": true,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": true,
- "preview_image": "string",
- "kamiwaza_version": "string"
}{- "name": "string",
- "version": "string",
- "source_type": "kamiwaza",
- "visibility": "private",
- "compose_yml": "string",
- "risk_tier": 0,
- "validate_containers": false,
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "env_defaults": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "category": "string",
- "tags": [
- "string"
], - "author": "string",
- "license": "string",
- "homepage": "string",
- "image": "string",
- "capabilities": [
- "string"
], - "required_env_vars": [
- "string"
], - "preferred_model_type": "any",
- "fail_if_model_type_unavailable": false,
- "preferred_model_name": "string",
- "fail_if_model_name_unavailable": false,
- "preview_image": "string",
- "kamiwaza_version": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "verified": false,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Import new remote tool templates from info.kamiwaza.ai.
Args: sync_request: Optional filter for specific template names current_user: Authenticated user (injected) template_service: Template service (injected) stage: Optional stage override (LOCAL/DEV/STAGE/PROD) for support use
Returns: Import results including counts and any errors
Raises: HTTPException: On validation errors or import failures
Array of Names (strings) or Names (null) (Names) Specific template names to sync. If None, syncs all missing templates. | |
Any of Array string | |
{- "names": [
- "string"
]
}nullImport new remote tool templates from info.kamiwaza.ai.
Args: sync_request: Optional filter for specific template names current_user: Authenticated user (injected) template_service: Template service (injected) stage: Optional stage override (LOCAL/DEV/STAGE/PROD) for support use
Returns: Import results including counts and any errors
Raises: HTTPException: On validation errors or import failures
Array of Names (strings) or Names (null) (Names) Specific template names to sync. If None, syncs all missing templates. | |
Any of Array string | |
{- "names": [
- "string"
]
}nullGet public security configuration.
Returns configuration needed by the frontend to render:
This endpoint is public and does not require authentication.
Returns: SecurityConfigResponse: Configuration object containing: - consent_enabled: Whether consent gate is active - consent_content: HTML content for consent modal (if enabled) - banner_enabled: Whether classification banners are active - banner_text: Text to display in banners (if enabled) - banner_color: Hex color code for banners (if enabled)
{- "consent_enabled": true,
- "consent_content": "string",
- "consent_button_label": "string",
- "banner_enabled": true,
- "banner_top_text": "string",
- "banner_top_color": "string",
- "banner_bottom_text": "string",
- "banner_bottom_color": "string"
}Get public security configuration.
Returns configuration needed by the frontend to render:
This endpoint is public and does not require authentication.
Returns: SecurityConfigResponse: Configuration object containing: - consent_enabled: Whether consent gate is active - consent_content: HTML content for consent modal (if enabled) - banner_enabled: Whether classification banners are active - banner_text: Text to display in banners (if enabled) - banner_color: Hex color code for banners (if enabled)
{- "consent_enabled": true,
- "consent_content": "string",
- "consent_button_label": "string",
- "banner_enabled": true,
- "banner_top_text": "string",
- "banner_top_color": "string",
- "banner_bottom_text": "string",
- "banner_bottom_color": "string"
}Record consent acceptance.
Records that a user has accepted the consent terms. This is logged for audit purposes with client IP and user agent.
This endpoint is public as it must be accessible before login.
Args: request: FastAPI Request object used to extract client IP and user agent.
Returns: ConsentAcceptResponse: Confirmation object containing: - accepted: Boolean indicating consent was recorded - message: Status message
{- "accepted": true,
- "message": "string"
}Record consent acceptance.
Records that a user has accepted the consent terms. This is logged for audit purposes with client IP and user agent.
This endpoint is public as it must be accessible before login.
Args: request: FastAPI Request object used to extract client IP and user agent.
Returns: ConsentAcceptResponse: Confirmation object containing: - accepted: Boolean indicating consent was recorded - message: Status message
{- "accepted": true,
- "message": "string"
}Get embeddable JavaScript bundle for classification banners and consent gate.
Returns a self-contained JavaScript file that apps can include to automatically display classification banners and enforce consent acceptance. The script:
Usage in apps:
Security features:
Returns: Response: JavaScript file with content-type application/javascript. Cached for 5 minutes via Cache-Control header.
nullGet embeddable JavaScript bundle for classification banners and consent gate.
Returns a self-contained JavaScript file that apps can include to automatically display classification banners and enforce consent acceptance. The script:
Usage in apps:
Security features:
Returns: Response: JavaScript file with content-type application/javascript. Cached for 5 minutes via Cache-Control header.
null