Document Playbook Contents (GET)

Get the playbook content chunks that match a user query by using vector similarity search.

This resource identifies the playbook mapping and the active playbook version for the specified record, runs a vector similarity search over the playbook content with the query text, and returns the matching content chunks with their metadata. To search against a specific playbook version and bypass the mapping and active-version lookup, pass documentPlaybookVersionId.

Playbook must be enabled in your org, and you must have access to at least one playbook.

68.0

GET

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
recordIdStringEntity ID of the object.Required68.0
user​QueryStringStringText from the document to query against the playbook chunks.Required68.0
chunkLimitIntegerTotal number of matching chunks to fetch. The default value is 10. The maximum value is 100.Optional68.0
documentPlaybook​VersionIdStringID of a specific DocumentPlaybookVersion to use for the search. When provided, the record-type, assignment, and active-version lookup chain is skipped and the search runs against this version directly.Optional68.0

Playbook Contents