Skip to content

GetAssetDetails

Request

Returns asset details

Endpoint: GET /v1/asset/details. Authentication: requires AuthorizationHeader bearer token unless this operation's security is changed. Required AuthMind permission/scope: posture (grant this scope on the API token in Admin > API Tokens; a token without it receives 403 Forbidden). Documented parameters: asset_name, asset_type. Response parsing: inspect success; on failure inspect error, errors, or message depending on the referenced schema.

Security
AuthorizationHeader
Query
asset_namestringrequired

Asset Name

This parameter is required for the endpoint to execute successfully.

asset_typestringrequired

Asset Type

This parameter is required for the endpoint to execute successfully.

curl -i -X GET \
  'https://apidoc.authmind.com/_mock/v1/docs/v1/asset/details?asset_name=string&asset_type=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Request completed successfully. See the referenced schema for the response envelope and result payload.

Bodyapplication/json
errorstring

Error message returned when the request fails. This is free-form, human-readable text intended for logging/display -- AuthMind does not define a stable, cross-endpoint error-code contract for it. Branch integration logic on the HTTP status code and the success boolean, not on the contents of this string.

resultobject

Primary response payload for this endpoint.

Example:
{ "_id": "64f1a2b3c4d5e6f7890a1b2c", "score": 72.5, "latest_activity_time": "2024-08-01T10:31:42.000Z", "flow_count": 128, "identity_count": 14, "is_known": true, "issue_details": { "Auth Hash Security": { … } } }
successboolean

Indicates whether the request was successful.

Response
{ "error": "", "result": { "_id": "64f1a2b3c4d5e6f7890a1b2c", "score": 72.5, "latest_activity_time": "2024-08-01T10:31:42.000Z", "flow_count": 128, "identity_count": 14, "is_known": true, "issue_details": { … } }, "success": true }