chatbolt-dev / apps /api-gateway /libs /shared /src /entities /endpoint-call.entity.d.ts
MTayyaBH
Refactor code structure for improved readability and maintainability
d714fad
Raw
History Blame Contribute Delete
431 Bytes
export declare class EndpointCall {
id: string;
tenant_id: string;
kind: 'api' | 'ai';
endpoint_id: string | null;
endpoint_name: string;
endpoint_slug: string;
agent_id: string | null;
ai_mode: boolean;
model_used: string | null;
provider_used: string | null;
tokens_used: number;
duration_ms: number;
success: boolean;
error_message: string | null;
created_at: Date;
}