extract

Data extraction

Performs data extraction using LLM based on the specified data source, filter conditions, and JSON schema. Retrieves chunked data and uses the schema to extract and return the result as JSON via LLM.

Required roles: All, App

post/extract

Request body

tagsstring[]
tag_idsstring[]
tag_filter_logic'AND' | 'OR'

Logical operator for combining filter conditions

source_typesSourceType[]
file_typesFileType[]
date_frominteger

Start date for content search (Unix timestamp in seconds)

date_tointeger

End date for content search (Unix timestamp in seconds)

domainsstring[]
limitinteger
offsetinteger
schemaobject required

JSON Schema for the data to be extracted.

promptstring

Additional prompt for the LLM (optional, if not specified, a default prompt in Japanese will be used).

use_relatedboolean

Whether to search for and use related content

Response

Successful extraction

createdinteger required

抽出実行時刻(Unix timestamp)

resultExtractResult required

Extraction result as a JSON object conforming to the provided schema.

Changes