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

Invoke Skill Messages Create

post/api/v1/skills/messages.create/invoke

General accounting question β€” fallback for anything that doesn't fit a specific skill.

Answers a general accounting question when no more specific skill fits. Supply the query, and optionally context_ids for files or records to draw on, a locale and a jurisdiction. It returns the answer, the citations behind it, a confidence score and the name of the model used.

Request bodyapplication/json

FieldTypeDescription
queryrequiredstringThe accounting question to answer, in plain language, up to 10,000 characters.
context_idsstring (uuid)[]Optional UUIDs of files or records to ground the answer in; empty means none.
localestring | nullOptional BCP 47 language tag for the reply, such as en-GB; defaults to the caller's own.
jurisdictionstring | nullOptional ISO 3166-1 alpha-2 country code that scopes the answer, such as GB or AU.

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
answerrequiredstringβ€”
citationsany[]β€”
confidencenumberβ€”
model_usedstringβ€”
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/messages.create/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "query": "string",
       "context_ids": [
         "00000000-0000-0000-0000-000000000000"
       ],
       "locale": null,
       "jurisdiction": null
     }'