cURL
curl --request GET \ --url https://api.thehaystack.ai/v2/haystack/resource-types \ --header 'Authorization: Bearer <token>'
{ "resourceTypes": [ { "id": 123, "name": "<string>" } ], "limit": 123, "offset": 123, "page": 123, "totalRecords": 123, "totalPages": 123, "hasMore": true }
List the resource type categories configured for your account. Use these to populate a picker when creating resources.
Enter your API token from the Haystack dashboard
x <= 100
Paginated list of resource types
Show child attributes