List learning domains
curl --request GET \ --url "$UNEEQ_API_URL/external/v1/organization/$UNEEQ_ORG_ID/learning-domains" \ --header "Authorization: Bearer $UNEEQ_API_KEY"const url = `${process.env.UNEEQ_API_URL}/external/v1/organization/${process.env.UNEEQ_ORG_ID}/learning-domains`;const response = await fetch(url, { method: 'GET', headers: { Authorization: `Bearer ${process.env.UNEEQ_API_KEY}`, },});console.log(response.status, await response.text());Returns every learning domain of the organization that has not been deleted, sorted by title (case-insensitive). Use an id from
this list wherever a learning domain ID is required when creating training, or as the learning_domain_id filter when listing scenarios. Not paged.
The body is a JSON array, or null when the organization has no learning domains.
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”The organization’s learning domains, or null when there are none.
object
Learning domain ID.
Title.
Description.
ID of the organization the learning domain belongs to.
1-based position in this list (the list is sorted by title).
When the learning domain was last updated, or created if never updated.
Example generated
[ { "id": "example", "title": "example", "description": "example", "organization_id": "example", "order_position": 1, "last_updated": "2026-04-15T12:00:00Z" }]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.
The list could not be read (“unable to get learning domain list”).
The body of an error returned by an endpoint.
object
Human-readable explanation of what went wrong.
Stable machine-readable cause. Present only for errors that have one.
Example generated
{ "message": "example", "error_code": "example"}
