Midiacode icon

Midiacode

Consume Midiacode API

Actions8

Content → Search

AI-generated

Summary

Searches for content items within a workspace

Inputs

  • workspaceId (required) — The ID of the workspace
  • status — Filter by content status (leave as "All" to show all statuses)
  • type — Filter by content type
  • searchTerm — Search term to filter contents
  • pageSize — Number of items per page (1-500)
  • page — Page number to retrieve

Output shape

a paginated list of content items

Results are paginated via page and pageSize; may include only returned items without a total count.

Examples

Example 1: Search for published items in workspace 456

workspaceId=456, status=pub, pageSize=25

Example 2: Search for video content type with 10 items per page

type=video, pageSize=10

Example 3: Search drafts in workspace 123 using default settings

workspaceId=123, status=dra

Discussion