Credentials
Bearer authentication
Filter results by name.
Filters results by scope. Returns only assets that belong to the specified scope. Mutually exclusive with includeDescendants. Valid values: tenant, cluster, department, project.
Filter results by project id. If scope filter is project, only assets from the specific project will be included in the response. Otherwise, the response will include project, department, cluster, tenant and system assets.
Filter results by department id. If scope filter is department, only assets from the specific department will be included in the response. Otherwise, the response will include department, cluster, tenant and system assets.
1Filter results by Universally Unique Identifier (UUID) of the cluster. If scope filter is cluster, only assets from the specific cluster will be included in the response. Otherwise, the response will include cluster, tenant and system assets.
d73a738f-fab3-430a-8fa3-5241493d7128Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Indicates whether to include assets from all descendant scopes under the specified scope. When set to true, and a specific scope identifier (for example, clusterId) is provided, the query also returns assets from all nested scopes within it (for example, departments and projects). Mutually exclusive with scope.
Request completed successfully.
Unauthorized
Forbidden
unexpected error
GET /api/v1/asset/credentials HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"entries": []
}Bearer authentication
Filter results by name.
Filters results by scope. Returns only assets that belong to the specified scope. Mutually exclusive with includeDescendants. Valid values: tenant, cluster, department, project.
Filter results by project id. If scope filter is project, only assets from the specific project will be included in the response. Otherwise, the response will include project, department, cluster, tenant and system assets.
Filter results by department id. If scope filter is department, only assets from the specific department will be included in the response. Otherwise, the response will include department, cluster, tenant and system assets.
1Filter results by Universally Unique Identifier (UUID) of the cluster. If scope filter is cluster, only assets from the specific cluster will be included in the response. Otherwise, the response will include cluster, tenant and system assets.
d73a738f-fab3-430a-8fa3-5241493d7128Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
GET /api/v1/asset/credentials/access-key HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"entries": []
}Bearer authentication
Request accepted successfully.
Bad request.
Unauthorized
The specified resource already exists
unexpected error
POST /api/v1/asset/credentials/access-key HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 248
{
"meta": {
"name": "my-asset",
"scope": "tenant",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"inference": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"accessKeyId": "text",
"secretAccessKey": "text"
}
}{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"accessKeyId": "text",
"secretAccessKey": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
GET /api/v1/asset/credentials/access-key/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"accessKeyId": "text",
"secretAccessKey": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
PUT /api/v1/asset/credentials/access-key/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"meta": {
"description": "my-credentials"
}
}{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"accessKeyId": "text",
"secretAccessKey": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Accepted.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource was not found.
unexpected error
DELETE /api/v1/asset/credentials/access-key/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"code": 202,
"message": "Request has been accepted."
}Bearer authentication
Filter results by name.
Filters results by scope. Returns only assets that belong to the specified scope. Mutually exclusive with includeDescendants. Valid values: tenant, cluster, department, project.
Filter results by project id. If scope filter is project, only assets from the specific project will be included in the response. Otherwise, the response will include project, department, cluster, tenant and system assets.
Filter results by department id. If scope filter is department, only assets from the specific department will be included in the response. Otherwise, the response will include department, cluster, tenant and system assets.
1Filter results by Universally Unique Identifier (UUID) of the cluster. If scope filter is cluster, only assets from the specific cluster will be included in the response. Otherwise, the response will include cluster, tenant and system assets.
d73a738f-fab3-430a-8fa3-5241493d7128Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
GET /api/v1/asset/credentials/password HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"entries": []
}Bearer authentication
Request accepted successfully.
Bad request.
Unauthorized
The specified resource already exists
unexpected error
POST /api/v1/asset/credentials/password HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 234
{
"meta": {
"name": "my-asset",
"scope": "tenant",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"inference": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"user": "text",
"password": "text"
}
}{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"user": "text",
"password": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
GET /api/v1/asset/credentials/password/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"user": "text",
"password": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
PUT /api/v1/asset/credentials/password/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"meta": {
"description": "my-credentials"
}
}{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"user": "text",
"password": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Accepted.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource was not found.
unexpected error
DELETE /api/v1/asset/credentials/password/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"code": 202,
"message": "Request has been accepted."
}Bearer authentication
Filter results by name.
Filters results by scope. Returns only assets that belong to the specified scope. Mutually exclusive with includeDescendants. Valid values: tenant, cluster, department, project.
Filter results by project id. If scope filter is project, only assets from the specific project will be included in the response. Otherwise, the response will include project, department, cluster, tenant and system assets.
Filter results by department id. If scope filter is department, only assets from the specific department will be included in the response. Otherwise, the response will include department, cluster, tenant and system assets.
1Filter results by Universally Unique Identifier (UUID) of the cluster. If scope filter is cluster, only assets from the specific cluster will be included in the response. Otherwise, the response will include cluster, tenant and system assets.
d73a738f-fab3-430a-8fa3-5241493d7128Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
GET /api/v1/asset/credentials/docker-registry HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"entries": []
}Bearer authentication
Request accepted successfully.
Bad request.
Unauthorized
The specified resource already exists
unexpected error
POST /api/v1/asset/credentials/docker-registry HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 247
{
"meta": {
"name": "my-asset",
"scope": "tenant",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"inference": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"user": "text",
"password": "text",
"url": "text"
}
}{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"user": "text",
"password": "text",
"url": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
GET /api/v1/asset/credentials/docker-registry/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"user": "text",
"password": "text",
"url": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
PUT /api/v1/asset/credentials/docker-registry/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"meta": {
"description": "my-credentials"
}
}{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"user": "text",
"password": "text",
"url": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Accepted.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource was not found.
unexpected error
DELETE /api/v1/asset/credentials/docker-registry/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"code": 202,
"message": "Request has been accepted."
}Bearer authentication
Filter results by name.
Filters results by scope. Returns only assets that belong to the specified scope. Mutually exclusive with includeDescendants. Valid values: tenant, cluster, department, project.
Filter results by project id. If scope filter is project, only assets from the specific project will be included in the response. Otherwise, the response will include project, department, cluster, tenant and system assets.
Filter results by department id. If scope filter is department, only assets from the specific department will be included in the response. Otherwise, the response will include department, cluster, tenant and system assets.
1Filter results by Universally Unique Identifier (UUID) of the cluster. If scope filter is cluster, only assets from the specific cluster will be included in the response. Otherwise, the response will include cluster, tenant and system assets.
d73a738f-fab3-430a-8fa3-5241493d7128Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
GET /api/v1/asset/credentials/generic-secret HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"entries": []
}Bearer authentication
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource already exists
unexpected error
POST /api/v1/asset/credentials/generic-secret HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 261
{
"meta": {
"name": "my-asset",
"scope": "tenant",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"inference": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"keyValuePairs": [
{
"key": "secret-key",
"value": "my-secret"
}
]
}
}{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"keyValuePairs": [
{
"key": "secret-key",
"value": "my-secret"
}
],
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
GET /api/v1/asset/credentials/generic-secret/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"keyValuePairs": [
{
"key": "secret-key",
"value": "my-secret"
}
],
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
PUT /api/v1/asset/credentials/generic-secret/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"meta": {
"description": "my-credentials"
}
}{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"existingSecretName": "text",
"keyValuePairs": [
{
"key": "secret-key",
"value": "my-secret"
}
],
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
No Content.
No content
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource was not found.
unexpected error
DELETE /api/v1/asset/credentials/generic-secret/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Bearer authentication
Filter results by name.
Filters results by scope. Returns only assets that belong to the specified scope. Mutually exclusive with includeDescendants. Valid values: tenant, cluster, department, project.
Filter results by project id. If scope filter is project, only assets from the specific project will be included in the response. Otherwise, the response will include project, department, cluster, tenant and system assets.
Filter results by department id. If scope filter is department, only assets from the specific department will be included in the response. Otherwise, the response will include department, cluster, tenant and system assets.
1Filter results by Universally Unique Identifier (UUID) of the cluster. If scope filter is cluster, only assets from the specific cluster will be included in the response. Otherwise, the response will include cluster, tenant and system assets.
d73a738f-fab3-430a-8fa3-5241493d7128Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
GET /api/v1/asset/credentials/ngc-api-key HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"entries": []
}Bearer authentication
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource already exists
unexpected error
POST /api/v1/asset/credentials/ngc-api-key HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 195
{
"meta": {
"name": "my-asset",
"scope": "tenant",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"inference": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"ngc_api_key": "text"
}
}{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"ngc_api_key": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Whether the query should include asset usage information as part of the response.
Whether the query should include asset status information as part of the response.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
GET /api/v1/asset/credentials/ngc-api-key/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"ngc_api_key": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
PUT /api/v1/asset/credentials/ngc-api-key/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"meta": {
"description": "my-credentials"
}
}{
"meta": {
"name": "my-asset",
"scope": "tenant",
"id": "a418ed33-9399-48c0-a890-122cadd13bfd",
"kind": "s3",
"createdBy": "test@run.ai",
"createdAt": "2023-02-23T14:25:36.707685Z",
"updatedBy": "test@run.ai",
"updatedAt": "2023-02-23T14:25:36.707685Z",
"workloadSupportedTypes": {
"workspace": false,
"training": false,
"distributed": true,
"distFramework": "TF"
}
},
"spec": {
"ngc_api_key": "text",
"keyId": 1
},
"usedBy": {
"workspaces": [],
"trainings": [],
"distributed": [],
"inferences": [],
"templates": [],
"assets": {
"environments": [],
"computes": [],
"datasources": []
}
},
"compliance": {
"imposed": true,
"compliance": true,
"reason": []
},
"status": {
"status": "Creating",
"issues": [
{
"scopeId": "text",
"scopeType": "system",
"issue": "ReplicationError"
}
],
"message": "text",
"url": "text"
},
"clusterInfo": {
"resources": [
{
"name": "password-credential-1"
}
]
}
}Bearer authentication
Unique identifier of the asset.
No Content.
No content
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource was not found.
unexpected error
DELETE /api/v1/asset/credentials/ngc-api-key/{AssetId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated