Get Resource
Gets the metadata of a resource by ID.
Path parameters
The ID of the target resource.
The ID of the target resource.
Query parameters
Resource types that can be shared in the workspace. The name always need to match the collection names
Resource type of the target resource.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"anonymous_access_level_override": "viewer",
"creator_user_id": "5zavrE1kZXv2lFw9BKgEkf0B5Wqo",
"resource_id": "4ZUqyldxf71HqUbcP2Lc",
"resource_name": "My Custom Voice",
"resource_type": "voice",
"role_to_group_ids": {
"admin": [
"5zavrE1kZXv2lFw9BKgEkf0B5Wqo"
],
"editor": [
"8ruQDGM2R4w1mFbHI5aROCUjIpJZ"
],
"role_01jd7yq2k8f0abcd1234wxyz": [
"9mQrTx4vNb2wKpLs6ZyE1cHgUdFa"
],
"viewer": []
},
"share_options": [
{
"id": "i2YYI6huwBmcgYydAXARmQJc3pmX",
"name": "user@example.com",
"type": "user"
},
{
"id": "x1AfvYKAmiqxCnbvZeNXHqqthJaC",
"name": "mygroup",
"type": "group"
}
]
}Changes
Changed in 3 of the 30 revisions of this API.133
- ▲
removed 'propertyNames' constraint from the
response property for the statusresponse-property-property-names-removed
- ▲
- ●
added the new
content_skillsenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
convai_agent_experimentsenum value to theresponse property for the response statusresponse-property-enum-value-added
- ○
added the new enum value
content_skillsto thequeryrequest parameterresource_typerequest-parameter-enum-value-added
- ○
added the new enum value
convai_agent_experimentsto thequeryrequest parameterresource_typerequest-parameter-enum-value-added
- ●
- ●
added the new
convai_analysis_itemsenum value to theresponse property for the response statusresponse-property-enum-value-added
- ○
added the new enum value
convai_analysis_itemsto thequeryrequest parameterresource_typerequest-parameter-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●