Get Resource
Changed onGets the metadata of a resource by ID.
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/workspace/resources/{resource_id}
- Authnone declared
Path parameters
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.
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
- warning
added the new
dubbing_projectenum value to theresponse property for the response status - info
added the new enum value
dubbing_projectto thequeryrequest parameterresource_type
- warning
- breaking
removed the enum value
convai_coaching_proposalsfrom thequeryrequest parameterresource_type - info
removed the
convai_coaching_proposalsenum value from theresponse property for the response status
- breaking