Get attachment facts for given type either model_usecase or model
GET /v1/aigov/factsheet/attachment_fact_definitions/{type_name}
Get attachment facts for given type either model_usecase or model
Request
Path Parameters
type_name
Required *
string
Attachment fact type, allowed values are model_usecase or model
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch Model use case Asset for given assetId
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Create attachment group deifinition
POST /v1/aigov/factsheet/attachment_fact_definitions/{type_name}
Create attachment group deifinition
Request
Request Body
AttachmentDefinition
Attachment definition attributes
name
string
description
string
id
string
type
string
Path Parameters
type_name
Required *
string
Attachment fact type, allowed values are model_usecase or model
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
201 - Created
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Returns the Report Attachment Contents.
GET /v1/aigov/factsheet/report_logo
Returns the Report Attachment Contents.
Request
Path Parameters
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch Model use case Asset for given assetId
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Uploads the Report Logo as an Attachment to the AIGOV Config Asset
PUT /v1/aigov/factsheet/report_logo
Uploads the Report Logo as an Attachment to the AIGOV Config Asset
Request
Path Parameters
Query Parameters
file_name
Required *
string
Name
call_ref
string
call_ref optional for caller reference
Response
204 - Updated
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Deletes the Existing Report Logo Attachment from AIGOV Config Asset
DELETE /v1/aigov/factsheet/report_logo
Deletes the Existing Report Logo Attachment from AIGOV Config Asset
Request
Path Parameters
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
204 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Returns the Report Attachment Contents.
GET /v1/aigov/factsheet/report_stylesheet
Returns the Report Attachment Contents.
Request
Path Parameters
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch Model use case Asset for given assetId
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Uploads the Report StyleSheet as an Attachment to the AIGOV Config Asset
PUT /v1/aigov/factsheet/report_stylesheet
Uploads the Report StyleSheet as an Attachment to the AIGOV Config Asset
Request
Path Parameters
Query Parameters
file_name
string
Name
call_ref
string
call_ref optional for caller reference
Response
204 - Updated
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Deletes the Existing Report StyleSheet Attachment from AIGOV Config Asset
DELETE /v1/aigov/factsheet/report_stylesheet
Deletes the Existing Report StyleSheet Attachment from AIGOV Config Asset
Request
Path Parameters
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
204 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Get all Attachment facts
GET /v1/aigov/factsheet/attachment_fact_definitions
Get all Attachment facts
Request
Path Parameters
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch Model use case Asset for given assetId
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Get Attachmet details for the given attachment ID
GET /v1/aigov/model_inventory/model_usecases/{asset_id}/facts
Get Attachmet details for the given attachment ID
Request
Path Parameters
asset_id
Required *
string
Asset GUID
Query Parameters
catalog_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch Model use case Asset for given assetId
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Returns the Report Attachment Logo or Stylesheet file name.
GET /v1/aigov/factsheet/report_logo_stylesheet/file_name
Returns the Report Attachment Logo or Stylesheet file name.
Request
Path Parameters
Query Parameters
attachment_type
Required *
string
IAM Bearer access token
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch Model use case Asset for given assetId
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Returns templates metadata, if scope is provided then it would provide only those scope specific template metadata
PUT /v1/aigov/factsheet/models/attachment/{asset_id}/content
Returns templates metadata, if scope is provided then it would provide only those scope specific template metadata
Request
Path Parameters
asset_id
Required *
string
asset_id
Query Parameters
project_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
space_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
catalog_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
name
string
Name
description
string
description
mime
string
mime
fact_id
Required *
string
Fact ID of Attachment
html_rendering_hint
string
HTML rendering hint of Attachment
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Returns templates metadata, if scope is provided then it would provide only those scope specific template metadata
PUT /v1/aigov/factsheet/model_entries/attachment/{model_entry_asset_id}/content
Returns templates metadata, if scope is provided then it would provide only those scope specific template metadata
Request
Path Parameters
model_entry_asset_id
Required *
string
asset_id
Query Parameters
catalog_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
name
string
Name
description
string
description
mime
string
mime
fact_id
Required *
string
Fact ID of Attachment
html_rendering_hint
string
HTML rendering hint of Attachment
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Delete Collaborators from an Inventory
DELETE /v1/aigov/inventories/{inventory_id}/collaborators/{collaborator_id}
Delete Collaborators from an Inventory
Request
Path Parameters
inventory_id
Required *
string
inventory_id
collaborator_id
Required *
string
collaborator_id
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
204 - No Content
400 - Bad Request
trace
string
errors
array
401 - Unauthorized
trace
string
errors
array
403 - Forbidden
trace
string
errors
array
500 - Internal Server Error
trace
string
errors
array
Update Role of the Collaborator
PATCH /v1/aigov/inventories/{inventory_id}/collaborators/{collaborator_id}
Update Role of the Collaborator
Request
Request Body
Patch JsonArray payload
Path Parameters
inventory_id
Required *
string
inventory_id
collaborator_id
Required *
string
collaborator_id
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
trace
string
errors
array
401 - Unauthorized
trace
string
errors
array
404 - AI Factsheets Service is not available now please try after some time
trace
string
errors
array
List all Collaborators of an Inventory
GET /v1/aigov/inventories/{inventory_id}/collaborators
List all Collaborators of an Inventory
Request
Path Parameters
inventory_id
Required *
string
inventory_id
Query Parameters
collaborator_type
string
collaborator_type
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
trace
string
errors
array
401 - Unauthorized
trace
string
errors
array
403 - Forbidden
trace
string
errors
array
404 - AI Factsheets Service is not available now please try after some time
trace
string
errors
array
500 - Internal Server Error
trace
string
errors
array
Add Collaborators to an Inventory
POST /v1/aigov/inventories/{inventory_id}/collaborators
Add Collaborators to an Inventory
Request
Request Body
CollaboratorsSchema
Patch json object payload
members
array
Path Parameters
inventory_id
Required *
string
inventory_id
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
trace
string
errors
array
401 - Unauthorized
trace
string
errors
array
404 - AI Factsheets Service is not available now please try after some time
trace
string
errors
array
Add/Remove/Update Collaborator for an Asset
PATCH /v1/aigov/inventories/{inventory_id}/assets/{asset_id}/collaborators
Add/Remove/Update Collaborator for an Asset
Request
Request Body
Patch JsonArray payload
Path Parameters
asset_id
Required *
string
asset_id
inventory_id
Required *
string
inventory_id
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
trace
string
errors
array
401 - Unauthorized
trace
string
errors
array
404 - AI Factsheets Service is not available now please try after some time
trace
string
errors
array
Gets an AI Governance Configuration Setting
GET /v1/aigov/factsheet/settings/{setting}
Gets an AI Governance Configuration Setting
Request
Path Parameters
setting
Required *
string
Name of setting
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Updates AI Governance Configuration Settings
PUT /v1/aigov/factsheet/settings/{setting}
Updates AI Governance Configuration Settings
Request
Request Body
AddSetting
Setting value
value
string
Path Parameters
setting
Required *
string
Name of setting
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - OK
201 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Deletes an AI Governance Configuration Setting
DELETE /v1/aigov/factsheet/settings/{setting}
Deletes an AI Governance Configuration Setting
Request
Path Parameters
setting
Required *
string
Name of setting
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
204 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Gets all AI Governance Inventories Details
GET /v1/aigov/inventories
Gets all AI Governance Inventories Details
Request
Path Parameters
Query Parameters
bss_account_id
string
Limited to use by accredited services. Must be supplied when caller is an accredited service. Used for listing catalogs, projects, or spaces for the account or for retrieving the number of public catalogs for the account.
limit
integer
limit
bookmark
string
bookmark
skip
integer
skip
orderby
array
orderby
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
trace
string
errors
array
401 - Unauthorized
trace
string
errors
array
403 - Forbidden
trace
string
errors
array
404 - AI Factsheets Service is not available now please try after some time
trace
string
errors
array
500 - Internal Server Error
trace
string
errors
array
Create a Factsheet Inventory
POST /v1/aigov/inventories
Create a Factsheet Inventory
Request
Request Body
InventorySchema
Patch json object payload
name
string
description
string
generator
string
bss_account_id
string
capacity_limit
integer
bucket
Bucket
bucket_name
string
bucket_location
string
endpoint_url
string
bucket_type
string
role_arn
string
shared
boolean
resource_instance_id
string
credentials_rw
object
bluemix_cos_credentials
object
is_governed
boolean
auto_profiling
boolean
saml_instance_name
string
uid
string
subtype
string
Path Parameters
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
201 - Created
400 - Bad Request
trace
string
errors
array
401 - Unauthorized
trace
string
errors
array
404 - AI Factsheets Service is not available now please try after some time
trace
string
errors
array
Gets an AI Governance Inventory Details
GET /v1/aigov/inventories/{inventory_id}
Gets an AI Governance Inventory Details
Request
Path Parameters
inventory_id
Required *
string
inventory_id
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
trace
string
errors
array
401 - Unauthorized
trace
string
errors
array
403 - Forbidden
trace
string
errors
array
404 - AI Factsheets Service is not available now please try after some time
trace
string
errors
array
500 - Internal Server Error
trace
string
errors
array
Deletes an AI Governance Inventory
DELETE /v1/aigov/inventories/{inventory_id}
Deletes an AI Governance Inventory
Request
Path Parameters
inventory_id
Required *
string
inventory_id
Query Parameters
delete_bucket
Required *
boolean
delete_bucket
call_ref
string
call_ref optional for caller reference
Response
204 - No Content
400 - Bad Request
trace
string
errors
array
401 - Unauthorized
trace
string
errors
array
403 - Forbidden
trace
string
errors
array
500 - Internal Server Error
trace
string
errors
array
Update an AI Governance Inventory properties
PATCH /v1/aigov/inventories/{inventory_id}
Update an AI Governance Inventory properties
Request
Request Body
Patch JsonArray payload
Path Parameters
inventory_id
Required *
string
inventory_id
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
trace
string
errors
array
401 - Unauthorized
trace
string
errors
array
404 - AI Factsheets Service is not available now please try after some time
trace
string
errors
array
Gets all AI Governance Configuration Settings
GET /v1/aigov/factsheet/settings
Gets all AI Governance Configuration Settings
Request
Path Parameters
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Get all deployments of external model
GET /v1/aigov/model_inventory/models/{model_asset_id}/deployments
API supports only external models
Request
Path Parameters
model_asset_id
Required *
string
model_asset_id
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Add a deployment to external model
PUT /v1/aigov/model_inventory/models/{model_asset_id}/deployments
Add a deployment to external model
Request
Request Body
DeploymentDetail
Deployment detail payload
id
string
external_identifier
string
name
string
type
string
is_deleted
boolean
scoring_endpoint
string
description
string
Path Parameters
model_asset_id
Required *
string
model_asset_id
Query Parameters
catalog_id
Required *
string
catalog_id
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Get All Model use case assets
GET /v1/aigov/model_inventory/model_entries
Returns all Model use case assets
Request
Path Parameters
Query Parameters
bss_account_id
string
Limited to use by accredited services. Must be supplied when caller is an accredited service. Used for listing catalogs, projects, or spaces for the account or for retrieving the number of public catalogs for the account.
call_ref
string
call_ref optional for caller reference
Response
200 - Get All Model use case assets
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Create a Model use case asset for given catalog
POST /v1/aigov/model_inventory/model_entries
Creates an asset of Type Model use case
Request
Request Body
ModelEntryAttribute
ModelEntry attributes
name
string
description
string
risk_level
string
status
string
tags
array
owner
string
additional_details
object
config
Config
hide_banner
array
Path Parameters
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
201 - Created
400 - Bad Request
401 - Unauthorized
404 - AI Factsheets Service is not available now please try after some time
Create model use case approach
POST /v1/aigov/model_inventory/model_usecases/{model_usecase_asset_id}/version_approach
Create model use case approach
Request
Request Body
Approach
Approach json object
name
string
description
string
icon
string
icon_color
string
Path Parameters
model_usecase_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
201 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Delete external model deployment
DELETE /v1/aigov/model_inventory/models/{model_asset_id}/deployments/{deployment_id}
This api supports only external models
Request
Path Parameters
model_asset_id
Required *
string
model_asset_id
deployment_id
Required *
string
deployment_id
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
204 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Fetch Model use case Asset for given assetId
GET /v1/aigov/model_inventory/model_entries/{model_entry_asset_id}
Returns Model use case Asset for given assetId
Request
Path Parameters
model_entry_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch Model use case Asset for given assetId
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Delete Model use case
DELETE /v1/aigov/model_inventory/model_entries/{model_entry_asset_id}
Use this API to delete an existing Model use case and remove Model use case information.
Request
Path Parameters
model_entry_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
204 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Update Status and/or Risk Level of ModelEntry
PATCH /v1/aigov/model_inventory/model_entries/{model_entry_asset_id}
Update Status and/or Risk Level of ModelEntry
Request
Request Body
ModelEntryStatus
ModelEntry Status
status
string
risk_level
string
Path Parameters
model_entry_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
404 - AI Factsheets Service is not available now please try after some time
Delete Model use case approach
DELETE /v1/aigov/model_inventory/model_usecases/{model_usecase_asset_id}/version_approach/{approach_id}
Use this API to delete an existing Model use case approach if it's not being used by a model.
Request
Path Parameters
approach_id
Required *
string
approach_id
model_usecase_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
204 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Update Model use case approach
PATCH /v1/aigov/model_inventory/model_usecases/{model_usecase_asset_id}/version_approach/{approach_id}
Use this API to update an existing Model use case approach if it's not being used by a model.
Request
Request Body
Patch JsonArray payload
Path Parameters
approach_id
Required *
string
approach_id
model_usecase_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
200 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Fetch all Model use case assets for the catalog
GET /v1/aigov/model_inventory/{catalog_id}/model_entries
Returns all Model use case assets for a catalog
Request
Path Parameters
catalog_id
Required *
string
Catalog GUID
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch all Model use case assets for the catalog
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Fetch System facts of the Model
GET /v1/aigov/model_inventory/models/{asset_id}/system_facts
Returns System Facts of the Model
Request
Path Parameters
asset_id
Required *
string
Asset GUID
Query Parameters
catalog_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
project_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
space_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
deployment_id
string
Deployment GUID
exclude_basic_facts
boolean
exclude_basicFacts
exclude_additional_facts
boolean
exclude_additionalFacts
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch System facts of the Model
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Update SystemFacts with openscale data
POST /v1/aigov/model_inventory/models/{asset_id}/system_facts
Model SystemFacts is updated with data from Openscale, Note: Only OpenScale MRM Service with a valid token is authorized to execute this endpoint
Request
Request Body
OpenscaleSchema
Openscale Facts
system_facts
SystemFacts
fairness
object
drift
object
drift_v2
object
model_health
object
quality
object
explainability
object
generative_ai_quality
object
custom_monitors
array
evaluation_details
object
openscale_details
object
model_details
object
deployment_details
object
approval_status
object
Path Parameters
asset_id
Required *
string
Asset GUID
Query Parameters
space_id
string
Space GUID
project_id
string
Project GUID
deployment_id
Required *
string
Deployment GUID
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
401 - Unauthorized
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Fetch Model use case Asset for given assetId
GET /v1/aigov/model_inventory/model_usecases/{model_usecase_asset_id}/tracked_model_versions
Returns Model use case Asset for given assetId
Request
Path Parameters
model_usecase_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch Model use case Asset for given assetId
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Gets the version details of a model
GET /v1/aigov/model_inventory/models/{model_asset_id}/version_details
Gets the version details of a model
Request
Path Parameters
model_asset_id
Required *
string
model_asset_id
Query Parameters
catalog_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
project_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
space_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Fetch all Physical Models for a logical Model
GET /v1/aigov/model_inventory/model_entries/{model_entry_asset_id}/models
Returns all Physical Models for a logical Model
Request
Path Parameters
model_entry_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch all Physical Models for a logical Model
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Requested data are not available, try again later.
500 - Internal Server Error
Link Model to Model use case
POST /v1/aigov/model_inventory/models/{asset_id}/model_entry
Link Model to Model use case
Request
Request Body
ModelEntryDetails
ModelEntry Details
model_entry_catalog_id
string
model_entry_asset_id
string
model_entry_name
string
model_entry_description
string
grc_model_id
string
version_details
LocalVersionDetails
number
string
comment
string
approach_id
string
Path Parameters
asset_id
Required *
string
Model GUID
Query Parameters
catalog_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
project_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
space_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Move deployment from source to target environment
PUT /v1/aigov/model_inventory/models/{model_asset_id}/deployments/{deployment_id}/environment
Move deployment from source to target environment
Request
Request Body
Patch json object payload
Path Parameters
model_asset_id
Required *
string
Asset GUID
deployment_id
Required *
string
Deployment GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
200 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Move model from source to target environment
PUT /v1/aigov/model_inventory/models/{model_asset_id}/environment
Move model from source to target environment
Request
Request Body
Patch json object payload
Path Parameters
model_asset_id
Required *
string
model_asset_id
Query Parameters
catalog_id
Required *
string
catalog_id
call_ref
string
call_ref optional for caller reference
Response
200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Save External Model
PUT /v1/aigov/model_inventory/model_stub
Creates an asset of type Model Stub
Request
Request Body
ModelStub
ModelStub metadata
model_id
string
external_model_identifier
string
name
string
description
string
model_type
string
input_type
string
algorithm
string
label_type
string
label_column
string
prediction_type
string
software_spec
string
software_spec_id
string
external_model_provider
string
schemas
Schemas
input
array
output
array
training_data_references
array
deployment_details
DeploymentDetail
id
string
external_identifier
string
name
string
type
string
is_deleted
boolean
scoring_endpoint
string
description
string
Path Parameters
Query Parameters
experiment_name
string
experiment_name
catalog_id
string
catalog_id
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Update master_id for a model
PATCH /v1/aigov/model_inventory/model_entries/{model_entry_asset_id}/relatemodels
Updates master_id of model
Request
Request Body
RelateModel
Model information to relate master_ids
reference_model_id
string
model_id
string
Path Parameters
model_entry_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Update Model use case approach
PUT /v1/aigov/model_inventory/model_usecases/{model_usecase_asset_id}/version_approach/{approach_id}/versions/{version_number}
Use this API to update an existing Model use case approach if it's not being used by a model.
Request
Request Body
Patch json object payload
Path Parameters
approach_id
Required *
string
approach_id
version_number
Required *
string
version_number
model_usecase_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
call_ref
string
call_ref optional for caller reference
Response
200 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Returns templates metadata, if scope is provided then it would provide only those scope specific template metadata
GET /v1/aigov/report_templates
Returns templates metadata, if scope is provided then it would provide only those scope specific template metadata
Request
Path Parameters
Query Parameters
scope
Required *
string
Template Scope
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Create report template
POST /v1/aigov/report_templates
Create report template with ftl file to be used for report generation
Request
Request Body
ReportTemplate
Custom Report Template Creation Data
name
string
description
string
scope
array
report_module
boolean
Path Parameters
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Returns templates metadata, if scope is provided then it would provide only those scope specific template metadata
GET /v1/aigov/report_templates/{template_id}
Returns templates metadata, if scope is provided then it would provide only those scope specific template metadata
Request
Path Parameters
template_id
Required *
string
Template Asset GUID
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Delete Report User Report Template Asset
DELETE /v1/aigov/report_templates/{template_id}
Delete Report User Report Template Asset
Request
Path Parameters
template_id
Required *
string
Template Asset GUID
Query Parameters
Response
204 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Update report template
PATCH /v1/aigov/report_templates/{template_id}
Update report template with ftl file to be used for report generation
Request
Request Body
ReportTemplate
Custom Report Template Creation Data
name
string
description
string
scope
array
report_module
boolean
Path Parameters
template_id
Required *
string
Template Asset GUID
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
API to delete the System Report Template
DELETE /v1/aigov/report_templates/system/{template_id}
API to delete the System Report Template
Request
Path Parameters
template_id
Required *
string
Template Asset GUID
Query Parameters
Response
204 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
500 - Internal Server Error
Download Model use case Asset for given assetId, format type and template type
GET /v1/aigov/model_inventory/model_entries/{model_entry_asset_id}/report
Returns Model use case Asset data file for given assetId, format type and template type
Request
Path Parameters
model_entry_asset_id
Required *
string
ModelEntry Asset GUID
Query Parameters
catalog_id
Required *
string
Catalog GUID
format
string
Format Type
strict
boolean
Ignore Template Errors
template_id
Required *
string
Template Asset GUID
call_ref
string
call_ref optional for caller reference
Response
200 - Fetch Model use case Asset for given assetId
400 - Bad Request
401 - Unauthorized
404 - Requested data are not available, try again later.
500 - Internal Server Error
Download Model Asset for given assetId, format type and template type
GET /v1/aigov/model_inventory/models/{asset_id}/report
Returns Model Asset data file for given assetId, format type and template type
Request
Path Parameters
asset_id
Required *
string
Model GUID
Query Parameters
catalog_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
project_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
space_id
string
You must provide either a catalog id, a project id, or a space id, but not more than one
format
string
Format Type
strict
boolean
Ignore Template Errors
template_id
Required *
string
Template Asset GUID
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Returns templates metadata, if scope is provided then it would provide only those scope specific template metadata
GET /v1/aigov/report_templates/{template_id}/content
Returns templates metadata, if scope is provided then it would provide only those scope specific template metadata
Request
Path Parameters
template_id
Required *
string
Template Asset GUID
Query Parameters
call_ref
string
call_ref optional for caller reference
Response
200 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - AI Factsheets Service is not available now please try after some time
500 - Internal Server Error
Update specific report template content
POST /v1/aigov/report_templates/{template_id}/content
Updates specified template id with template file name and content
Request
Path Parameters
template_id
Required *
string
Template Asset GUID
Query Parameters
template_name
Required *
string
Template file name which is an ftl file
call_ref
string
call_ref optional for caller reference