Talk with Archie
API reference › Research
Skills › Research

Research Accounting Standards

POST/api/v1/skills/standards.research/invoke
Researches an accounting standards topic, or compares two standards, and writes up what it finds. Supply the topic, and optionally standard references, a jurisdiction, a mode, a second standard to compare and an output format. It returns an executive summary, a detailed analysis, citations, practical implications and any open questions.
Body parameters
topicstringRequired
The accounting question or topic to research, up to 2,000 characters.
standard_referencesarray of strings
Optional standards or sections to focus on, such as FRS 102 Section 23; empty lets Archie choose.
jurisdictionstring
Optional ISO 3166-1 alpha-2 country code that selects the standards family, such as GB.
modeenum · default research
Either research, to study one topic, or compare, to contrast two standards.
researchcompare
compare_standard_bstring
The second standard to compare against, used only when mode is compare.
output_formatenum · default summary
How much to write back: a short summary, a memo, or a detailed analysis.
summarymemodetailed
Returns

Skill executed successfully

skillstringRequired
Example research_standards
outputobjectRequired
output.stub_fieldsarray of strings
output.warningsarray of strings
output.executive_summarystring · default
output.detailed_analysisstring · default
output.citationsarray of values
output.practical_implicationsarray of strings
output.open_questionsarray of strings
output.differencesarray of values
output.artifact_idstring · uuid
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALIDAuthentication required
403PERMISSION.CAPABILITY_DENIEDInsufficient permissions
404SKILL.NOT_FOUNDSkill not found
422VALIDATION.INVALID_FORMATValidation error
429RATE_LIMIT.USERRate limit exceeded
5XXINTERNAL.UNKNOWNInternal server error
curl https://uk.heyarchie.com/api/v1/skills/standards.research/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "topic": "string",
       "standard_references": [
         "string"
       ],
       "jurisdiction": null,
       "mode": "research",
       "compare_standard_b": null,
       "output_format": "summary"
     }'
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "standards.research",
    topic="string",
    standard_references=["string"],
    jurisdiction=None,
    mode="research",
    compare_standard_b=None,
    output_format="summary",
)
print(result)
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("standards.research", {
  "topic": "string",
  "standard_references": [
    "string"
  ],
  "jurisdiction": null,
  "mode": "research",
  "compare_standard_b": null,
  "output_format": "summary"
});
console.log(result);
Response
{
  "skill": "research_standards",
  "output": {
    "artifact_id": null,
    "citations": [
      {
        "confidence": 0.88,
        "section": "Section 23",
        "standard": "FRS 102",
        "url": ""
      }
    ],
    "detailed_analysis": "",
    "differences": [],
    "executive_summary": "Revenue from a multi-year licence is recognised over the licence term unless control of the software passes at the outset.",
    "open_questions": [],
    "practical_implications": [
      "Defer the unearned portion of the licence fee as deferred income."
    ],
    "stub_fields": [],
    "warnings": []
  },
  "correlation_id": "<string>"
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}

Every response also carries X-Request-ID. Quote it if you write to us about a call.