Skip to main content

Orkeia Response Standard

In Orkeia, all APIs follow a unified response standard.
This standard is defined to simplify integration, facilitate error handling, and maintain consistency between all modules (such as Agents, Tools, Knowledge Bases, Squads, and other resources).

General Structure

Fields

The code field always follows standardized values:

Examples

Success

response

Client Error (400)

Server Error (500)

Benefits

  • Consistency: all modules follow the same format.
  • Clarity: the status field immediately indicates whether the operation was successful or not.
  • Facilitated Handling: clients can implement generic interceptors to handle status and code.
  • Extensibility: new error codes can be added without breaking integrations.