For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
ModelsChatRankingsDocs
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
    • Overview
    • Usage for Agents
  • TypeScript SDK
    • Overview
  • Python SDK
    • Overview
  • Go SDK
      • Analytics
      • APIKeys
      • Byok
      • Chat
      • Credits
      • Embeddings
      • Endpoints
      • Generations
      • Guardrails
        • Models
        • CreatePresetFromInferenceResponse
      • OAuth
      • Observability
      • Organization
      • Presets
      • Providers
      • Rerank
      • Beta.Responses
      • Transcriptions
      • Speech
      • VideoGeneration
      • Workspaces
  • DevTools
    • Overview
    • Migrating to @openrouter/agent
LogoLogo
ModelsChatRankingsDocs
On this page
  • Fields
Go SDKAPI ReferenceModels

CreatePresetFromInferenceResponse - Go SDK

CreatePresetFromInferenceResponse type definition
Was this page helpful?
Previous

OAuth - Go SDK

OAuth method reference
Next
Built with

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

Response containing the created preset with its designated version.

Fields

FieldTypeRequiredDescriptionExample
Datacomponents.PresetWithDesignatedVersion✔️A preset with its currently designated version.{"created_at": "2026-04-20T10:00:00Z","creator_user_id": "user_2dHFtVWx2n56w6HkM0000000000","description": null,"designated_version": {"config": {"model": "openai/gpt-4o","temperature": 0.7},
“created_at”: “2026-04-20T10:00:00Z”,
“creator_id”: “user_2dHFtVWx2n56w6HkM0000000000”,
“id”: “550e8400-e29b-41d4-a716-446655440000”,
“preset_id”: “650e8400-e29b-41d4-a716-446655440001”,
“system_prompt”: “You are a helpful assistant.”,
“updated_at”: “2026-04-20T10:00:00Z”,
“version”: 1<br />},
“designated_version_id”: “550e8400-e29b-41d4-a716-446655440000”,
“id”: “650e8400-e29b-41d4-a716-446655440001”,
“name”: “my-preset”,
“slug”: “my-preset”,
“status”: “active”,
“status_updated_at”: null,
“updated_at”: “2026-04-20T10:00:00Z”,
“workspace_id”: “750e8400-e29b-41d4-a716-446655440002”
}