AIDK API Reference / aidk-shared / DTProviderRequestEvent
Interface: DTProviderRequestEvent ​
Defined in: packages/shared/src/devtools.ts:159
Base fields present on all DevTools events
Extends ​
Properties ​
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
executionId | string | UUID of the execution context | - | DevToolsEventBase.executionId | packages/shared/src/devtools.ts:32 |
modelId? | string | Model ID | - | - | packages/shared/src/devtools.ts:162 |
parentExecutionId? | string | Parent execution ID for nested executions (fork, spawn, component_tool) | - | DevToolsEventBase.parentExecutionId | packages/shared/src/devtools.ts:43 |
procedureId? | string | Current procedure ID | - | DevToolsEventBase.procedureId | packages/shared/src/devtools.ts:45 |
provider? | string | Provider name (e.g., "openai", "anthropic", "google") | - | - | packages/shared/src/devtools.ts:164 |
providerInput? | unknown | The actual input sent to the provider (after transformation) This is the exact shape the provider SDK receives (e.g., AI SDK format for Gemini) | - | - | packages/shared/src/devtools.ts:168 |
requestId? | string | Request ID for this execution context | - | DevToolsEventBase.requestId | packages/shared/src/devtools.ts:41 |
tenantId? | string | Tenant ID from context (for multi-tenant dashboards) | - | DevToolsEventBase.tenantId | packages/shared/src/devtools.ts:49 |
timestamp | number | Unix timestamp in milliseconds | - | DevToolsEventBase.timestamp | packages/shared/src/devtools.ts:34 |
traceId? | string | Trace ID for distributed tracing correlation | - | DevToolsEventBase.traceId | packages/shared/src/devtools.ts:39 |
type | "provider_request" | Discriminator for event type | DevToolsEventBase.type | - | packages/shared/src/devtools.ts:160 |
userId? | string | User ID from context (for attribution and multi-tenant filtering) | - | DevToolsEventBase.userId | packages/shared/src/devtools.ts:47 |