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",
- "linked_subject_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}
]Resolve a user by external_id (Keycloak sub) or local DB id.
Useful for admin UIs that need to display owner information when owner_user_id stores a Keycloak sub rather than a local PK.
| identifier required | string (Identifier) |
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",
- "linked_subject_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",
- "linked_subject_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",
- "linked_subject_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",
- "linked_subject_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",
- "linked_subject_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",
- "linked_subject_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 | |
Redirect (string) or Redirect (null) (Redirect) Where to redirect after login, used by ForwardAuth | |
Provider (string) or Provider (null) (Provider) Identity provider hint (e.g., 'google') |
nullAuthorization (string) or Authorization (null) (Authorization) |
| target_kind | string (Target Kind) Default: "runtime_app" Enum: "runtime_app" "runtime_tool" |
| target_id required | string (Target Id) [ 1 .. 255 ] characters |
| requested_workroom_id required | string (Requested Workroom Id) [ 1 .. 64 ] characters |
| launch_path | string (Launch Path) Default: "/" |
{- "target_kind": "runtime_app",
- "target_id": "string",
- "requested_workroom_id": "string",
- "launch_path": "/"
}{- "launch_code": "string",
- "launch_url": "string",
- "expires_in": 0
}Authorization (string) or Authorization (null) (Authorization) |
| launch_code required | string (Launch Code) non-empty |
{- "launch_code": "string"
}{- "access_token": "string",
- "refresh_token": "string",
- "token_type": "bearer",
- "expires_in": 0,
- "refresh_expires_in": 0,
- "workroom_id": "string",
- "target_kind": "runtime_app",
- "target_id": "string"
}Authorization (string) or Authorization (null) (Authorization) |
{- "access_token": "string",
- "refresh_token": "string",
- "token_type": "bearer",
- "expires_in": 0,
- "refresh_expires_in": 0,
- "workroom_id": "string",
- "target_kind": "runtime_app",
- "target_id": "string"
}Authorization (string) or Authorization (null) (Authorization) |
{- "scope_hierarchy": [
- "string"
], - "scope_labels": {
- "property1": "string",
- "property2": "string"
}, - "available_scopes": [
- "string"
], - "default_scope": "string",
- "ttl": {
- "default_seconds": 0,
- "min_seconds": 0,
- "max_seconds": 0
}
}Create 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": 60,
- "scope": "string",
- "aud": "string"
}{- "token": "string",
- "pat": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "jti": "string",
- "owner_id": "string",
- "name": "string",
- "scope": "string",
- "aud": "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": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "jti": "string",
- "owner_id": "string",
- "name": "string",
- "scope": "string",
- "aud": "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
}| session_id required | string (Session Id) |
Authorization (string) or Authorization (null) (Authorization) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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",
- "linked_subject_id": "string",
- "full_name": "string",
- "name": "string",
- "is_superuser": false,
- "created_at": "string",
- "updated_at": "string"
}
]Resolve a user by external_id (Keycloak sub) or local DB id.
Useful for admin UIs that need to display owner information when owner_user_id stores a Keycloak sub rather than a local PK.
| identifier required | string (Identifier) |
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",
- "linked_subject_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",
- "linked_subject_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",
- "linked_subject_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",
- "linked_subject_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",
- "linked_subject_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",
- "linked_subject_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
}Ingress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
| path required | string |
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
| path required | string |
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
| path required | string |
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
| path required | string |
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
| path required | string |
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
| path required | string |
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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) |
nullIngress auth validation endpoint for ForwardAuth / ext_authz callers.
Called by the ingress gateway to authenticate and authorize incoming requests before they reach an upstream service.
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
}| session_id required | string (Session Id) |
Authorization (string) or Authorization (null) (Authorization) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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) ^(can_access|cleared_for|connector_operator|e... |
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",
- "input": null,
- "ctx": { }
}
]
}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",
- "input": null,
- "ctx": { }
}
]
}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",
- "input": null,
- "ctx": { }
}
]
}required | object (SubjectModel) |
| relation required | string (Relation) ^(can_access|cleared_for|connector_operator|e... |
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 is an admin repair endpoint for platform-level deployment state.
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",
- "hosted": "local",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "modified_timestamp": "2019-08-24T14:15:22Z",
- "files_being_downloaded": [ ]
}Delete a model by ID.
Authorization is handled at the service layer via @guarded decorator. The decorator reads request/context from middleware-populated context vars, so no explicit auth params needed here.
When auth is disabled (KAMIWAZA_USE_AUTH=false), the guard is bypassed, allowing direct calls without requester context.
| model_id required | string <uuid> (Model Id) |
| force | boolean (Force) Default: false Tear down active deployments instead of refusing deletion (ENG-2279). |
{ }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.
| force_replace_credentials | boolean (Force Replace Credentials) Default: false When the deterministic Catalog secret name for this endpoint is already taken, rotate the existing secret's value in place instead of returning 409. Other models referencing the same URN will pick up the rotated credential. |
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",
- "hosted": "local",
- "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",
- "hosted": "local",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "modified_timestamp": "2019-08-24T14:15:22Z",
- "files_being_downloaded": [ ]
}
]Delete a model file.
Authorization is handled at the service layer via @guarded decorator with an id_resolver that maps model_file_id -> model_id.
| model_file_id required | string <uuid> (Model File Id) |
{ }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",
- "storage_digest": "string",
- "last_push_error": "string",
- "last_push_error_at": "2019-08-24T14:15:22Z"
}Search for models based on a given search request.
Args: request (ModelSearchRequest): The search criteria for models.
Returns: ModelSearchResponse: Search results with graceful degradation info if hub rate limited.
| 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",
- "hosted": "local",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "modified_timestamp": "2019-08-24T14:15:22Z",
- "files_being_downloaded": [ ]
}
}
], - "total_results": 0,
- "hub_error": "string",
- "hub_results_partial": false,
- "local_results_only": false
}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",
- "storage_digest": "string",
- "last_push_error": "string",
- "last_push_error_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",
- "storage_digest": "string",
- "last_push_error": "string",
- "last_push_error_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",
- "storage_digest": "string",
- "last_push_error": "string",
- "last_push_error_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) | |
Deployment Target (string) or Deployment Target (null) (Deployment Target) |
{- "model": "string",
- "version": "string",
- "hub": "string",
- "files_to_download": [
- "string"
], - "deploy_after_download": true,
- "novice_selected_context": 0,
- "deployment_target": "string"
}{ }Create a new model configuration.
| force_replace_credentials | boolean (Force Replace Credentials) Default: false Rotate the existing Catalog secret value in place if the deterministic name collides. See |
| 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) |
| force_replace_credentials | boolean (Force Replace Credentials) Default: false Rotate the existing Catalog secret value in place if the deterministic name collides. See |
| 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 a model download.
| model_file_id required | string <uuid> (Model File Id) |
{- "result": true,
- "message": "string",
- "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767",
- "cancelled_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) | |
Deployment Target (string) or Deployment Target (null) (Deployment Target) |
{- "model": "string",
- "version": "string",
- "hub": "string",
- "files_to_download": [
- "string"
], - "deploy_after_download": true,
- "novice_selected_context": 0,
- "deployment_target": "string"
}{ }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 |
{ }Refresh model guide data from external endpoint. This endpoint will fetch the latest guide data from Kamiwaza infrastructure.
Returns: dict: A message indicating the refresh status.
{ }{- "mode": "path",
- "base_host": "cluster.local",
- "service_prefixes": {
- "property1": "string",
- "property2": "string"
}, - "enabled_services": {
- "property1": true,
- "property2": true
}, - "updated_at": "string"
}{- "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) Base hostname override | |
Service Prefixes (object) or Service Prefixes (null) (Service Prefixes) Service prefix overrides | |
Enabled Services (object) or Enabled Services (null) (Enabled Services) Service enable/disable overrides |
{- "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) Base hostname override | |
Service Prefixes (object) or Service Prefixes (null) (Service Prefixes) Service prefix overrides | |
Enabled Services (object) or Enabled Services (null) (Enabled Services) Service enable/disable overrides |
{- "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"
}{- "developerDiagnosticsEnabled": false,
- "environment": "",
- "authMode": "unknown",
- "images": {
- "summary": "unknown",
- "components": {
- "property1": {
- "source": "unknown",
- "imageRef": "",
- "observedImageId": "string",
- "build": {
- "tag": "string",
- "branch": "string",
- "commit": "string",
- "builtAt": "string"
}, - "dataSource": "helm"
}, - "property2": {
- "source": "unknown",
- "imageRef": "",
- "observedImageId": "string",
- "build": {
- "tag": "string",
- "branch": "string",
- "commit": "string",
- "builtAt": "string"
}, - "dataSource": "helm"
}
}
}
}{- "developerDiagnosticsEnabled": false,
- "environment": "",
- "authMode": "unknown",
- "images": {
- "summary": "unknown",
- "components": {
- "property1": {
- "source": "unknown",
- "imageRef": "",
- "observedImageId": "string",
- "build": {
- "tag": "string",
- "branch": "string",
- "commit": "string",
- "builtAt": "string"
}, - "dataSource": "helm"
}, - "property2": {
- "source": "unknown",
- "imageRef": "",
- "observedImageId": "string",
- "build": {
- "tag": "string",
- "branch": "string",
- "commit": "string",
- "builtAt": "string"
}, - "dataSource": "helm"
}
}
}
}Admin-gated HTTP wrapper for starting Ray.
Address (string) or Address (null) (Address) |
Runtime Env (object) or Runtime Env (null) (Runtime Env) | |
Options (object) or Options (null) (Options) |
{- "runtime_env": { },
- "options": { }
}nullInternal API for controllers to submit generated Greymatter route intents.
Authorization (string) or Authorization (null) (Authorization) | |
X-Kamiwaza-Route-Intent-Token (string) or X-Kamiwaza-Route-Intent-Token (null) (X-Kamiwaza-Route-Intent-Token) |
| route_id required | string (Route Id) Stable generated route id |
| owner_kind required | string (Owner Kind) Source object kind, e.g. extension |
| owner_id required | string (Owner Id) Source object id |
| public_path required | string (Public Path) External path prefix |
required | object (GreymatterRouteBackendRequest) Backend service target that Greymatter should route to |
Rewrite Path (string) or Rewrite Path (null) (Rewrite Path) Optional upstream rewrite path | |
| auth_mode | string (RouteAuthMode) Default: "protected" Enum: "protected" "bypass" Whether the route is protected by gateway auth |
object (Headers) Request headers injected by the gateway route |
{- "route_id": "string",
- "owner_kind": "string",
- "owner_id": "string",
- "public_path": "string",
- "backend": {
- "service_name": "string",
- "namespace": "string",
- "port": 1,
- "host": "",
- "target_listener": "",
- "raw": false
}, - "rewrite_path": "string",
- "auth_mode": "protected",
- "headers": {
- "property1": "string",
- "property2": "string"
}
}{- "route_id": "string",
- "state": "string",
- "commit_sha": "string",
- "reason": ""
}Internal API for controllers to remove generated Greymatter route intents.
| route_id required | string (Route Id) ^[A-Za-z0-9_.-]+$ |
Authorization (string) or Authorization (null) (Authorization) | |
X-Kamiwaza-Route-Intent-Token (string) or X-Kamiwaza-Route-Intent-Token (null) (X-Kamiwaza-Route-Intent-Token) |
{- "route_id": "string",
- "state": "string",
- "commit_sha": "string",
- "reason": ""
}Estimate 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) Optional explicit override of the VRAM allocation, in bytes of vram for each copy of the deployed model. When omitted, the platform computes it from the VRAM estimate. An explicit value is honored on both the profiled and estimate-unavailable paths; on the estimate-unavailable path it is honored only alongside an explicit gpu_allocation (gpu_allocation is what makes the deployment schedulable). Because it is byte-denominated, a value below 1 byte is ignored rather than truncated to 0. | |
Gpu Allocation (number) or Gpu Allocation (null) (Gpu Allocation) Optional explicit override of the GPU allocation, as a fraction of a node GPU for ray serve allocation. When omitted, the platform computes it from the VRAM estimate. An explicit value is honored even when the estimate is unavailable (e.g. an unprofiled model), so it can be used to deploy a model the platform cannot size automatically. A value of 0 means CPU. | |
| 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 |
Deployment Target (string) or Deployment Target (null) (Deployment Target) Target environment: 'auto' (default), 'host', 'docker', 'k8s'. Controls where inference runs. | |
Runtime Env (object) or Runtime Env (null) (Runtime Env) ENG-4068: per-deployment runtime environment overrides. Highest precedence layer above admin overrides and the platform GPU cascade. Keys are env var names. Values are strings (set), or null (suppress a lower-layer key). Reserved keys (LD_LIBRARY_PATH, etc.) are adapter-owned and cannot be set from this layer; attempts log at WARN and are dropped. |
{- "autoscaling": false,
- "engine_name": "vllm",
- "lb_port": 0,
- "m_config_id": "22222222-2222-2222-2222-222222222222",
- "m_id": "11111111-1111-1111-1111-111111111111",
- "max_copies": 2,
- "min_copies": 1,
- "starting_copies": 1
}{ }Deploy a model asynchronously (ENG-6530): respond 202 Accepted with the deployment id as soon as the deployment record is created and the launch is kicked off in background. The body is the bare UUID existing clients already parse. Poll GET /serving/deployments for progress; launch failures land on the row as a terminal status with last_error_message. Validation/admission errors raised before the record exists still fail this request synchronously.
Args: create_model_request (CreateModelDeployment): The deployment request containing model configuration.
Returns: Union[UUID, bool]: The UUID of the accepted deployment. Failures before the record exists never return False to the client — they raise HTTPException (404/409/5xx) from this route instead; the bool in the response model is legacy contract surface only.
| 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) Optional explicit override of the VRAM allocation, in bytes of vram for each copy of the deployed model. When omitted, the platform computes it from the VRAM estimate. An explicit value is honored on both the profiled and estimate-unavailable paths; on the estimate-unavailable path it is honored only alongside an explicit gpu_allocation (gpu_allocation is what makes the deployment schedulable). Because it is byte-denominated, a value below 1 byte is ignored rather than truncated to 0. | |
Gpu Allocation (number) or Gpu Allocation (null) (Gpu Allocation) Optional explicit override of the GPU allocation, as a fraction of a node GPU for ray serve allocation. When omitted, the platform computes it from the VRAM estimate. An explicit value is honored even when the estimate is unavailable (e.g. an unprofiled model), so it can be used to deploy a model the platform cannot size automatically. A value of 0 means CPU. | |
| 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 |
Deployment Target (string) or Deployment Target (null) (Deployment Target) Target environment: 'auto' (default), 'host', 'docker', 'k8s'. Controls where inference runs. | |
Runtime Env (object) or Runtime Env (null) (Runtime Env) ENG-4068: per-deployment runtime environment overrides. Highest precedence layer above admin overrides and the platform GPU cascade. Keys are env var names. Values are strings (set), or null (suppress a lower-layer key). Reserved keys (LD_LIBRARY_PATH, etc.) are adapter-owned and cannot be set from this layer; attempts log at WARN and are dropped. |
{- "autoscaling": false,
- "engine_name": "vllm",
- "lb_port": 0,
- "m_config_id": "22222222-2222-2222-2222-222222222222",
- "m_id": "11111111-1111-1111-1111-111111111111",
- "max_copies": 2,
- "min_copies": 1,
- "starting_copies": 1
}trueList all model deployments, optionally filtered by model_id and/or capability.
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.
capability (Optional[List[str]]): One or more capabilities. Pass as
repeated query params — ?capability=chat&capability=transcribe
returns deployments serving either. Supported values are listed
in engine_selector.KNOWN_CAPABILITIES. Unknown values 422.
Returns: List[UIModelDeployment]: A list of model deployments with current status.
Model Id (string) or Model Id (null) (Model Id) | |
Array of Capability (strings) or Capability (null) (Capability) |
[- {
- "autoscaling": false,
- "engine_name": "vllm",
- "lb_port": 0,
- "m_config_id": "22222222-2222-2222-2222-222222222222",
- "m_id": "11111111-1111-1111-1111-111111111111",
- "max_copies": 2,
- "min_copies": 1,
- "starting_copies": 1
}
]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) |
{- "autoscaling": false,
- "engine_name": "vllm",
- "lb_port": 0,
- "m_config_id": "22222222-2222-2222-2222-222222222222",
- "m_id": "11111111-1111-1111-1111-111111111111",
- "max_copies": 2,
- "min_copies": 1,
- "starting_copies": 1
}Get 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"
}List available container logs for a specific engine type (vllm, llamacpp, etc.).
| engine_type required | string (Engine Type) |
{- "engine_type": "string",
- "logs": [
- {
- "property1": "string",
- "property2": "string"
}
]
}Probe an OpenAI-compatible provider and return its advertised model list.
Credentials supplied via api_key are used only for this probe and
discarded. Credentials supplied via credential_secret_urn are
resolved server-side through CatalogService — the plaintext never
round-trips through the client. Gated at AuthenticatedUser to match
the sibling create_model path that actually persists registrations;
tightening this surface coherently is tracked separately.
| base_url required | string <uri> (Base Url) [ 1 .. 2083 ] characters Provider base URL. For Azure hosts the probe hits the data-plane deployments-listing route; for everything else, /v1/models. |
Api Key (string) or Api Key (null) (Api Key) Bearer token used only for this probe; not persisted. | |
Credential Secret Urn (string) or Credential Secret Urn (null) (Credential Secret Urn) Reference to an already-stored Catalog secret. The route handler resolves this server-side (CatalogService.get_secret_value) and uses the resulting plaintext to probe the provider — the URN value never round-trips through the client. | |
Provider (string) or Provider (null) (Provider) Vendor the operator selected in the wizard. Lets discovery honor that choice for a host the URL-suffix map can't classify — e.g. an Azure inference proxy on a private/sovereign network is probed as Azure instead of falling back to the generic /v1/models path. Optional; when unset the strategy is derived from the URL alone. |
{- "api_key": "string",
- "credential_secret_urn": "string",
- "provider": "azure"
}{- "available_models": [
- {
- "id": "string",
- "protocol": "openai_compatible",
- "api_version": "string",
- "underlying_model": "string"
}
]
}Compatibility endpoint for legacy VectorDB API callers.
Engine (string) or Engine (null) (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"
}
]T2.5: bind an AttributeGate to a dataset.
Auth (M3 Proactive Security Checklist §4.4.3.1):
Side effects:
| urn required | string (Urn) |
| type required | string (Type) |
object (Config) Default: {} |
{- "type": "string",
- "config": { }
}{- "dataset_urn": "string",
- "type": "string",
- "config": { },
- "gate_name": "string",
- "kind": "string"
}T2.5: read the active AttributeGate binding for a dataset.
Auth: viewer or owner on dataset:{urn} (ReBAC). Symmetric with workrooms/api.py's get_workroom shape.
Returns 404 not_configured when the dataset exists but has no
gate, and 404 dataset_not_found when the URN itself is unknown.
Distinguishing these matters for SDK callers — the first is a
"no policy yet" signal, the second is a typo.
| urn required | string (Urn) |
{- "dataset_urn": "string",
- "type": "string",
- "config": { },
- "gate_name": "string",
- "kind": "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"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.
When ReBAC is enabled, results are filtered to the datasets that are canonically visible to the caller under the resolved requester and workroom posture, regardless of caller origin.
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",
- "workroom_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]List datasets, optionally filtering by query or other properties.
When ReBAC is enabled, results are filtered to the datasets that are canonically visible to the caller under the resolved requester and workroom posture, regardless of caller origin.
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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete dataset by URN using query parameter.
| urn required | string (Urn) Dataset URN |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}Delete dataset by URN using query parameter.
| urn required | string (Urn) Dataset URN |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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 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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "input": null,
- "ctx": { }
}
]
}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",
- "input": null,
- "ctx": { }
}
]
}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 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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete dataset by URN in path (BACKWARD COMPATIBLE).
| dataset_urn required | string (Dataset Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}Delete dataset by URN in path (BACKWARD COMPATIBLE).
| dataset_urn required | string (Dataset Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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 query parameter.
| urn required | string (Urn) Container URN |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}Delete container by URN using query parameter.
| urn required | string (Urn) Container URN |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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"
}nullRemove a dataset from a container by URN using query parameters.
| container_urn required | string (Container Urn) Container URN |
| dataset_urn required | string (Dataset Urn) Dataset URN |
nullRemove a dataset from a container by URN using query parameters.
| container_urn required | string (Container Urn) Container URN |
| dataset_urn required | string (Dataset Urn) Dataset URN |
nullGet 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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "input": null,
- "ctx": { }
}
]
}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",
- "input": null,
- "ctx": { }
}
]
}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) |
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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}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"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"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",
- "workroom_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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 |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}Delete a secret by URN using query parameter (requires permission).
| urn required | string (Urn) Secret URN |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "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) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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.
When ReBAC is enabled, results are filtered to the datasets that are canonically visible to the caller under the resolved requester and workroom posture, regardless of caller origin.
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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete dataset by URN using query parameter.
| urn required | string (Urn) Dataset URN |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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 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",
- "workroom_id": "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",
- "workroom_id": "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",
- "input": null,
- "ctx": { }
}
]
}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 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",
- "workroom_id": "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",
- "workroom_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete dataset by URN in path (BACKWARD COMPATIBLE).
| dataset_urn required | string (Dataset Urn) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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",
- "workroom_id": "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",
- "workroom_id": "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 query parameter.
| urn required | string (Urn) Container URN |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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"
}nullRemove a dataset from a container by URN using query parameters.
| container_urn required | string (Container Urn) Container URN |
| dataset_urn required | string (Dataset Urn) Dataset URN |
nullGet 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",
- "workroom_id": "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",
- "workroom_id": "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",
- "input": null,
- "ctx": { }
}
]
}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) |
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",
- "workroom_id": "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",
- "workroom_id": "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",
- "workroom_id": "string",
- "sub_containers": [ ],
- "datasets": [ ],
- "datasets_next_cursor": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}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"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",
- "workroom_id": "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",
- "workroom_id": "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 |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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",
- "workroom_id": "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",
- "workroom_id": "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) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}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 an embedding via the configured runtime embedding service.
| text required | string (Text) <= 32768 characters Text to generate embedding for |
Model (string) or Model (null) (Model) Model name to use | |
Provider Type (string) or Provider Type (null) (Provider Type) Deprecated. Requests are always served by the runtime embedding service. | |
Device (string) or Device (null) (Device) Deprecated. Requests are always served by the runtime embedding service. |
{- "text": "string",
- "model": "string",
- "provider_type": "string",
- "device": "string"
}{- "embedding": [
- 0
], - "offset": 0
}Create an embedding via the configured runtime embedding service.
| text required | string (Text) <= 32768 characters Text to generate embedding for |
Model (string) or Model (null) (Model) Model name to use | |
Provider Type (string) or Provider Type (null) (Provider Type) Deprecated. Requests are always served by the runtime embedding service. | |
Device (string) or Device (null) (Device) Deprecated. Requests are always served by the runtime embedding service. |
{- "text": "string",
- "model": "string",
- "provider_type": "string",
- "device": "string"
}{- "embedding": [
- 0
], - "offset": 0
}Deprecated GET embedding endpoint.
This compatibility path includes raw text in the URL and may expose sensitive content through browser history, proxies, or access logs. Prefer POST /generate.
| text required | string (Text) |
Model (string) or Model (null) (Model) Model name | |
Provider Type (string) or Provider Type (null) (Provider Type) Deprecated. Requests are always served by the runtime embedding service. | |
Device (string) or Device (null) (Device) Deprecated. Requests are always served by the runtime embedding service. | |
| return_offset | boolean (Return Offset) Default: false |
{- "embedding": [
- 0
], - "offset": 0
}Deprecated GET embedding endpoint.
This compatibility path includes raw text in the URL and may expose sensitive content through browser history, proxies, or access logs. Prefer POST /generate.
| text required | string (Text) |
Model (string) or Model (null) (Model) Model name | |
Provider Type (string) or Provider Type (null) (Provider Type) Deprecated. Requests are always served by the runtime embedding service. | |
Device (string) or Device (null) (Device) Deprecated. Requests are always served by the runtime embedding service. | |
| return_offset | boolean (Return Offset) Default: false |
{- "embedding": [
- 0
], - "offset": 0
}Chunk text via the configured runtime embedding service.
Model (string) or Model (null) (Model) Model name to use | |
Provider Type (string) or Provider Type (null) (Provider Type) Deprecated. Requests are always served by the runtime embedding service. | |
Device (string) or Device (null) (Device) Deprecated. Requests are always served by the runtime embedding service. |
| 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 via the configured runtime embedding service.
Model (string) or Model (null) (Model) Model name to use | |
Provider Type (string) or Provider Type (null) (Provider Type) Deprecated. Requests are always served by the runtime embedding service. | |
Device (string) or Device (null) (Device) Deprecated. Requests are always served by the runtime embedding service. |
| 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 via the configured runtime embedding service.
Model (string) or Model (null) (Model) Model name to use | |
Provider Type (string) or Provider Type (null) (Provider Type) Deprecated. Requests are always served by the runtime embedding service. | |
Device (string) or Device (null) (Device) Deprecated. Requests are always served by the runtime embedding service. | |
| batch_size | integer (Batch Size) Default: 64 Deprecated. This value is ignored; batching is controlled by the runtime embedding service. |
[- "string"
][- [
- 0
]
]Embed chunks via the configured runtime embedding service.
Model (string) or Model (null) (Model) Model name to use | |
Provider Type (string) or Provider Type (null) (Provider Type) Deprecated. Requests are always served by the runtime embedding service. | |
Device (string) or Device (null) (Device) Deprecated. Requests are always served by the runtime embedding service. | |
| batch_size | integer (Batch Size) Default: 64 Deprecated. This value is ignored; batching is controlled by the runtime embedding service. |
[- "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"
}| location_id required | string <uuid> (Location 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",
- "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",
- "location_name": "string"
}| cluster_id required | string <uuid> (Cluster Id) |
{- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "name": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "location_name": "string"
}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",
- "location_name": "string"
}
]required | Node Id (string) or Node Id (string) (Node Id) |
{- "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
}
]| hardware_id required | string <uuid> (Hardware Id) |
{- "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.
Auth widened by ENG-4697 / T5.20: viewer or owner on cluster:
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 |
Array of objects (Remote Ips) List of remote endpoints. Each entry: {'ip': | |
| preshared_key required | string (Preshared Key) Pre-shared key for authentication. Required — both clusters must use the same PSK. |
Callback Hostname (string) or Callback Hostname (null) (Callback Hostname) Optional hostname/IP for remote cluster to use for callbacks | |
| role | string (Role) Default: "initiator" Enum: "initiator" "receiver" Federation role: 'initiator' or 'receiver'. Receiver creates a WAITING record. |
Local Kc Issuer Url (string) or Local Kc Issuer Url (null) (Local Kc Issuer Url) Optional Keycloak realm issuer URL for THIS cluster's brokering identity (e.g. https://host/realms/kamiwaza). When set, overrides the cluster's own auth issuer (AUTH_GATEWAY_JWT_ISSUER) for this pair. | |
Local Kc Jwks Url (string) or Local Kc Jwks Url (null) (Local Kc Jwks Url) Optional Keycloak JWKS URL for THIS cluster's brokering identity. When set, overrides the issuer-derived brokering JWKS URL for this pair. | |
Local Broker Client Id (string) or Local Broker Client Id (null) (Local Broker Client Id) Optional Keycloak client ID THIS cluster uses for token-exchange brokering. When set, overrides KAMIWAZA_KC_BROKER_CLIENT_ID env at pair time. | |
Local Broker Client Secret (string) or Local Broker Client Secret (null) (Local Broker Client Secret) DataHub secret URN (e.g. urn:li:dataHubSecret:...) for the Keycloak broker client secret. URN-only at this API ingress — raw secrets are refused so the operator's payload never lands in API request logs or the local override DB row in plaintext. Operators store the raw secret in DataHub first (via the secrets API) and supply the URN here. Wire-level disposition: at pair time the server resolves the URN via CatalogService and ships the raw secret to the peer's KC over the federation pair channel. That channel is HTTPS ( |
{- "callback_hostname": "edge.lyra.example.com",
- "local_broker_client_id": "kamiwaza-broker",
- "local_broker_client_secret": "urn:li:dataHubSecret:kamiwaza-broker-secret",
- "preshared_key": "00000000-0000-0000-0000-000000000000",
- "remote_cluster_name": "ORION",
- "remote_ips": [
- {
- "ip": "192.0.2.10",
- "primary": true
}
], - "role": "initiator"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "callback_hostname": "string",
- "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",
- "peer_kc_issuer_url": "string",
- "peer_kc_jwks_url": "string",
- "peer_broker_client_id": "string",
- "peer_broker_client_secret_urn": "string",
- "brokering_enabled": true
}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) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "callback_hostname": "string",
- "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",
- "peer_kc_issuer_url": "string",
- "peer_kc_jwks_url": "string",
- "peer_broker_client_id": "string",
- "peer_broker_client_secret_urn": "string",
- "brokering_enabled": true
}
]Get a single cluster federation by ID.
Args: federation_id: UUID of the federation
Returns: ClusterFederation object
| federation_id required | string <uuid> (Federation Id) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "callback_hostname": "string",
- "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",
- "peer_kc_issuer_url": "string",
- "peer_kc_jwks_url": "string",
- "peer_broker_client_id": "string",
- "peer_broker_client_secret_urn": "string",
- "brokering_enabled": true
}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 |
{ }{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "callback_hostname": "string",
- "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",
- "peer_kc_issuer_url": "string",
- "peer_kc_jwks_url": "string",
- "peer_broker_client_id": "string",
- "peer_broker_client_secret_urn": "string",
- "brokering_enabled": true
}Soft delete a cluster federation (mark as DELETED).
Args: federation_id: UUID of the federation
Returns: Success message
| federation_id required | string <uuid> (Federation Id) |
nullAdd a brokered user to a federation's allowlist (FR-51 / FR-80).
| federation_id required | string <uuid> (Federation Id) |
| property name* additional property | any |
{ }nullList all brokered users on a federation's allowlist.
Carries NativeRealmRequired (ENG-7890): the allowlist (external IDs,
initial tuples) is cross-relationship data a mesh-origin peer admin must
not be able to enumerate for an arbitrary federation_id.
| federation_id required | string <uuid> (Federation Id) |
nullRevoke a brokered user (FR-79).
Sets disabled_at = now() on the allowlist row — next inbound
mesh request from the user is rejected at brokered_ingress with
revoked_brokered_user.
When cancel_in_flight_jobs=true (ENG-4708 / T5.31), also marks
the user's active jobs as STOPPED in the DB so the in-flight
compute reports as canceled in GET /api/cluster/jobs. The
cascade is best-effort: failures log but do not roll back the
revoke itself — the gate (disabled_at) is the load-bearing
guarantee.
| federation_id required | string <uuid> (Federation Id) |
| external_id required | string (External Id) |
| cancel_in_flight_jobs | boolean (Cancel In Flight Jobs) Default: false |
nullInitiate 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) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "remote_cluster_name": "string",
- "remote_ips": [
- { }
], - "callback_hostname": "string",
- "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",
- "peer_kc_issuer_url": "string",
- "peer_kc_jwks_url": "string",
- "peer_broker_client_id": "string",
- "peer_broker_client_secret_urn": "string",
- "brokering_enabled": true
}Disconnect 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 |
nullHealth check a federated cluster.
Carries NativeRealmRequired (ENG-7890): ping triggers an outbound
action against a peer, so a mesh-origin caller must not be able to invoke
it.
Args: federation_id: UUID of the federation to ping
Returns: Ping status
| federation_id required | string <uuid> (Federation Id) |
nullHandle incoming federation pairing request from remote cluster.
Requires a valid HMAC signature matching a WAITING federation record.
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 |
Admin User Id (string) or Admin User Id (null) (Admin User Id) Admin user who initiated pairing (for ReBAC seeding on target) | |
Local Ca Cert (string) or Local Ca Cert (null) (Local Ca Cert) PEM-encoded root CA certificate for TLS verification of this cluster | |
Peer Kc Issuer Url (string) or Peer Kc Issuer Url (null) (Peer Kc Issuer Url) Peer Keycloak realm issuer URL (e.g. https://host/realms/kamiwaza) | |
Peer Kc Jwks Url (string) or Peer Kc Jwks Url (null) (Peer Kc Jwks Url) Peer Keycloak JWKs URL for IdP signature verification | |
Peer Broker Client Id (string) or Peer Broker Client Id (null) (Peer Broker Client Id) Peer-side client_id pre-provisioned at install for cross-realm brokering | |
Peer Broker Client Secret (string) or Peer Broker Client Secret (null) (Peer Broker Client Secret) Peer-side client_secret matching peer_broker_client_id |
{- "local_cluster_id": "1260b091-d4ae-49be-a02b-b44ea252bd7e",
- "local_cluster_name": "string",
- "local_ips": [
- { }
], - "admin_user_id": "string",
- "local_ca_cert": "string",
- "peer_kc_issuer_url": "string",
- "peer_kc_jwks_url": "string",
- "peer_broker_client_id": "string",
- "peer_broker_client_secret": "string"
}nullHandle incoming disconnect request from remote cluster.
Requires a valid HMAC signature from the paired cluster.
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"
}nullSubmit a Ray job asynchronously. Returns immediately with job ID.
| entrypoint required | string (Entrypoint) non-empty Shell command to execute (e.g. 'python script.py') |
Runtime Env (object) or Runtime Env (null) (Runtime Env) Ray runtime_env dict. Only the env_vars key is honored; execution-environment keys (pip, working_dir, py_modules, conda) are stripped server-side as a supply-chain safeguard (ENG-3782). | |
Timeout Seconds (integer) or Timeout Seconds (null) (Timeout Seconds) Max seconds before auto-cancel (1–86400). | |
Metadata (object) or Metadata (null) (Metadata) Arbitrary key-value metadata attached to the job record. |
{- "entrypoint": "string",
- "runtime_env": { },
- "timeout_seconds": 86400,
- "metadata": { }
}{- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "ray_job_id": "string",
- "status": "PENDING"
}Submit a Ray job and block until it completes or times out.
| entrypoint required | string (Entrypoint) non-empty Shell command to execute (e.g. 'python script.py') |
Runtime Env (object) or Runtime Env (null) (Runtime Env) Ray runtime_env dict. Only the env_vars key is honored; execution-environment keys (pip, working_dir, py_modules, conda) are stripped server-side as a supply-chain safeguard (ENG-3782). | |
Timeout Seconds (integer) or Timeout Seconds (null) (Timeout Seconds) Max seconds before auto-cancel (1–86400). | |
Metadata (object) or Metadata (null) (Metadata) Arbitrary key-value metadata attached to the job record. |
{- "entrypoint": "string",
- "runtime_env": { },
- "timeout_seconds": 86400,
- "metadata": { }
}{- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "ray_job_id": "string",
- "status": "PENDING",
- "result": { },
- "error_type": "string",
- "error_message": "string",
- "duration_seconds": 0,
- "timed_out": false
}List jobs the caller can see (T5.29 / ENG-4706).
Newest-first; limit + offset pagination. Mesh callers see
only jobs from their own source cluster — the source_filter
matches the per-job isolation property from get_status.
Demo bullet (2): kz.cluster.operations() builds on this.
| limit | integer (Limit) [ 1 .. 100 ] Default: 100 |
| offset | integer (Offset) [ 0 .. 10000 ] Default: 0 |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ray_job_id": "string",
- "status": "PENDING",
- "source": "string",
- "source_cluster_id": "string",
- "source_cluster_name": "string",
- "user_id": "string",
- "entrypoint": "string",
- "runtime_env": { },
- "metadata_": { },
- "timeout_seconds": 0,
- "timed_out": false,
- "error_type": "string",
- "error_message": "string",
- "submitted_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Get current status of a submitted job.
| job_id required | string <uuid> (Job Id) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ray_job_id": "string",
- "status": "PENDING",
- "source": "string",
- "source_cluster_id": "string",
- "source_cluster_name": "string",
- "user_id": "string",
- "entrypoint": "string",
- "runtime_env": { },
- "metadata_": { },
- "timeout_seconds": 0,
- "timed_out": false,
- "error_type": "string",
- "error_message": "string",
- "submitted_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Extract the structured JSON result from a succeeded job's logs.
ENG-6699 — passes the caller's gate attributes (X-User-Attributes, set by ext-authz) so gated target datasets are record-filtered before the result is released.
| job_id required | string <uuid> (Job Id) |
nullCancel a running job.
| job_id required | string <uuid> (Job Id) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ray_job_id": "string",
- "status": "PENDING",
- "source": "string",
- "source_cluster_id": "string",
- "source_cluster_name": "string",
- "user_id": "string",
- "entrypoint": "string",
- "runtime_env": { },
- "metadata_": { },
- "timeout_seconds": 0,
- "timed_out": false,
- "error_type": "string",
- "error_message": "string",
- "submitted_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Run cluster health probes and return a structured ClusterDiagnostics.
Admin-only per §4.2.10 auth table. Probes are fail-soft individually, but a top-level orchestration failure is surfaced as 500 so operators notice a broken diagnose pipeline.
{- "cluster_id": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "issues": [ ],
- "has_issues": false
}Reflect on a Gate classpath and return its metadata.
Per design §4.2.3:
classpath_unimportable when the module/class can't be
loaded (ImportError, AttributeError, ValueError on bad shape).not_a_gate when the loaded class isn't an
AttributeGate or ExecutionGate subclass.gate_not_constructible when the class can't be
zero-arg instantiated (ENG-4870).classpath_not_allowed when the classpath is outside
the configured prefix allowlist (ENG-4861).Auth (ENG-4861): native-realm only (mesh-origin requests blocked by require_native_realm_dep) + ReBAC viewer/owner on the local cluster. Native-realm enforcement prevents brokered mesh viewers from triggering importlib.import_module side effects on the receiver; the cluster-viewer check then layers ReBAC on top.
No state mutation; safe to call repeatedly. Successful responses are
memoized in _DISCOVER_CACHE for the process lifetime (v0.3.5
OQ-10) — invalidated by _clear_discover_cache() from the
cluster-binding API (T2.4) or a future gate-package install/replace
flow (M5). Failure responses (404 / 400 / 403) are never cached so an
operator who fixes a typo or installs the missing extension can
retry without a pod restart.
| classpath required | string (Classpath) |
{- "classpath": "string"
}{- "name": "string",
- "kind": "string",
- "required_attributes": [
- { }
], - "config_schema": { },
- "classpath": "string",
- "location": "string"
}T2.4: read the active ExecutionGate binding for this cluster.
Returns 404 not_configured when no binding is persisted —
the JobGateRunner default (ALLOW local, DENY mesh) is the operating
posture in that case.
{- "type": "string",
- "config": { },
- "gate_name": "string",
- "kind": "string"
}T2.4: bind an ExecutionGate to this cluster.
Auth (M3 Proactive Security Checklist §4.4.3.1):
kamiwaza/cluster/api.py mutators).
Any authenticated non-admin would otherwise be able to flip the
authz outcome for every job submission on the cluster.Side effects:
| type required | string (Type) |
object (Config) Default: {} |
{- "type": "string",
- "config": { }
}{- "type": "string",
- "config": { },
- "gate_name": "string",
- "kind": "string"
}T2.4: clear the cluster's ExecutionGate binding.
Returns 404 not_configured when there is nothing to clear so
the caller can distinguish "deleted X" from "nothing was there".
Auth (M3 Proactive Security Checklist §4.4.3.1):
{ }T3.5: idempotent upsert at PUT /api/authz/subjects/{id_or_username}.
Auth (M3 Proactive Security Checklist §4.4.3.1):
| id_or_username required | string (Id Or Username) |
required | object (Attributes) |
Password (string) or Password (null) (Password) |
{- "attributes": { },
- "password": "string"
}{- "id": "string",
- "username": "string",
- "attributes": { },
- "grants": [
- {
- "object_namespace": "string",
- "object_id": "string",
- "relation": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}T3.5: read the Subject by KC UUID or username.
Auth: AdminUser (admin-only in M3). Self-read (a non-admin reading their own subject) is a separate use case — wires in M3.1+ when an end-user surface needs it; the M3 demo author runs setup.py as admin and never hits self-read.
| id_or_username required | string (Id Or Username) |
{- "id": "string",
- "username": "string",
- "attributes": { },
- "grants": [
- {
- "object_namespace": "string",
- "object_id": "string",
- "relation": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}T3.5: delete the Subject by KC UUID or username.
Auth: AdminUser + NativeRealmRequired.
?cascade=grants forwards cascade_grants=True to the service
so the subject's ReBAC tuples are removed BEFORE the KC user delete
fires (ENG-4937). Any other cascade value is rejected to keep the
API surface tight.
| id_or_username required | string (Id Or Username) |
Cascade (string) or Cascade (null) (Cascade) Set to |
{ }T3.6: bind a ReBAC tuple (subject, object, relation).
Subject namespace is fixed at user (corpuser equivalent); the
caller-supplied object_namespace / object_id / relation
name the target side and the verb. Delegates to relationship_store.
| id_or_username required | string (Id Or Username) |
| object_namespace required | string (Object Namespace) |
| object_id required | string (Object Id) |
| relation required | string (Relation) |
{- "object_namespace": "string",
- "object_id": "string",
- "relation": "string"
}{- "object_namespace": "string",
- "object_id": "string",
- "relation": "string"
}T3.6: remove a ReBAC tuple (subject, object, relation).
Tuple-key body (not path) because relation values can contain characters that don't path-encode cleanly. Same shape as POST.
| id_or_username required | string (Id Or Username) |
| object_namespace required | string (Object Namespace) |
| object_id required | string (Object Id) |
| relation required | string (Relation) |
{- "object_namespace": "string",
- "object_id": "string",
- "relation": "string"
}{ }List installed gate packages (FR-90 / FR-95).
{- "items": [
- {
- "name": "string",
- "package_spec": "string",
- "version": "string",
- "hash_digest": "string",
- "index_url": "string",
- "installed_at": "2019-08-24T14:15:22Z",
- "installed_by": "string",
- "last_replaced_at": "2019-08-24T14:15:22Z",
- "status": "active",
- "classpaths": [
- "string"
]
}
], - "total": 0,
- "page": 1,
- "per_page": 20
}Install a gate package (FR-89 / FR-95).
Hash-pin is mandatory. The pip subprocess runs with --require-hashes against the chart-configured index URL.
| package_spec required | string (Package Spec) non-empty |
| hash_digest required | string (Hash Digest) non-empty |
Index Url (string) or Index Url (null) (Index Url) | |
| property name* additional property | any |
{- "package_spec": "string",
- "hash_digest": "string",
- "index_url": "string"
}{- "package": {
- "name": "string",
- "package_spec": "string",
- "version": "string",
- "hash_digest": "string",
- "index_url": "string",
- "installed_at": "2019-08-24T14:15:22Z",
- "installed_by": "string",
- "last_replaced_at": "2019-08-24T14:15:22Z",
- "status": "active",
- "classpaths": [
- "string"
]
}, - "install_duration_seconds": 0,
- "audit_event_id": "string"
}Get one installed gate-package by name (FR-90).
| name required | string (Name) |
{- "name": "string",
- "package_spec": "string",
- "version": "string",
- "hash_digest": "string",
- "index_url": "string",
- "installed_at": "2019-08-24T14:15:22Z",
- "installed_by": "string",
- "last_replaced_at": "2019-08-24T14:15:22Z",
- "status": "active",
- "classpaths": [
- "string"
]
}Atomic in-place replace (FR-89a / T7.5).
Refuses with 409 classpath_drop if the new package would drop a
currently-bound classpath. The replace itself is atomic — at most a
sub-microsecond filesystem window where the gate code is unavailable
(gate-runner fails closed during that window per §4.4.5).
Multi-replica caveat (PR #1754 RE-REVIEW round 4 C2 / round 5 M3):
eviction of the cached gate instance + sys.modules entry happens
per replica. In multi-Ray-Serve / multi-worker deployments, sibling
replicas continue to serve the v1 instance until their next pod
restart. The X-Kamiwaza-Gate-Eviction-Scope: local-replica-only
response header signals this on every replace response.
To make the new wheel effective on all replicas, run the rolling restart (operator runbook):
kubectl rollout restart deployment/core-scheduler -n kamiwaza
kubectl rollout restart raycluster/core-raycluster -n kamiwaza
Broadcast invalidation (runtime-config epoch bump in
cluster_gate_packages checked on every gate lookup) is tracked as
a follow-up so the rolling restart can be eliminated; current shape
is the light-path "thinnest end-to-end" for M5a per design v0.3.9.
| name required | string (Name) |
| package_spec required | string (Package Spec) non-empty |
| hash_digest required | string (Hash Digest) non-empty |
Index Url (string) or Index Url (null) (Index Url) | |
| property name* additional property | any |
{- "package_spec": "string",
- "hash_digest": "string",
- "index_url": "string"
}{- "package": {
- "name": "string",
- "package_spec": "string",
- "version": "string",
- "hash_digest": "string",
- "index_url": "string",
- "installed_at": "2019-08-24T14:15:22Z",
- "installed_by": "string",
- "last_replaced_at": "2019-08-24T14:15:22Z",
- "status": "active",
- "classpaths": [
- "string"
]
}, - "install_duration_seconds": 0,
- "audit_event_id": "string"
}Uninstall (FR-90). Refuses with 409 uninstall_blocked if any
active Cluster.executionGate or Dataset.gate binding references a
classpath from the package.
| name required | string (Name) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}PUT idempotent declare — registers an attribute in the realm vocabulary.
Auth: AdminUser + NativeRealmRequired (§4.4.3.1 row 1).
Returns the AttributeSchema in declared state. Re-declaring with
an identical shape is a no-op. Shape change on already-declared
state returns 400 shape_change_on_declared — deprecate + withdraw
first to retire the old shape.
| name required | string (Name) |
| type required | string (Type) Enum: "string" "int" "bool" "string[]" |
| sensitive | boolean (Sensitive) Default: false |
| authority | string (Authority) Default: "local_admin" Enum: "local_admin" "self" "mesh_peer" "system" |
| schema_version | string (Schema Version) non-empty Default: "1.0" |
{- "type": "string",
- "sensitive": false,
- "authority": "local_admin",
- "schema_version": "1.0"
}{- "name": "string",
- "type": "string",
- "state": "declared",
- "authority": "local_admin",
- "sensitive": false,
- "schema_version": "1.0",
- "declared_at": "2019-08-24T14:15:22Z",
- "deprecated_at": "2019-08-24T14:15:22Z",
- "withdrawn_at": "2019-08-24T14:15:22Z",
- "declared_by": "string"
}DELETE — deprecate (default) or withdraw (force=true).
Auth: AdminUser + NativeRealmRequired (§4.4.3.1 row 1).
Response shape: {state, subjects_holding_value} so the SDK can
surface the post-transition state to the operator.
| name required | string (Name) |
| force | boolean (Force) Default: false When |
| subjects_holding_value | integer (Subjects Holding Value) >= 0 Default: 0 Caller-supplied count of subjects currently holding a value for this attribute. Default 0. force=true with non-zero count is allowed and audited; force=false with non-zero count returns 409. |
{ }GET — list the declared vocabulary.
Auth: ViewerUser (admins + ReBAC-allowed viewers can discover the contract surface). Mesh-origin viewers ARE allowed — federation peers may need to discover a clusters's vocabulary to plan cross-cluster gate compatibility (OQ-13 contract surface).
| include_deprecated | boolean (Include Deprecated) Default: true Include deprecated entries in the response. Withdrawn entries are tombstoned at the KC layer and never appear here. |
{- "attributes": [
- {
- "name": "string",
- "type": "string",
- "state": "declared",
- "authority": "local_admin",
- "sensitive": false,
- "schema_version": "1.0",
- "declared_at": "2019-08-24T14:15:22Z",
- "deprecated_at": "2019-08-24T14:15:22Z",
- "withdrawn_at": "2019-08-24T14:15:22Z",
- "declared_by": "string"
}
], - "schema_version": "v0.3.6"
}Endpoint 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) | |
Workroom Id (string) or Workroom Id (null) (Workroom Id) Filter by workroom ID |
{- "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) | |
Workroom Id (string) or Workroom Id (null) (Workroom Id) Filter by workroom ID |
{- "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"
}| connector_id required | string <uuid> (Connector Id) |
{- "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) |
{- "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"
}| connector_id required | string <uuid> (Connector Id) |
{- "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) |
{- "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"
}
}List retrieval jobs (ENG-4707 / T5.30 / FR-85).
Native admin sees all jobs; non-admin requesters see only their own (matches the per-job ownership check on get_status / cancel). Mesh callers are scoped to their own requester URN — preserves the isolation property the existing retrieval endpoints use.
| limit | integer (Limit) Default: 100 |
| offset | integer (Offset) Default: 0 |
[- {
- "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"
}
}
]List retrieval jobs (ENG-4707 / T5.30 / FR-85).
Native admin sees all jobs; non-admin requesters see only their own (matches the per-job ownership check on get_status / cancel). Mesh callers are scoped to their own requester URN — preserves the isolation property the existing retrieval endpoints use.
| limit | integer (Limit) Default: 100 |
| offset | integer (Offset) Default: 0 |
[- {
- "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"
}
}
]Cancel a retrieval job (ENG-4709 / T5.32 / FR-84).
Marks the job as CANCELED in the DB. Ownership is enforced — a non-admin requester can only cancel their own jobs. Returns the updated job status.
| job_id required | string <uuid> (Job Id) |
{- "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"
}Cancel a retrieval job (ENG-4709 / T5.32 / FR-84).
Marks the job as CANCELED in the DB. Ownership is enforced — a non-admin requester can only cancel their own jobs. Returns the updated job status.
| job_id required | string <uuid> (Job Id) |
{- "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 required | string <uuid> (Job Id) |
{- "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 required | string <uuid> (Job Id) |
{- "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"
}X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "engine": "milvus",
- "status": "pending",
- "endpoint": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "replicas": 0
}
]X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| name required | string (Name) VectorDB instance name |
| engine required | string (VectorDBEngine) Enum: "milvus" "vespa" VectorDB engine type |
Config (object) or Config (null) (Config) Engine-specific configuration | |
Workroom Id (string) or Workroom Id (null) (Workroom Id) Optional workroom scope for the instance | |
| replicas | integer (Replicas) Default: 1 Number of replicas to deploy |
{- "name": "string",
- "engine": "milvus",
- "config": { },
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "replicas": 1
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "engine": "milvus",
- "status": "pending",
- "endpoint": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "replicas": 0
}| vectordb_id required | string <uuid> (Vectordb Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "engine": "milvus",
- "status": "pending",
- "endpoint": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "replicas": 0
}| vectordb_id required | string <uuid> (Vectordb Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
Config (object) or Config (null) (Config) Updated engine configuration | |
Replicas (integer) or Replicas (null) (Replicas) Updated replica count |
{- "config": { },
- "replicas": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "engine": "milvus",
- "status": "pending",
- "endpoint": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "replicas": 0
}| vectordb_id required | string <uuid> (Vectordb Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "property1": "string",
- "property2": "string"
}| vectordb_id required | string <uuid> (Vectordb Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| replicas required | integer (Replicas) Target replica count |
{- "replicas": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "engine": "milvus",
- "status": "pending",
- "endpoint": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "replicas": 0
}| vectordb_id required | string <uuid> (Vectordb Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) VectorDB instance ID (required for body-based routes) | |
| collection_name required | string (Collection Name) Target collection name |
| vectors required | Array of numbers (Vectors) [ items ] Vector payloads |
required | Array of objects (Metadata) Metadata for each vector |
Array of Field List (any) or Field List (null) (Field List) Optional schema field definitions | |
| create_if_missing | boolean (Create If Missing) Default: true Create collection if missing |
{- "vectordb_id": "750a6f0f-1262-45ca-b36a-33d95c9c88bc",
- "collection_name": "string",
- "vectors": [
- [
- 0
]
], - "metadata": [
- { }
], - "field_list": [
- [
- null
]
], - "create_if_missing": true
}{- "inserted_count": 0
}X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) VectorDB instance ID (required for body-based routes) | |
| collection_name required | string (Collection Name) Target collection name |
| vectors required | Array of numbers (Vectors) [ items ] Vector payloads |
required | Array of objects (Metadata) Metadata for each vector |
Array of Field List (any) or Field List (null) (Field List) Optional schema field definitions | |
| create_if_missing | boolean (Create If Missing) Default: true Create collection if missing |
{- "vectordb_id": "750a6f0f-1262-45ca-b36a-33d95c9c88bc",
- "collection_name": "string",
- "vectors": [
- [
- 0
]
], - "metadata": [
- { }
], - "field_list": [
- [
- null
]
], - "create_if_missing": true
}{- "inserted_count": 0
}| vectordb_id required | string <uuid> (Vectordb Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) VectorDB instance ID (required for body-based routes) | |
| collection_name required | string (Collection Name) Target collection name |
| vectors required | Array of numbers (Vectors) [ items ] Query vectors |
| limit | integer (Limit) Default: 10 Maximum results to return |
Params (object) or Params (null) (Params) Backend-specific search parameters | |
Array of Output Fields (strings) or Output Fields (null) (Output Fields) Fields to return with each result |
{- "vectordb_id": "750a6f0f-1262-45ca-b36a-33d95c9c88bc",
- "collection_name": "string",
- "vectors": [
- [
- 0
]
], - "limit": 10,
- "params": { },
- "output_fields": [
- "string"
]
}{- "results": [
- null
]
}X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) VectorDB instance ID (required for body-based routes) | |
| collection_name required | string (Collection Name) Target collection name |
| vectors required | Array of numbers (Vectors) [ items ] Query vectors |
| limit | integer (Limit) Default: 10 Maximum results to return |
Params (object) or Params (null) (Params) Backend-specific search parameters | |
Array of Output Fields (strings) or Output Fields (null) (Output Fields) Fields to return with each result |
{- "vectordb_id": "750a6f0f-1262-45ca-b36a-33d95c9c88bc",
- "collection_name": "string",
- "vectors": [
- [
- 0
]
], - "limit": 10,
- "params": { },
- "output_fields": [
- "string"
]
}{- "results": [
- null
]
}X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "backend": "graphiti",
- "status": "pending",
- "status_reason": "string",
- "status_details": { },
- "ingestion_status": "none",
- "ingestion_error": "string",
- "ingestion_updated_at": "2019-08-24T14:15:22Z",
- "endpoint": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| name required | string (Name) Ontology instance name |
| backend required | string (OntologyBackend) Enum: "graphiti" "graphrag" "openspg" "kag" Ontology backend type |
Config (object) or Config (null) (Config) Backend-specific configuration | |
Workroom Id (string) or Workroom Id (null) (Workroom Id) Optional workroom scope for the instance |
{- "name": "string",
- "backend": "graphiti",
- "config": { },
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "backend": "graphiti",
- "status": "pending",
- "status_reason": "string",
- "status_details": { },
- "ingestion_status": "none",
- "ingestion_error": "string",
- "ingestion_updated_at": "2019-08-24T14:15:22Z",
- "endpoint": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| ontology_id required | string <uuid> (Ontology Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "backend": "graphiti",
- "status": "pending",
- "status_reason": "string",
- "status_details": { },
- "ingestion_status": "none",
- "ingestion_error": "string",
- "ingestion_updated_at": "2019-08-24T14:15:22Z",
- "endpoint": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| ontology_id required | string <uuid> (Ontology Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "property1": "string",
- "property2": "string"
}UpdateOmniParseGlobalSettings (object) or null | |
Reason (string) or Reason (null) (Reason) |
{- "omniparse": {
- "force_insecure_model_ssl": true,
- "force_insecure_transport_ssl": true
}, - "reason": "string"
}{- "omniparse": {
- "force_insecure_model_ssl": false,
- "force_insecure_transport_ssl": false
}
}X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "pending",
- "endpoint": "string",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "template_name": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| name required | string (Name) OmniParse instance name |
| template_name | string (Template Name) Default: "tool-omniparse" Tool template name for OmniParse deployment |
Config (object) or Config (null) (Config) OmniParse environment configuration | |
Workroom Id (string) or Workroom Id (null) (Workroom Id) Optional workroom scope for the instance |
{- "name": "string",
- "template_name": "tool-omniparse",
- "config": { },
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "pending",
- "endpoint": "string",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "template_name": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| omniparse_id required | string <uuid> (Omniparse Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "pending",
- "endpoint": "string",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "template_name": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| omniparse_id required | string <uuid> (Omniparse Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
Config (object) or Config (null) (Config) Updated OmniParse environment configuration | |||
Any of
| |||
{- "config": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "pending",
- "endpoint": "string",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "template_name": "string",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| omniparse_id required | string <uuid> (Omniparse Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "property1": "string",
- "property2": "string"
}Mime Type (string) or Mime Type (null) (Mime Type) Optional MIME, e.g. audio/aiff | |
Filename (string) or Filename (null) (Filename) Optional filename context |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "ready": true,
- "code": "string",
- "message": "string",
- "remediation": "string",
- "details": { }
}List all collections in the workroom.
Returns collections with workroom isolation - only shows collections belonging to the specified workroom.
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) Optional VectorDB instance to target explicitly |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
[- {
- "name": "string",
- "display_name": "string",
- "workroom_id": "string",
- "vector_count": 0,
- "dimension": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string"
}
]Create a new collection in the workroom.
Collection names are prefixed with workroom_id for isolation: ws_{workroom_id}_{collection_name}
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| name required | string (Name) [ 1 .. 64 ] characters ^[a-zA-Z0-9_-]+$ Collection name (alphanumeric, underscores, hyphens) |
| dimension | integer (Dimension) [ 32 .. 4096 ] Default: 384 Vector dimension |
Description (string) or Description (null) (Description) Collection description | |
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) Optional VectorDB instance to target explicitly |
{- "name": "string",
- "dimension": 384,
- "description": "string",
- "vectordb_id": "750a6f0f-1262-45ca-b36a-33d95c9c88bc"
}{- "name": "string",
- "display_name": "string",
- "workroom_id": "string",
- "vector_count": 0,
- "dimension": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string"
}Get collection information by name.
| collection_name required | string (Collection Name) |
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) Optional VectorDB instance to target explicitly |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "name": "string",
- "display_name": "string",
- "workroom_id": "string",
- "vector_count": 0,
- "dimension": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string"
}Delete a collection from the workroom.
This permanently removes all vectors in the collection.
| collection_name required | string (Collection Name) |
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) Optional VectorDB instance to target explicitly |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}Create and start a new pipeline job.
The pipeline processes files through:
Processing runs in the background. Poll the job status endpoint or configure a callback URL to be notified on completion.
Returns 201 for newly created jobs, 200 for idempotent replays.
Args: request: Pipeline job creation request with files and config workroom_id: Workroom identifier from header background_tasks: FastAPI background tasks
Returns: Created PipelineJob with pending status
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
required | Array of objects (Files) non-empty Files to process |
object (PipelineConfig-Input) Pipeline configuration | |
CallbackConfig (object) or null Optional callback configuration for job completion notification | |
Idempotency Key (string) or Idempotency Key (null) (Idempotency Key) Optional client idempotency key. Same key + workroom returns existing job. | |
| force | boolean (Force) Default: false When true, reprocess inline file content even if source tracking shows the same source URN and content hash were already indexed. |
{- "files": [
- {
- "filename": "string",
- "content_base64": "string",
- "source_ref": {
- "provider": "string",
- "kind": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "item_id": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "provider_metadata": { },
- "drive_id": "string",
- "url": "string"
}, - "content_type": "string",
- "source_urn": "string",
- "metadata": { }
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "api_key": "pa$$word",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "idempotency_key": "string",
- "force": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "collection_name": "string",
- "status": "pending",
- "progress": {
- "stage": "pending",
- "total_files": 0,
- "processed_files": 0,
- "total_chunks": 0,
- "chunks_indexed": 0,
- "failed_files": [
- { }
], - "diagnostics": { }
}, - "created_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "diagnostics": { },
- "created_by": "string",
- "idempotency_key": "string",
- "file_results": [
- {
- "filename": "string",
- "status": "success",
- "chunks_created": 0,
- "error": "string",
- "diagnostics": { },
- "item_state": "pending",
- "terminal_outcome": "pending",
- "failure_reason": "string",
- "freshness_status": "current",
- "source_urn": "string",
- "item_key": "string",
- "source_provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "replayable": false
}
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "request_snapshot": {
- "request_type": "source_import",
- "sources": [
- {
- "item_key": "string",
- "filename": "string",
- "content_type": "string",
- "source_urn": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "force": false,
- "replayed_from_job_id": "162cd363-2e9b-4a86-93fb-a779608bc730"
}
}List pipeline jobs for the workroom.
Args: workroom_id: Workroom identifier from header status: Filter by job status (pending, running, completed, failed) limit: Maximum number of jobs to return (default 50, max 100) offset: Number of jobs to skip for pagination (default 0)
Returns: List of PipelineJob objects sorted by creation time (newest first)
Status (string) or Status (null) (Status) | |
| limit | integer (Limit) Default: 50 |
| offset | integer (Offset) Default: 0 |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "collection_name": "string",
- "status": "pending",
- "progress": {
- "stage": "pending",
- "total_files": 0,
- "processed_files": 0,
- "total_chunks": 0,
- "chunks_indexed": 0,
- "failed_files": [
- { }
], - "diagnostics": { }
}, - "created_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "diagnostics": { },
- "created_by": "string",
- "idempotency_key": "string",
- "file_results": [
- {
- "filename": "string",
- "status": "success",
- "chunks_created": 0,
- "error": "string",
- "diagnostics": { },
- "item_state": "pending",
- "terminal_outcome": "pending",
- "failure_reason": "string",
- "freshness_status": "current",
- "source_urn": "string",
- "item_key": "string",
- "source_provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "replayable": false
}
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "request_snapshot": {
- "request_type": "source_import",
- "sources": [
- {
- "item_key": "string",
- "filename": "string",
- "content_type": "string",
- "source_urn": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "force": false,
- "replayed_from_job_id": "162cd363-2e9b-4a86-93fb-a779608bc730"
}
}
]Get list of supported file types for pipeline processing.
Returns: List of supported file extensions (e.g., [".pdf", ".docx", ".txt"])
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
[- "string"
]Get aggregated import options for Kaizen's provider-neutral import shell.
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "supported_mime_types": [
- "string"
], - "available_stages": [
- {
- "name": "extract",
- "required": true,
- "description": "string",
- "parameters": [
- {
- "name": "string",
- "parameter_type": "string",
- "required": false,
- "default": { },
- "description": "string",
- "enum": [
- null
]
}
], - "parameter_schema": { },
- "defaults": { }
}
]
}Evaluate selected source descriptors against Context import rules.
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
Array of objects (Sources) | |
object (PipelineConfig-Input) Configuration for pipeline execution. |
{- "sources": [
- {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "api_key": "pa$$word",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}
}{- "supported_mime_types": [
- "string"
], - "available_stages": [
- {
- "name": "extract",
- "required": true,
- "description": "string",
- "parameters": [
- {
- "name": "string",
- "parameter_type": "string",
- "required": false,
- "default": { },
- "description": "string",
- "enum": [
- null
]
}
], - "parameter_schema": { },
- "defaults": { }
}
], - "normalized_config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "can_submit": false,
- "validation_issues": [
- {
- "code": "string",
- "severity": "error",
- "message": "string",
- "item_key": "string",
- "source_ref": "string",
- "display_title": "string",
- "field_path": "string"
}
]
}Create and start a provider-neutral source import job.
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
required | Array of objects (Sources) non-empty Provider-neutral source descriptors selected upstream. |
object (PipelineConfig-Input) Pipeline configuration to apply to all selected sources. | |
CallbackConfig (object) or null Optional callback configuration for job completion notification | |
Idempotency Key (string) or Idempotency Key (null) (Idempotency Key) Optional client idempotency key. Same key + workroom returns existing job. | |
| force | boolean (Force) Default: false When true, force reprocessing for replayable source imports even if future dedup layers would otherwise skip them. |
{- "sources": [
- {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "api_key": "pa$$word",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "idempotency_key": "string",
- "force": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "collection_name": "string",
- "status": "pending",
- "progress": {
- "stage": "pending",
- "total_files": 0,
- "processed_files": 0,
- "total_chunks": 0,
- "chunks_indexed": 0,
- "failed_files": [
- { }
], - "diagnostics": { }
}, - "created_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "diagnostics": { },
- "created_by": "string",
- "idempotency_key": "string",
- "file_results": [
- {
- "filename": "string",
- "status": "success",
- "chunks_created": 0,
- "error": "string",
- "diagnostics": { },
- "item_state": "pending",
- "terminal_outcome": "pending",
- "failure_reason": "string",
- "freshness_status": "current",
- "source_urn": "string",
- "item_key": "string",
- "source_provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "replayable": false
}
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "request_snapshot": {
- "request_type": "source_import",
- "sources": [
- {
- "item_key": "string",
- "filename": "string",
- "content_type": "string",
- "source_urn": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "force": false,
- "replayed_from_job_id": "162cd363-2e9b-4a86-93fb-a779608bc730"
}
}List workroom-wide source import inventory/history items.
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "items": [
- {
- "item_key": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}, - "filename": "string",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "collection_name": "string",
- "item_state": "pending",
- "terminal_outcome": "pending",
- "freshness_status": "current",
- "source_urn": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "last_successful_job_id": "c3b9886d-412a-450a-b71c-1bdc23b77866",
- "last_successful_ingest_at": "2019-08-24T14:15:22Z",
- "latest_attempt_at": "2019-08-24T14:15:22Z",
- "latest_failure_reason": "string",
- "replayable": true
}
], - "total_items": 0,
- "truncated": false
}Rerun selected inventory items using their recorded source descriptors.
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| item_keys required | Array of strings (Item Keys) non-empty |
PipelineConfig (object) or null | |
CallbackConfig (object) or null | |
Idempotency Key (string) or Idempotency Key (null) (Idempotency Key) | |
| force | boolean (Force) Default: true |
{- "item_keys": [
- "string"
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "api_key": "pa$$word",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "idempotency_key": "string",
- "force": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "collection_name": "string",
- "status": "pending",
- "progress": {
- "stage": "pending",
- "total_files": 0,
- "processed_files": 0,
- "total_chunks": 0,
- "chunks_indexed": 0,
- "failed_files": [
- { }
], - "diagnostics": { }
}, - "created_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "diagnostics": { },
- "created_by": "string",
- "idempotency_key": "string",
- "file_results": [
- {
- "filename": "string",
- "status": "success",
- "chunks_created": 0,
- "error": "string",
- "diagnostics": { },
- "item_state": "pending",
- "terminal_outcome": "pending",
- "failure_reason": "string",
- "freshness_status": "current",
- "source_urn": "string",
- "item_key": "string",
- "source_provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "replayable": false
}
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "request_snapshot": {
- "request_type": "source_import",
- "sources": [
- {
- "item_key": "string",
- "filename": "string",
- "content_type": "string",
- "source_urn": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "force": false,
- "replayed_from_job_id": "162cd363-2e9b-4a86-93fb-a779608bc730"
}
}List canonical per-item statuses for one pipeline job.
| job_id required | string <uuid> (Job Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "items": [
- {
- "item_key": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}, - "filename": "string",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "collection_name": "string",
- "item_state": "pending",
- "terminal_outcome": "pending",
- "freshness_status": "current",
- "source_urn": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "last_successful_job_id": "c3b9886d-412a-450a-b71c-1bdc23b77866",
- "last_successful_ingest_at": "2019-08-24T14:15:22Z",
- "latest_attempt_at": "2019-08-24T14:15:22Z",
- "latest_failure_reason": "string",
- "replayable": true
}
]
}Get pipeline job status and progress.
Args: job_id: Pipeline job identifier workroom_id: Workroom identifier from header
Returns: PipelineJob with current status and progress
| job_id required | string <uuid> (Job Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "collection_name": "string",
- "status": "pending",
- "progress": {
- "stage": "pending",
- "total_files": 0,
- "processed_files": 0,
- "total_chunks": 0,
- "chunks_indexed": 0,
- "failed_files": [
- { }
], - "diagnostics": { }
}, - "created_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "diagnostics": { },
- "created_by": "string",
- "idempotency_key": "string",
- "file_results": [
- {
- "filename": "string",
- "status": "success",
- "chunks_created": 0,
- "error": "string",
- "diagnostics": { },
- "item_state": "pending",
- "terminal_outcome": "pending",
- "failure_reason": "string",
- "freshness_status": "current",
- "source_urn": "string",
- "item_key": "string",
- "source_provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "replayable": false
}
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "request_snapshot": {
- "request_type": "source_import",
- "sources": [
- {
- "item_key": "string",
- "filename": "string",
- "content_type": "string",
- "source_urn": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "force": false,
- "replayed_from_job_id": "162cd363-2e9b-4a86-93fb-a779608bc730"
}
}Delete or cancel a pipeline job.
For pending/running jobs: cancels them first, then deletes. For completed/failed/cancelled jobs: deletes them.
Args: job_id: Pipeline job identifier workroom_id: Workroom identifier from header
| job_id required | string <uuid> (Job Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string",
- "input": null,
- "ctx": { }
}
]
}Cancel a pipeline job without deleting its recorded history.
| job_id required | string <uuid> (Job Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "collection_name": "string",
- "status": "pending",
- "progress": {
- "stage": "pending",
- "total_files": 0,
- "processed_files": 0,
- "total_chunks": 0,
- "chunks_indexed": 0,
- "failed_files": [
- { }
], - "diagnostics": { }
}, - "created_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "diagnostics": { },
- "created_by": "string",
- "idempotency_key": "string",
- "file_results": [
- {
- "filename": "string",
- "status": "success",
- "chunks_created": 0,
- "error": "string",
- "diagnostics": { },
- "item_state": "pending",
- "terminal_outcome": "pending",
- "failure_reason": "string",
- "freshness_status": "current",
- "source_urn": "string",
- "item_key": "string",
- "source_provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "replayable": false
}
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "request_snapshot": {
- "request_type": "source_import",
- "sources": [
- {
- "item_key": "string",
- "filename": "string",
- "content_type": "string",
- "source_urn": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "force": false,
- "replayed_from_job_id": "162cd363-2e9b-4a86-93fb-a779608bc730"
}
}Retry failed or incomplete items from a replayable source import job.
| job_id required | string <uuid> (Job Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
CallbackConfig (object) or null | |
Idempotency Key (string) or Idempotency Key (null) (Idempotency Key) | |
Force (boolean) or Force (null) (Force) Optional override for replay force behavior. |
{- "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "idempotency_key": "string",
- "force": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "collection_name": "string",
- "status": "pending",
- "progress": {
- "stage": "pending",
- "total_files": 0,
- "processed_files": 0,
- "total_chunks": 0,
- "chunks_indexed": 0,
- "failed_files": [
- { }
], - "diagnostics": { }
}, - "created_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "diagnostics": { },
- "created_by": "string",
- "idempotency_key": "string",
- "file_results": [
- {
- "filename": "string",
- "status": "success",
- "chunks_created": 0,
- "error": "string",
- "diagnostics": { },
- "item_state": "pending",
- "terminal_outcome": "pending",
- "failure_reason": "string",
- "freshness_status": "current",
- "source_urn": "string",
- "item_key": "string",
- "source_provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "replayable": false
}
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "request_snapshot": {
- "request_type": "source_import",
- "sources": [
- {
- "item_key": "string",
- "filename": "string",
- "content_type": "string",
- "source_urn": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "force": false,
- "replayed_from_job_id": "162cd363-2e9b-4a86-93fb-a779608bc730"
}
}Rerun all recorded source descriptors from a prior source import job.
| job_id required | string <uuid> (Job Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
CallbackConfig (object) or null | |
Idempotency Key (string) or Idempotency Key (null) (Idempotency Key) | |
Force (boolean) or Force (null) (Force) Optional override for replay force behavior. |
{- "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "idempotency_key": "string",
- "force": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "collection_name": "string",
- "status": "pending",
- "progress": {
- "stage": "pending",
- "total_files": 0,
- "processed_files": 0,
- "total_chunks": 0,
- "chunks_indexed": 0,
- "failed_files": [
- { }
], - "diagnostics": { }
}, - "created_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "diagnostics": { },
- "created_by": "string",
- "idempotency_key": "string",
- "file_results": [
- {
- "filename": "string",
- "status": "success",
- "chunks_created": 0,
- "error": "string",
- "diagnostics": { },
- "item_state": "pending",
- "terminal_outcome": "pending",
- "failure_reason": "string",
- "freshness_status": "current",
- "source_urn": "string",
- "item_key": "string",
- "source_provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "replayable": false
}
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "request_snapshot": {
- "request_type": "source_import",
- "sources": [
- {
- "item_key": "string",
- "filename": "string",
- "content_type": "string",
- "source_urn": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "force": false,
- "replayed_from_job_id": "162cd363-2e9b-4a86-93fb-a779608bc730"
}
}Dispatch /search to legacy or unified behavior without breaking old clients.
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| property name* additional property | any |
{ }{- "query": "string",
- "results": [
- {
- "id": "string",
- "content": "string",
- "score": 0,
- "metadata": {
- "source_file": "string",
- "source_urn": "string",
- "file_id": "string",
- "page_number": 1,
- "chunk_index": 0,
- "document_uri": "string",
- "media_type": "string",
- "media_section": "string",
- "timestamp_seconds": 0,
- "frame_id": "string",
- "frame_uri": "string",
- "omniparse_doc_id": "string",
- "omniparse_chunk_id": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "source_type": "document",
- "from_graph": false,
- "match_type": "string",
- "contains_exact_query": true,
- "contains_normalized_query": true,
- "matched_needles": [
- "string"
], - "matched_span": [
- 0,
- 0
]
}
], - "total_count": 0,
- "search_time_ms": 0,
- "collections_searched": [
- "string"
], - "partial_failures": [
- { }
], - "search_mode": "auto",
- "is_exact_query": false,
- "exact_match_count": 0,
- "semantic_neighbor_count": 0,
- "semantic_neighbors": [
- {
- "id": "string",
- "content": "string",
- "score": 0,
- "metadata": {
- "source_file": "string",
- "source_urn": "string",
- "file_id": "string",
- "page_number": 1,
- "chunk_index": 0,
- "document_uri": "string",
- "media_type": "string",
- "media_section": "string",
- "timestamp_seconds": 0,
- "frame_id": "string",
- "frame_uri": "string",
- "omniparse_doc_id": "string",
- "omniparse_chunk_id": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "source_type": "document",
- "from_graph": false,
- "match_type": "string",
- "contains_exact_query": true,
- "contains_normalized_query": true,
- "matched_needles": [
- "string"
], - "matched_span": [
- 0,
- 0
]
}
]
}Unified search with progressive enrichment.
Base: vector search only (fast) format_context=true: adds LLM-ready context string synthesize=true: LLM synthesis with [N] citations max_iterations > 1: iterative query refinement enable_graph_search=true: includes knowledge graph
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| query required | string (Query) [ 1 .. 10000 ] characters Search query text |
| top_k | integer (Top K) [ 1 .. 100 ] Default: 10 Number of results to return |
Collection Name (string) or Collection Name (null) (Collection Name) Single collection to search (None = search all workroom collections) | |
Array of Collection Names (strings) or Collection Names (null) (Collection Names) Multiple collections to search | |
Score Threshold (number) or Score Threshold (null) (Score Threshold) Minimum similarity score threshold | |
Filters (object) or Filters (null) (Filters) Metadata filters. In agentic mode these apply only to VectorDB document retrieval, not knowledge graph results. | |
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) Specific VectorDB instance UUID to target | |
Array of Vectordb Ids (strings) or Vectordb Ids (null) (Vectordb Ids) Multiple VectorDB instance UUIDs for agentic search | |
| search_mode | string (Search Mode) Default: "auto" Enum: "auto" "semantic" "exact" Search interpretation: auto detects exact marker/quoted queries, semantic preserves vector search, exact filters returned candidates to chunks containing the literal query needle. |
| format_context | boolean (Format Context) Default: false Return LLM-ready formatted context string |
| synthesize | boolean (Synthesize) Default: false LLM synthesis with [N] source citations |
| max_iterations | integer (Max Iterations) [ 1 .. 10 ] Default: 1 Refinement iterations (1 = no refinement) |
| relevance_threshold | number (Relevance Threshold) [ 0 .. 1 ] Default: 0.7 Agentic relevance threshold used when synthesize, iterative refinement, or graph search routes the request to agentic search |
| enable_graph_search | boolean (Enable Graph Search) Default: false Include knowledge graph search |
Ontology Id (string) or Ontology Id (null) (Ontology Id) Ontology instance UUID for graph search | |
Array of Group Ids (strings) or Group Ids (null) (Group Ids) Knowledge graph group IDs |
{- "query": "string",
- "top_k": 10,
- "collection_name": "string",
- "collection_names": [
- "string"
], - "score_threshold": 1,
- "filters": { },
- "vectordb_id": "750a6f0f-1262-45ca-b36a-33d95c9c88bc",
- "vectordb_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "search_mode": "auto",
- "format_context": false,
- "synthesize": false,
- "max_iterations": 1,
- "relevance_threshold": 0.7,
- "enable_graph_search": false,
- "ontology_id": "2a85698e-3f76-4aad-89d1-465b6cb21ca9",
- "group_ids": [
- "string"
]
}{- "query": "string",
- "results": [
- {
- "id": "string",
- "content": "string",
- "score": 0,
- "metadata": {
- "source_file": "string",
- "source_urn": "string",
- "file_id": "string",
- "page_number": 1,
- "chunk_index": 0,
- "document_uri": "string",
- "media_type": "string",
- "media_section": "string",
- "timestamp_seconds": 0,
- "frame_id": "string",
- "frame_uri": "string",
- "omniparse_doc_id": "string",
- "omniparse_chunk_id": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "source_type": "document",
- "from_graph": false,
- "match_type": "string",
- "contains_exact_query": true,
- "contains_normalized_query": true,
- "matched_needles": [
- "string"
], - "matched_span": [
- 0,
- 0
]
}
], - "sources": [
- {
- "chunk_id": "string",
- "filename": "string",
- "source_urn": "string",
- "page_number": 0,
- "score": 0,
- "snippet": "string"
}
], - "total_count": 0,
- "search_time_ms": 0,
- "collections_searched": [
- "string"
], - "partial_failures": [
- { }
], - "search_mode": "auto",
- "is_exact_query": false,
- "exact_match_count": 0,
- "semantic_neighbor_count": 0,
- "semantic_neighbors": [
- {
- "id": "string",
- "content": "string",
- "score": 0,
- "metadata": {
- "source_file": "string",
- "source_urn": "string",
- "file_id": "string",
- "page_number": 1,
- "chunk_index": 0,
- "document_uri": "string",
- "media_type": "string",
- "media_section": "string",
- "timestamp_seconds": 0,
- "frame_id": "string",
- "frame_uri": "string",
- "omniparse_doc_id": "string",
- "omniparse_chunk_id": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "source_type": "document",
- "from_graph": false,
- "match_type": "string",
- "contains_exact_query": true,
- "contains_normalized_query": true,
- "matched_needles": [
- "string"
], - "matched_span": [
- 0,
- 0
]
}
], - "context": "string",
- "synthesis": "string",
- "citations": [
- {
- "citation_id": 1,
- "source_file": "string",
- "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",
- "chunk_id": "55e808e1-8ddc-49f1-92c9-6bbdcdff1c83",
- "page_number": 0,
- "chunk_position": 0,
- "content_hash": "string",
- "relevance_score": 0,
- "excerpt": "string",
- "source_type": "document"
}
], - "graph_results": 0,
- "graph_facts": [
- {
- "id": "string",
- "content": "string",
- "score": 0,
- "metadata": {
- "source_file": "string",
- "source_urn": "string",
- "file_id": "string",
- "page_number": 1,
- "chunk_index": 0,
- "document_uri": "string",
- "media_type": "string",
- "media_section": "string",
- "timestamp_seconds": 0,
- "frame_id": "string",
- "frame_uri": "string",
- "omniparse_doc_id": "string",
- "omniparse_chunk_id": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "source_type": "document",
- "from_graph": false,
- "match_type": "string",
- "contains_exact_query": true,
- "contains_normalized_query": true,
- "matched_needles": [
- "string"
], - "matched_span": [
- 0,
- 0
]
}
], - "iterations": 0,
- "iteration_history": [
- {
- "iteration": 1,
- "query": "string",
- "vector_results": 0,
- "graph_results": 0,
- "max_score": 0,
- "sufficient": false
}
], - "refinement_queries": [
- "string"
]
}Deprecated: Use POST /search instead.
Perform semantic search across workroom collections.
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| query required | string (Query) [ 1 .. 10000 ] characters Search query text |
Collection Name (string) or Collection Name (null) (Collection Name) Collection to search (None = search all workroom collections) | |
| top_k | integer (Top K) [ 1 .. 100 ] Default: 10 Number of results to return |
Score Threshold (number) or Score Threshold (null) (Score Threshold) Minimum score threshold | |
Filters (object) or Filters (null) (Filters) Metadata filters | |
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) Optional VectorDB instance to target explicitly | |
| search_mode | string (Search Mode) Default: "auto" Enum: "auto" "semantic" "exact" Search interpretation: auto detects exact marker/quoted queries, semantic preserves pure vector search, exact filters returned candidates to chunks containing the literal query needle. |
{- "query": "string",
- "collection_name": "string",
- "top_k": 10,
- "score_threshold": 1,
- "filters": { },
- "vectordb_id": "750a6f0f-1262-45ca-b36a-33d95c9c88bc",
- "search_mode": "auto"
}{- "query": "string",
- "results": [
- {
- "id": "string",
- "content": "string",
- "score": 0,
- "metadata": {
- "source_file": "string",
- "source_urn": "string",
- "file_id": "string",
- "page_number": 1,
- "chunk_index": 0,
- "document_uri": "string",
- "media_type": "string",
- "media_section": "string",
- "timestamp_seconds": 0,
- "frame_id": "string",
- "frame_uri": "string",
- "omniparse_doc_id": "string",
- "omniparse_chunk_id": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "source_type": "document",
- "from_graph": false,
- "match_type": "string",
- "contains_exact_query": true,
- "contains_normalized_query": true,
- "matched_needles": [
- "string"
], - "matched_span": [
- 0,
- 0
]
}
], - "total_count": 0,
- "search_time_ms": 0,
- "collections_searched": [
- "string"
], - "partial_failures": [
- { }
], - "search_mode": "auto",
- "is_exact_query": false,
- "exact_match_count": 0,
- "semantic_neighbor_count": 0,
- "semantic_neighbors": [
- {
- "id": "string",
- "content": "string",
- "score": 0,
- "metadata": {
- "source_file": "string",
- "source_urn": "string",
- "file_id": "string",
- "page_number": 1,
- "chunk_index": 0,
- "document_uri": "string",
- "media_type": "string",
- "media_section": "string",
- "timestamp_seconds": 0,
- "frame_id": "string",
- "frame_uri": "string",
- "omniparse_doc_id": "string",
- "omniparse_chunk_id": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "source_type": "document",
- "from_graph": false,
- "match_type": "string",
- "contains_exact_query": true,
- "contains_normalized_query": true,
- "matched_needles": [
- "string"
], - "matched_span": [
- 0,
- 0
]
}
]
}Deprecated: Use POST /search with format_context=true instead.
Retrieve context for RAG (Retrieval-Augmented Generation).
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| query required | string (Query) [ 1 .. 10000 ] characters User query for RAG |
Collection Name (string) or Collection Name (null) (Collection Name) Single collection to search, parity with /search. Honored only when collection_names is not provided. An explicit collection is searched directly, which is required to reach worker-written raw collections that the managed enumeration does not surface. | |
Array of Collection Names (strings) or Collection Names (null) (Collection Names) Collections to search (None = all workroom collections) | |
| top_k | integer (Top K) [ 1 .. 50 ] Default: 5 Number of sources to retrieve |
Score Threshold (number) or Score Threshold (null) (Score Threshold) Minimum relevance score; None applies no floor (parity with /search). | |
| max_context_length | integer (Max Context Length) [ 500 .. 32000 ] Default: 4000 Maximum context length in characters |
Vectordb Id (string) or Vectordb Id (null) (Vectordb Id) Optional VectorDB instance to target explicitly |
{- "query": "string",
- "collection_name": "string",
- "collection_names": [
- "string"
], - "top_k": 5,
- "score_threshold": 1,
- "max_context_length": 4000,
- "vectordb_id": "750a6f0f-1262-45ca-b36a-33d95c9c88bc"
}{- "context": "string",
- "sources": [
- {
- "chunk_id": "string",
- "filename": "string",
- "source_urn": "string",
- "page_number": 0,
- "score": 0,
- "snippet": "string"
}
], - "query": "string",
- "retrieval_time_ms": 0
}Deprecated: Use POST /search with synthesize=true instead.
Run agentic retrieval search via REST. Fixes I1: this endpoint was previously missing its @router.post() decorator.
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| query required | string (Query) [ 1 .. 10000 ] characters Search query text |
| vectordb_ids | Array of strings <uuid> (Vectordb Ids) [ items <uuid > ] VectorDB instance IDs to search |
| collection | string (Collection) <= 128 characters Default: "default" Target collection name |
Array of Collection Names (strings) or Collection Names (null) (Collection Names) Backward-compatible collection list. Only a single collection is supported for agentic retrieval. | |
Collection Name (string) or Collection Name (null) (Collection Name) Single target collection, parity with /search and /retrieve. Takes precedence over the 'collection' default; a one-item collection_names list still wins. Agentic retrieval targets exactly one collection. | |
Array of Group Ids (strings) or Group Ids (null) (Group Ids) Optional knowledge graph groups | |
Ontology Id (string) or Ontology Id (null) (Ontology Id) Optional ontology instance ID for graph search | |
| max_iterations | integer (Max Iterations) [ 1 .. 10 ] Default: 3 Max refinement iterations |
| relevance_threshold | number (Relevance Threshold) [ 0 .. 1 ] Default: 0.7 Minimum relevance threshold |
| top_k | integer (Top K) [ 1 .. 100 ] Default: 10 Top results to return |
Filters (object) or Filters (null) (Filters) Metadata filters for VectorDB document retrieval only. Knowledge graph results are not filtered. |
{- "query": "string",
- "vectordb_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "collection": "default",
- "collection_names": [
- "string"
], - "collection_name": "string",
- "group_ids": [
- "string"
], - "ontology_id": "2a85698e-3f76-4aad-89d1-465b6cb21ca9",
- "max_iterations": 3,
- "relevance_threshold": 0.7,
- "top_k": 10,
- "filters": { }
}{- "results": [
- { }
], - "iterations": 1,
- "iteration_history": [
- {
- "iteration": 1,
- "query": "string",
- "vector_results": 0,
- "graph_results": 0,
- "max_score": 0,
- "sufficient": false
}
], - "refinement_queries": [
- "string"
], - "synthesis": "string",
- "citations": [
- {
- "citation_id": 1,
- "source_file": "string",
- "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",
- "chunk_id": "55e808e1-8ddc-49f1-92c9-6bbdcdff1c83",
- "page_number": 0,
- "chunk_position": 0,
- "content_hash": "string",
- "relevance_score": 0,
- "excerpt": "string",
- "source_type": "document"
}
], - "latency_ms": 0,
- "total_results": 0
}Add knowledge to the graph from messages.
This endpoint processes messages and extracts entities and relationships automatically using the knowledge graph backend (e.g., Graphiti's LLM).
Args: ontology_id: Ontology instance UUID request: Request with group_id and messages
Returns: AddKnowledgeResult with number of messages processed
| ontology_id required | string <uuid> (Ontology Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| group_id required | string (Group Id) Knowledge group/conversation identifier |
required | Array of objects (Messages) Messages to process |
Entity Types (object) or Entity Types (null) (Entity Types) Optional entity-type schema to constrain extraction to a known type system. Omit for unconstrained extraction (default, backward-compatible behavior). | |
Array of Excluded Entity Types (strings) or Excluded Entity Types (null) (Excluded Entity Types) Entity types to suppress, e.g. ["Entity"] to drop Graphiti's built-in catch-all so extraction is constrained to the supplied types rather than merely biased toward them. |
{- "group_id": "string",
- "messages": [
- {
- "content": "string",
- "role": "user",
- "role_type": "string",
- "name": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "source_description": "string"
}
], - "entity_types": {
- "property1": {
- "description": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "description": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}
}, - "excluded_entity_types": [
- "string"
]
}{- "added_count": 0,
- "group_id": "string",
- "result": { },
- "error": "string"
}Add an explicit entity to the knowledge graph.
Use this endpoint when you want to add a specific entity without relying on automatic extraction from messages.
Args: ontology_id: Ontology instance UUID request: Entity creation request
Returns: AddEntityResult with entity_id
| ontology_id required | string <uuid> (Ontology Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| group_id required | string (Group Id) Knowledge group identifier |
| name required | string (Name) Entity name |
| entity_type required | string (Entity Type) Entity type (person, org, concept, etc.) |
Summary (string) or Summary (null) (Summary) Entity description/summary | |
Properties (object) or Properties (null) (Properties) Additional entity properties |
{- "group_id": "string",
- "name": "string",
- "entity_type": "string",
- "summary": "string",
- "properties": { }
}{- "entity_id": "string",
- "name": "string",
- "success": true,
- "error": "string"
}Workroom subgraph seed call for the Ontology Graph Viewer.
Calls the GraphitiAdapter's bounded-subgraph endpoint (T3.16) and applies the C9 source-attribution join when available. Caps enforced via Pydantic Query bounds (max_nodes <= 500, max_edges <= 2500).
Cross-workroom guard: a path workroom_id that the caller is
not authorized for returns 404 (matches FE expectation per
system design line 1161).
Note: source_attribution wiring is deferred (O-R3 — production
DB-backed IngestionLogReader pending). Until that lands the
response always carries sources: [] even when the substrate
returns edges. The FE drawer surfaces "No sources attributed"
in that case.
| ontology_id required | string <uuid> (Ontology Id) |
| workroom_id required | string <uuid> (Workroom Id) |
| max_nodes | integer (Max Nodes) [ 1 .. 500 ] Default: 500 |
| max_edges | integer (Max Edges) [ 1 .. 2500 ] Default: 2500 |
{- "nodes": [
- {
- "uuid": "string",
- "name": "string",
- "type": "string",
- "summary": "string"
}
], - "edges": [
- {
- "fact_uuid": "string",
- "source_uuid": "string",
- "target_uuid": "string",
- "fact": "string",
- "valid_at": "2019-08-24T14:15:22Z",
- "invalid_at": "2019-08-24T14:15:22Z"
}
], - "truncated": false,
- "sources": [
- {
- "fact_uuid": "string",
- "sources": [
- {
- "source_id": "string",
- "chunk_id": "string",
- "source_urn": "string",
- "score": 0
}
]
}
]
}Search the knowledge graph for relevant facts.
Args: ontology_id: Ontology instance UUID request: Search request with query and group_ids
Returns: KnowledgeSearchResult with matching facts
Cross-workroom guard: this route is addressed by ontology id only, so
the caller's authorized X-Workroom-ID need not match the workroom
the ontology actually belongs to. Without a guard, an ontology owned by
another workroom slips past header authz and the workroom-scoped
instance lookup downstream fails with a swallowed ValueError that
surfaces as a generic 500 — making a denial indistinguishable from a
real server error. Derive the ontology's owning workroom from the row
and authorize the caller against it, collapsing 403 → 404 to hide
existence (matching get_workroom_subgraph / the model-bindings
route). A missing ontology collapses to the same 404 so cross-workroom
and not-found are indistinguishable; 401/503 propagate unchanged
because they carry no resource-existence signal.
| ontology_id required | string <uuid> (Ontology Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| query required | string (Query) Search query text |
| group_ids required | Array of strings (Group Ids) Knowledge groups to search |
| max_results | integer (Max Results) [ 1 .. 100 ] Default: 10 Maximum results to return |
{- "query": "string",
- "group_ids": [
- "string"
], - "max_results": 10
}{- "facts": [
- {
- "fact_uuid": "string",
- "content": "string",
- "score": 0,
- "source": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "metadata": { }
}
], - "query": "string",
- "total_count": 0,
- "sources": [
- {
- "fact_uuid": "string",
- "sources": [
- {
- "source_id": "string",
- "chunk_id": "string",
- "source_urn": "string",
- "score": 0
}
]
}
]
}Get RAG context from the knowledge graph.
This is the primary endpoint for retrieving context to augment LLM prompts with knowledge from the graph.
Args: ontology_id: Ontology instance UUID request: Memory request with group_id and query
Returns: MemoryResult with facts and related entities
| ontology_id required | string <uuid> (Ontology Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| group_id required | string (Group Id) Knowledge group identifier |
| query required | string (Query) Query to find relevant context |
| max_facts | integer (Max Facts) [ 1 .. 50 ] Default: 10 Maximum facts to return |
{- "group_id": "string",
- "query": "string",
- "max_facts": 10
}{- "facts": [
- {
- "fact_uuid": "string",
- "content": "string",
- "score": 0,
- "source": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "metadata": { }
}
], - "entities": [
- { }
], - "episodes": [
- { }
], - "group_id": "string"
}Get recent episodes for a knowledge group.
Args: ontology_id: Ontology instance UUID group_id: Knowledge group identifier last_n: Number of recent episodes to retrieve
Returns: EpisodesResult with episodes
| ontology_id required | string <uuid> (Ontology Id) |
| group_id required | string (Group Id) |
| last_n | integer (Last N) [ 1 .. 100 ] Default: 10 |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "episodes": [
- {
- "episode_id": "string",
- "content": "string",
- "source": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "group_id": "string",
- "metadata": { }
}
], - "group_id": "string",
- "count": 0
}Delete a knowledge group and all its data.
WARNING: This is destructive and cannot be undone.
Args: ontology_id: Ontology instance UUID group_id: Group identifier to delete
Returns: DeleteGroupResult with success status
| ontology_id required | string <uuid> (Ontology Id) |
| group_id required | string (Group Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "group_id": "string",
- "success": true
}Operator-driven pin update for a Graphiti ontology's chat / embedding bindings.
Pin a chat or embedding capability to a specific deployment by ID, or
clear an existing pin (deployment_id=null) and let the binding
reconciler resume auto-resolution. See system design Section 4.2.5
for the full state matrix.
Authorization is path-scoped: the workroom is derived from
DBOntologyInstance.workroom_id (not from X-Workroom-ID) so
the caller cannot escalate by sending a foreign header. Admins
bypass; because this is a write/operator action (it patches the
Graphiti extension env via the reconciler), non-admins must hold a
write-caliber relation (owner/editor) on the derived workroom —
read-only membership (viewer) is not sufficient.
Validation order (each step's failure short-circuits the next):
ContextWriter — admin OR user).get_workroom_subgraph
(system design Section 4.4.5 / OWASP A01)._managed_bindings,
patches K8s extension env. Successful K8s rollout → 200.
K8s rollout failure → reconciler rolls back the binding and
raises ModelRouteUnavailableError → 503 + Retry-After.
Operator-pinned deployment unroutable → 503 + Retry-After.| ontology_id required | string <uuid> (Ontology Id) |
BindingUpdate (object) or null Chat-capability pin update. Omit to leave unchanged; supply with | |
BindingUpdate (object) or null Embedding-capability pin update. Omit to leave unchanged; supply with |
{- "chat": {
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6"
}, - "embedding": {
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6"
}
}{- "ontology_id": "2a85698e-3f76-4aad-89d1-465b6cb21ca9",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "chat": {
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "model_name": "string",
- "repo_model_id": "string",
- "base_url": "string",
- "source": "operator",
- "healthy": false,
- "last_resolved_at": "2019-08-24T14:15:22Z"
}, - "embedding": {
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "model_name": "string",
- "repo_model_id": "string",
- "base_url": "string",
- "source": "operator",
- "healthy": false,
- "last_resolved_at": "2019-08-24T14:15:22Z"
}, - "runtime_status": { },
- "rollout": {
- "db_updated": true,
- "env_patched": true,
- "rollout_triggered": true,
- "rollout_status": "ok",
- "detail": "string"
}, - "message": "string"
}Check health of an ontology instance.
Args: ontology_id: Ontology instance UUID
Returns: Health status
| ontology_id required | string <uuid> (Ontology Id) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{ }Upload a file for processing through the context pipeline.
Streams the uploaded file to a temp location, validates size and type, then creates a pipeline job for background processing.
Args: file: Multipart file upload. workroom_id: Workroom identifier from header. background_tasks: FastAPI background tasks. collection_name: Target collection name (optional). source_urn: Source URN for tracking (optional).
Returns: Created PipelineJob with pending status.
Collection Name (string) or Collection Name (null) (Collection Name) | |
Source Urn (string) or Source Urn (null) (Source Urn) |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| file required | string <application/octet-stream> (File) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "collection_name": "string",
- "status": "pending",
- "progress": {
- "stage": "pending",
- "total_files": 0,
- "processed_files": 0,
- "total_chunks": 0,
- "chunks_indexed": 0,
- "failed_files": [
- { }
], - "diagnostics": { }
}, - "created_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "diagnostics": { },
- "created_by": "string",
- "idempotency_key": "string",
- "file_results": [
- {
- "filename": "string",
- "status": "success",
- "chunks_created": 0,
- "error": "string",
- "diagnostics": { },
- "item_state": "pending",
- "terminal_outcome": "pending",
- "failure_reason": "string",
- "freshness_status": "current",
- "source_urn": "string",
- "item_key": "string",
- "source_provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "source_last_modified": "2019-08-24T14:15:22Z",
- "replayable": false
}
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "request_snapshot": {
- "request_type": "source_import",
- "sources": [
- {
- "item_key": "string",
- "filename": "string",
- "content_type": "string",
- "source_urn": "string",
- "source": {
- "provider": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "source_ref": "string",
- "display_title": "string",
- "source_type": "file",
- "selected_granularity": {
- "mode": "item",
- "option": "string",
- "recursive": false,
- "include_children": false,
- "query": "string"
}, - "last_modified": "2019-08-24T14:15:22Z",
- "provider_metadata": { }
}
}
], - "config": {
- "extraction": {
- "use_omniparse": false,
- "strict_omniparse": false,
- "pipeline": "default",
- "ocr": {
- "engine": "tesseract",
- "lang": "en",
- "handwriting_mode": false,
- "confidence_threshold": 0.3
}, - "vision_model": {
- "api_endpoint": "string",
- "model_name": "Qwen2.5-VL-7B-Instruct",
- "max_tokens": 4000,
- "verify_ssl": true
}, - "enable_translation": false,
- "translation": {
- "target_language": "string",
- "source_language": "auto",
- "api_endpoint": "string",
- "model_name": "string"
}, - "omniparse_chunking": false,
- "omniparse_max_tokens": 500,
- "omniparse_overlap": 80
}, - "chunking": {
- "strategy": "recursive",
- "chunk_size": 512,
- "chunk_overlap": 50
}, - "embedding_model": "string",
- "collection_name": "string"
}, - "callback": {
- "url": "string",
- "events": [
- "completed"
], - "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "force": false,
- "replayed_from_job_id": "162cd363-2e9b-4a86-93fb-a779608bc730"
}
}Store a raw file directly into workroom-scoped object storage.
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| filename required | string (Filename) [ 1 .. 255 ] characters Original filename for the stored raw file. |
| content_base64 required | string (Content Base64) [ 4 .. 139810136 ] characters Base64-encoded raw file bytes. Must encode at least one byte (min 4 characters); decoded payload must not exceed the configured max_file_size_mb limit. |
Content Type (string) or Content Type (null) (Content Type) Optional MIME type. Defaults to a filename-based guess. | |
Source Urn (string) or Source Urn (null) (Source Urn) Optional source URN associated with the raw file. The inline-create verb only accepts | |
Source Kind (string) or Source Kind (null) (Source Kind) Optional source mode. Permitted values: | |
object (Source Ref) Optional connector/source reference metadata. | |
object (Metadata) Optional caller-supplied metadata to persist with the raw file. |
{- "filename": "string",
- "content_base64": "string",
- "content_type": "string",
- "source_urn": "string",
- "source_kind": "string",
- "source_ref": { },
- "metadata": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_urn": "string",
- "filename": "string",
- "content_type": "string",
- "size_bytes": 0,
- "checksum_sha256": "string",
- "source_kind": "string",
- "source_ref": { },
- "s3_uri": "string",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "string",
- "download_url": "string"
}List raw files stored for a workroom.
Source Urn (string) or Source Urn (null) (Source Urn) Filter by source URN | |
Job Id (string) or Job Id (null) (Job Id) Filter by pipeline job ID | |
Connector Id (string) or Connector Id (null) (Connector Id) Filter to RawFiles ingested via a single connector instance (matches the | |
| limit | integer (Limit) [ 1 .. 200 ] Default: 50 |
| offset | integer (Offset) >= 0 Default: 0 |
| include_markings | boolean (Include Markings) Default: false When true, each row includes |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_urn": "string",
- "filename": "string",
- "content_type": "string",
- "size_bytes": 0,
- "checksum_sha256": "string",
- "source_kind": "string",
- "source_ref": { },
- "s3_uri": "string",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "string",
- "markings": [
- "string"
]
}
], - "count": 0
}Get one raw-file metadata record by ID and workroom scope.
| file_id required | string <uuid> (File Id) |
| include_download_url | boolean (Include Download Url) Default: false Include a pre-signed download URL when S3 metadata exists |
Expires Seconds (integer) or Expires Seconds (null) (Expires Seconds) Override pre-signed URL TTL in seconds |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workroom_id": "af729e58-bdc6-4b07-b43f-d9efa9e158a4",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "source_urn": "string",
- "filename": "string",
- "content_type": "string",
- "size_bytes": 0,
- "checksum_sha256": "string",
- "source_kind": "string",
- "source_ref": { },
- "s3_uri": "string",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "string",
- "download_url": "string"
}Update the content of a plain-text raw file (C13).
Edit access: any ContextWriter member of the workroom (no author-only gate). See system design v0.1.4 §3.8.5 + spikes/t1.1-c13-verb-shape.md for the locked contract.
| file_id required | string <uuid> (File Id) |
If-Match (string) or If-Match (null) (If-Match) Optional concurrency-control token (the file's | |
X-Workroom-Id (string) or X-Workroom-Id (null) (X-Workroom-Id) Workroom ID for isolation |
| content required | string (Content) <= 65535 characters |