Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

One read of Claude Developer Platformapi-20261023T173709Z

1 pages moved out of 820 read.

Pages moved 1 significant first
Pages read 820 in this capture
Captured 17:37 UTC
Corpus hash 311ec65940c3 corpus-hash

What this read moved

1-1 of 1

build-with-claude/structured-outputs Changed · +1 / -1 lines

from line 329
329329 ```
330330 
331331 <Note>
332 Passing a struct as the schema is in beta in Go, so this example uses `client.Beta.Messages.New`. To use the GA `client.Messages.New`, pass a JSON schema as shown in [Using a raw JSON schema](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#using-a-raw-json-schema).
332 Passing a struct as the schema is in beta in Go, so this example uses `client.Beta.Messages.New`. To use the stable `client.Messages.New`, pass a JSON schema as shown in [Using a raw JSON schema](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#using-a-raw-json-schema).
333333 </Note>
334334 
335335 The SDK generates and transforms the JSON schema from the struct and unmarshals the response into it.
Feedback