How can I find entries by specific custom metadata via API?


Follow these steps to use Kaltura API to find entries based on custom metadata.

  1. Go to the API console at https://developer.kaltura.com/console/ (Sign In) or  http://www.kaltura.com/api_v3/testme.
  2. Generate a KS (relevant when Testme Console is used)
    See How to Start a Kaltura Session using the TestMe Console.
  3. Session Service:
    baseEntry
  4. action: 
    list
  5. filter:objectType: 
    KalturaMediaEntryFilter
  6. filter:advancedSearch:objectType: 
    KalturaMetadataSearchItem
  7. filter:advancedSearch:type: 
    2
  8. filter:advancedSearch:metadataProfileId: 
    [schema_profile_id]       (Place here your ID number for example 21664102)
  9. filter:advancedSearch:items:item0:objectType: 
    KalturaSearchCondition
  10. filter:advancedSearch:items:item0:field: 
    /*[local-name()='metadata']/*[local-name()='Field_Label']    
     (Place here your field label for example /*[local-name()='metadata']/*[local-name()='MediaSource'] )
  11. filter:advancedSearch:items:item0:value: 
    [custom_metadata_field_value]     (Place here your field value for example Keshet 12 News)
  12. Send



Was this article helpful?
Thank you for your feedback!
User Icon

Thank you! Your comment has been submitted.

In This Article
Related Articles
Back to top

Never miss a thing!

Subscribe to our customer newsletter and our release notes updates, so you always get the best out of Kaltura.
Newsletter