This resource represents LinkedIn Learning content metadata. You can use these methods to bulk import content metadata or add content search into your application.
The locale language the API will use to try to localize the learning asset. These values correspond to the locales "de_DE", "en_US", "es_ES", "fr_FR", "in_ID", "it_IT", "ja_JP", "ko_KR", "pl_PL", "pt_BR", "tr_TR" and "zh_CN". If the learning asset cannot be localized or if the target locale is not set, the API will use the default locale of the learning asset. Supported language values include:
de
en
es
fr
in
it
ja
ko
pl
pt
tr
zh
String
No
targetLocale.country
The locale country the API will use to try to localize the learning asset. These values correspond to the locales "de_DE", "en_US", "es_ES", "fr_FR", "in_ID", "it_IT", "ja_JP", "ko_KR", "pl_PL", "pt_BR", "tr_TR" and "zh_CN". If the learning asset cannot be localized or if the target locale is not set, the API will use the default locale of the learning asset. Supported country values include:
BR
ES
CN
DE
FR
ID
IT
JP
KR
PL
US
TR
String
No
expandDepth
The number of levels in the learning asset hierarchy to include asset details. This parameter is optional.
Long
No (default = 1)
includeRetired
Whether to include retired learning assets. Supported values include:
true
false
Boolean
No (default = false)
criteria
Sample Request
curl -X GET \
'https://api.linkedin.com/v2/learningAssets?q=criteria&assetFilteringCriteria.assetTypes[0]=COURSE&assetRetrievalCriteria.includeRetired=true&assetRetrievalCriteria.expandDepth=1&count=2&start=3400&assetFilteringCriteria.licensedOnly=true&assetFilteringCriteria.locales[0].country=US&assetFilteringCriteria.locales[0].language=en&fields=urn,title,details:(level)' \
-H 'Authorization: Bearer AQU...'
The value of this parameter should always be criteria.
String
Yes
assetFilteringCriteria.assetTypes
The types of learning assets to search. The search results will include only learning assets of these types. If omitted, the search results will include learning assets of any type. Since this parameter is an array, you will need to specify a zero-based index per value. Supported values include:
An array of learning classification URNs to search learning assets. The search results will include only learning assets tagged with these classifications. The supported URN types are "urn:li:lyndaCategory" and "urn:li:skill". Classification URNs can be discovered using /v2/learningClassifications endpoint. If omitted, the search results will include learning assets tagged with any classification. Since this parameter is an array, you will need to specify a zero-based index per value.
String
No
assetFilteringCriteria.difficultyLevels
An array of difficulty levels of learning assets to search. The search results will include only learning assets of these difficulty levels. If omitted, the search results will include learning assets of any difficulty level. Since this parameter is an array, you will need to specify a zero-based index per value. Supported values include:
The keyword string to search learning assets. The search results will include only learning assets matching this keyword string, as determined by LinkedIn Learning's relevance algorithm. The value of this parameter is case-insensitive.If omitted, the search results will include learning assets matching any keyword string.
String
No
assetFilteringCriteria.lastModifiedAfter
The time after which the assets were changed i.e. released, modified or retired. Represented by number of milliseconds since midnight, January 1, 1970 UTC.
Time
No
assetFilteringCriteria.locales[].language
An array of languages from which results should be filtered on. The supported values correspond to the locales "de_DE", "en_US", "es_ES", "fr_FR", "id_ID", "it_IT", "ja_JP", "ko_KR", "pl_PL", "pt_BR", "tr_TR" and "zh_CN". Since the locales parameter is an array, you will need to specify a zero-based index per value. Supported language values include:
de
en
es
fr
in
it
ja
ko
pl
pt
tr
zh
String
No (default=en)
assetFilteringCriteria.locales[].country
An array of locale countries/regions from which results should be filtered on. Since the locales parameter is an array, you will need to specify a zero-based index per value. The supported values correspond to the locales "de_DE", "en_US", "es_ES", "fr_FR", "id_ID", "it_IT", "ja_JP", "ko_KR", "pl_PL", "pt_BR", "tr_TR" and "zh_CN". Supported country values include:
BR
ES
CN
DE
FR
ID
IT
JP
KR
PL
US
TR
String
No (default=US)
assetFilteringCriteria.licensedOnly
Boolean that indicates results should be filtered to only include learningAssets the caller is licensed to access. If this parameter is set to true and assetFilteringCriteria.locales parameter is omitted the locale values are implied by the callers licensed access.
Boolean
No (default = false)
assetPresentationCriteria.sortBy
How to sort the learning assets in the search results. Relevance sorts the learning assets by LinkedIn Learning's relevance algorithm. Popularity sorts the learning assets by view count. Recency sorts the learning assets by publish date. Supported values include:
POPULARITY
RELEVANCE
RECENCY
String
No (default = RELEVANCE)
assetRetrievalCriteria.expandDepth
The number of levels in the learning asset hierarchy to include asset details. This parameter is optional; please see the "Specifying the level of asset details" section for an explanation with examples.
Long
No (default = 1)
assetRetrievalCriteria.includeRetired
Whether to include retired learning assets. To retrieve active and retired learning assets, set this parameter to true. Supported values include:
true
false
Boolean
No (default = false)
start
The start index of learning assets for the page.
Long
No (default = 0)
count
The number of learning assets to include in the page. The maximum count is 100 assets per page.
Long
No (default = 20)
Limited Response Scenarios
When certain query parameters are used to call the /learningAssets criteria finder, the endpoint returns only 1000 records in the response body even if the number of records that match the query are greater than 1000. A list of the parameters that trigger this behavior is documented below.
Additionally, in some circumstances, calls to /learningAssets criteria finder endpoint will return the all the records rather than the truncated 1000 if the calls match the exact following conditions:
Query parameter assetFilteringCriteria.assetTypes is set only once in the request to search records only for a single type of asset. A sample request in this scenario will look like https://api.linkedin.com/v2/learningAssets?q=criteria&assetFilteringCriteria.assetTypes[0]=COURSE.
Query parameter assetFilteringCriteria.licensedOnly is set in the request along with query parameterassetFilteringCriteria.assetTypes and query parameterassetFilteringCriteria.assetTypes is set only once. A sample request in this scenario will look like https://api.linkedin.com/v2/learningAssets?q=criteria&assetFilteringCriteria.licensedOnly=true&assetFilteringCriteria.assetTypes[0]=COURSE
The locale language of the learning assets. The supported values correspond to the locales "de_DE", "en_US", "es_ES", "fr_FR", "in_ID", "it_IT", "ja_JP", "ko_KR", "pl_PL", "pt_BR", "tr_TR" and "zh_CN". Supported language values include:
de
en
es
fr
in
it
ja
ko
pl
pt
tr
zh
String
Yes
sourceLocale.country
The locale country of the learning assets. The supported values correspond to the locales "de_DE", "en_US", "es_ES", "fr_FR", "in_ID", "it_IT", "ja_JP", "ko_KR", "pl_PL", "pt_BR", "tr_TR" and "zh_CN". Supported country values include:
BR
ES
CN
DE
FR
ID
IT
JP
KR
PL
US
TR
String
Yes
expandDepth
The number of levels in the learning asset hierarchy to include asset details. This parameter is optional.
Long
No (default = 1)
includeRetired
Whether to include retired learning assets. To retrieve active and retired learning assets, set this parameter to true. Supported values include:
true
false
Boolean
No (default = false)
start
The start index of learning assets for the page.
Long
No (default = 0)
count
The number of learning assets to include in the page. The maximum count is 100 assets per page.
Long
No (default = 20)
Response Fields
Field
Description
Type
Required
contents
The sub-assets of the learning asset. For example, a learning asset representing a course has sub-assets representing its chapters; a learning asset representing a chapter has sub-assets representing its videos.
If present, the details about the learning asset. If this field is not present, it means the request did not specify retrieving the asset details (see the "Specifying the level of asset details" section).
The URN of the learning asset. The URN is a unique identifier whose value should be treated as opaque. Do not use the URN to determine the type of the learning asset; use the "type" field instead.
The epoch time in milliseconds indicating when the learning asset was published.
Time
Yes
relationships
The value of this field is currently always an empty array. Future versions of the API may use this field to indicate relationships the learning asset has to other learning assets.
Array
Yes
retiredAt
If present, the epoch time in milliseconds indicating when the learning asset was retired.
Time
No
shortDescription
Localized text only short description of the learning asset.
Indicates whether the learning asset was curated for Learning Management System consumption by an account administrator in LinkedIn Learning. Currently applies only to video assets
Boolean
No
AssetImages
Field
Description
Type
Required
primary
If present, the URL of the primary image associated with the learning asset. This image is usually high-resolution.
String
No
AssetType
Symbol
Description
CHAPTER
The learning asset is a chapter.
COURSE
The learning asset is a course.
VIDEO
The learning asset is a video.
AssetUrls
Field
Description
Type
Required
aiccLaunch
If present, the AICC launch URL of the learning asset. This value is used to initiate course completion tracking in AICC-compliant systems. The value is only included in the response when the requestor has AICC enabled in their LinkedIn Learning admin settings.
String
No
ssoLaunch
If present, the single sign-on launch URL of the learning asset. The value is only included in the response when the requestor has configured an active SSO connection in their LinkedIn Learning admin settings.
String
No
webLaunch
If present, the launch URL of the learning asset in the LinkedIn Learning web application.