Skip to main content
POST
Bulk Actions on Sources

Authorizations

sessionid
string
cookie
required

Query Parameters

organization_name
string
required

Organization name (required for multi-tenant API keys)

Body

Request schema for source bulk actions.

action
enum<string>
required

Action to perform on the sources

  • enable - enable
  • disable - disable
  • reindex - reindex
  • reparse - reparse
  • add-to-topic - add-to-topic
  • remove-from-topic - remove-from-topic
  • delete - delete
Available options:
enable,
disable,
reindex,
reparse,
add-to-topic,
remove-from-topic,
delete
source_names
string[]
required

List of source names to perform the action on (e.g., ['document.pdf', 'datasheet.pdf'])

Minimum string length: 1
topic_uuid
string<uuid>

Topic UUID (required for add-to-topic and remove-from-topic actions)

job_version
string

Job version (optional, for reparse action)

Minimum string length: 1

Response

Reusable response schema for bulk actions.

message
string
required
deleted_count
integer
created_count
integer
existing_count
integer
processed_paths
integer
updated_count
integer
deleted_subtopics
integer
error_count
integer
errors
object[]