Retrieve
Get Attribute Value
client.attributes.retrieve(stringid, RequestOptionsoptions?): valueAttributeValueAttributeRetrieveResponse
get/api/v1/attributes/{id}
Get an attribute value by id.
Parameters
idstring
The id field.
Returns
AttributeRetrieveResponse
GetAttributeValueResponse is the response for getting an attribute value by id.
Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';
const client = new ConductoroneSDK({
apiKey: 'My API Key',
});
const attribute = await client.attributes.retrieve('id');
console.log(attribute.value);200 Example
{
"value": {
"id": "id",
"attributeTypeId": "attributeTypeId",
"value": "value"
}
}