Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Invoke Skill Search Query

post/api/v1/skills/search.query/invoke

(Utility) Search the knowledge base directly.

Searches the firm's knowledge base and regulatory material for the `query` you supply. It returns ranked passages, each with its source, section, content and confidence, plus counts by jurisdiction. Set `jurisdiction` to rank one region's material first; other regions are not excluded.

Request bodyapplication/json

FieldTypeDescription
queryrequiredstringThe question or phrase to search the knowledge base for.
sourcesstring[]Optional list of knowledge source names you would prefer; accepted today but does not yet narrow the results.
jurisdictionstring | nullOptional region code such as UK, AU, US, CA or NZ; results from that region rank first and others are not excluded.

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
resultsany[]β€”
total_countintegerβ€”
facetsobjectβ€”
show nested
Empty object.
correlation_idrequiredstringβ€”
401Authentication required
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
403Insufficient permissions
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
404Skill not found
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
429Rate limit exceeded
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
5XXInternal server error
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
curl https://api.dev.arch.ie/api/v1/skills/search.query/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "query": "string",
       "sources": [
         "string"
       ],
       "jurisdiction": null
     }'