Discover saved native-operation model contexts
Generated from the checked-in source. Do not edit this reference by hand.
GET /api/v1/organizations/{organization}/projects/{project}/media/asset-operation-models
Requires current workspace Read permission. Lists distinct recorded public model aliases for the original scoped key, including expired or revoked keys and deleted resources. Never consults current model grants, restores inference authority, selects a Provider account or calls upstream. Each alias may have several saved account bindings; it grants historical inspection only. Alias pagination is lexical and includes all recorded operation statuses.
Operation: listHistoricalWorkspaceProviderAssetModels.
Authentication
Section titled “Authentication”Use the credential and permission scope described above. Each object below is an alternative; schemes within one object are required together.
[ { "bearerAuth": [] }]HTTP request
Section titled “HTTP request”Set NIU_ORIGIN to your installation origin (without /v1). Replace path, query and header placeholders with the required values. Query examples use curl 7.87 or newer to encode values with --url-query. Use the credential scope described above; a bearer token must have the authority required by this operation.
curl --fail-with-body -X GET "$NIU_ORIGIN/api/v1/organizations/{organization}/projects/{project}/media/asset-operation-models" \ -H "Authorization: Bearer $NIU_BEARER_TOKEN" \ --url-query 'key_id=<KEY_ID>'Parameters
Section titled “Parameters”organization
Section titled “organization”Location: path. Required.
{ "type": "string", "format": "uuid"}project
Section titled “project”Location: path. Required. Workspace under the legacy API field name.
{ "type": "string", "format": "uuid"}key_id
Section titled “key_id”Location: query. Required.
{ "type": "string", "format": "uuid"}Location: query. Optional.
{ "type": "string", "minLength": 1, "maxLength": 512}Location: query. Optional.
{ "type": "integer", "minimum": 1, "maximum": 100, "default": 50}Request body
Section titled “Request body”No request body is declared.
Responses
Section titled “Responses”HTTP 200
Section titled “HTTP 200”Recorded aliases and exclusive lexical continuation cursor.
Content type: application/json.
{ "type": "object", "required": [ "data", "next_cursor" ], "properties": { "data": { "type": "array", "items": { "type": "string" } }, "next_cursor": { "type": [ "string", "null" ] } }}HTTP 400
Section titled “HTTP 400”Invalid filters.
HTTP 401
Section titled “HTTP 401”Authentication required.
HTTP 403
Section titled “HTTP 403”Workspace Read permission required.
HTTP 409
Section titled “HTTP 409”Original key does not belong to this workspace.
Behavior and supported scope
Section titled “Behavior and supported scope”Requires current workspace Read permission. Lists distinct recorded public model aliases for the original scoped key, including expired or revoked keys and deleted resources. Never consults current model grants, restores inference authority, selects a Provider account or calls upstream. Each alias may have several saved account bindings; it grants historical inspection only. Alias pagination is lexical and includes all recorded operation statuses.
Supported scope: implemented