List use cases (deprecated)
curl --request GET \ --url "$UNEEQ_API_URL/external/v1/organization/$UNEEQ_ORG_ID/use-cases" \ --header "Authorization: Bearer $UNEEQ_API_KEY"const url = `${process.env.UNEEQ_API_URL}/external/v1/organization/${process.env.UNEEQ_ORG_ID}/use-cases`;const response = await fetch(url, { method: 'GET', headers: { Authorization: `Bearer ${process.env.UNEEQ_API_KEY}`, },});console.log(response.status, await response.text());Deprecated: use the learning domains endpoint instead. This path permanently redirects (301) to
learning-domains in the same organization. The Location header is relative (learning-domains,
followed by the original query string if there was one), so it resolves to
.../organization/{organizationID}/learning-domains. The API key is still checked and the call still
counts towards the rate limit before the redirect is sent. Send the API key again when following the
redirect.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ID of the organization the API key belongs to, for example org_HYPCX67vaupjhdTn.
Example
org_HYPCX67vaupjhdTnResponses
Section titled “Responses”Moved permanently to the learning domains endpoint. No body.
Headers
Section titled “Headers”Relative URL learning-domains, with ? and the original query string appended when the request
had one (for example learning-domains?foo=bar).
The Authorization header is missing, or the API key is not valid for this organization. A key check that fails on the server is also reported as 401.
The body of an error returned before the request reaches an endpoint (authentication and rate limiting).
object
Human-readable explanation of what went wrong.
Example generated
{ "error": "example"}The API key has sent too many requests. Wait for the number of seconds in Retry-After, then retry.
The body of an error returned before the request reaches an endpoint (authentication and rate limiting).
object
Human-readable explanation of what went wrong.
Example generated
{ "error": "example"}Headers
Section titled “Headers”Seconds to wait before retrying.

