Skip to content
RAGRAF

shared_index_query

Edition: pro ragraf_shared_index_query

Put a question to a published index at its address

Parameters

Name Type Default
operationstrrequired
paramsdict | NoneNone
urlstr''
timeoutfloat30.0

Call example

ragraf -p config/ragraf.yaml query shared_index_query <operation>

Angle brackets mark a required parameter; defaults may be omitted.

What it returns

The answer is assembled by the operation and described by the envelope.

When it refuses

An empty result is exit code 0 with found=false, not an error. Code 3 is returned only when the operation cannot run right now: for example slice when capability is not full. The reason is always named in the note field.