Installation
Classes
RespanAnthropicAgentsExporter
| Parameter | Type | Default | Description |
|---|---|---|---|
apiKey | string | — | Respan API key. |
baseUrl | string | undefined | undefined | API base URL. |
endpoint | string | undefined | undefined | Ingest endpoint URL. |
Methods
| Method | Description |
|---|---|
setEndpoint(endpoint) | Override ingest endpoint. |
createHooks(existingHooks) | Create Respan instrumentation hooks. |
withOptions(options) | Attach hooks to agent options. |
query({prompt, options}) | Wrapped query with async tracking. |
trackMessage({message, sessionId, prompt}) | Track individual messages. |