ActivityItem - Go SDK

ActivityItem type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
Datestring✔️Date of the activity (YYYY-MM-DD format)2025-08-24
Modelstring✔️Model slug (e.g., “openai/gpt-4.1”)openai/gpt-4.1
ModelPermaslugstring✔️Model permaslug (e.g., “openai/gpt-4.1-2025-04-14”)openai/gpt-4.1-2025-04-14
EndpointIDstring✔️Unique identifier for the endpoint550e8400-e29b-41d4-a716-446655440000
ProviderNamestring✔️Name of the provider serving this endpointOpenAI
Usagefloat64✔️Total cost in USD (OpenRouter credits spent)0.015
ByokUsageInferencefloat64✔️BYOK inference cost in USD (external credits spent)0.012
Requestsint64✔️Number of requests made5
PromptTokensint64✔️Total prompt tokens used50
CompletionTokensint64✔️Total completion tokens generated125
ReasoningTokensint64✔️Total reasoning tokens used25