List Workspaces

View the full schema here.

curl \
  --get \
  --header "Authorization: Bearer ${ARDOQ_API_TOKEN}" \
  --header "X-org: ${ARDOQ_ORG_LABEL}" \
  --data-urlencode "name=MyWorkspace" \
  --fail-with-body \
  "${ARDOQ_API_HOST-"https://app.ardoq.com"}/api/v2/workspaces"
query={"name":"MyWorkspace"}
resp = ardoq_request("/api/v2/workspaces",query=query)
print(resp)
(async () => {
    query=`name=MyWorkspace`
    const resp = await ardoq_request(`/api/v2/workspaces?${query}`)
    console.log(resp)
})()