Class ArqeraClient

Arqera JavaScript/TypeScript SDK Client

Example:

import { ArqeraClient } from '@arqera/sdk';

const client = new ArqeraClient({ apiKey: 'arq_...' });
const tasks = await client.work.listTasks({ status: 'todo' });
const response = await client.ara.chat([{ role: 'user', content: 'Hello' }]);

Constructors

Properties

agents: AgentsModule
apiKey: string
baseUrl: string
events: EventsModule
timeout: number

Methods

  • Execute an Arqera workflow or action

    Parameters

    • payload: Record<string, unknown>

    Returns Promise<unknown>

  • List all workspaces available to the authenticated user

    Returns Promise<unknown>

  • Make an HTTP request to the Arqera API

    Parameters

    Returns Promise<unknown>