Skip to main content

Goal

Pick the right SpeckleSharp API for loading model data from Speckle Server and publishing results back.

What you will learn

When to use Receive3/Send3 (recommended), Receive2 and transports (reading versions published before 2026.9), or SendPipeline (connectors only).

When to use this

Before reading Operations method signatures — or when you are unsure which load or publish path fits your workflow. For AEC automation scripts, notebooks, and Grasshopper C#: load with Receive3 and publish with Send3 after the one-time bootstrap. No transport factory required. Avoid SendPipeline unless you are building a desktop connector that uploads an entire host-application model.

The paths at a glance

Send2, Receive2, Send, and Receive are marked [Obsolete], and Speckle does not guarantee them for new work. Use them only to read versions published before 2026.9. To move existing code, see Migrate to 2026.9.
Receive3 works for every version that has a bundle, including older versions converted by the server. If an older stored version has not been converted, or its conversion could not complete, Receive3 raises SpeckleException. Use Receive2 only while that version’s object graph remains available. On current servers, sends from older connectors are bundled before the new version becomes visible.
Receive3 returns a Model: objects with path-keyed properties and relation accessors. Send3 publishes the objects you describe in a BundleBuilder; the server creates the version when it finishes processing.
Example
See Publish and load a model from C# for a BundleBuilder walkthrough, and Object model for how the data is shaped.

Path A: Serialize only

Example
Use when you need raw JSON of a Base object — for example, previewing a Grasshopper graph locally. For server work, use Receive3 / Send3.

Path B: Send / Receive with a transport

The transport path moves object graphs, and only works with versions published before 2026.9. Receive throws if you pass a 2026.9 bundle reference.
Example
Swap ServerTransport for MemoryTransport or SQLiteTransport for local-only workflows.

Path C: Receive2 / Send2 (before 2026.9)

Direct URL, project id, and token, returning or taking a Base object graph:
Example
Keep Receive2 for reading versions published before 2026.9. On a 2026.9 version it returns a best-effort Base projection rather than the full data. Publish new work with Send3 instead of Send2: after Send2, Version.Create only reserves an id until the server finishes processing. See Publish through model ingestions.
The streamId parameter name in these signatures refers to the project id.

Path D: SerializeNew

Experimental — avoid for production workflows.

Path E: SendPipeline (connectors only)

Avoid this unless you are building a connector. For uploading large host-application models, connectors use SendPipeline and client.Ingestion:
Example
See Publish large models (connectors). Do not call Version.Create on this pathway.

Decision guide

Use Receive3 — see Build your first model analysis tool. If the version was published before 2026.9 and Receive3 cannot load it, use Receive2.
Use Receive3 and Send3 — see Automate with scripts.
Move it to Receive3 and Send3. Keep Receive2 or a transport Receive only to read versions published before 2026.9 that have no bundle; Speckle does not guarantee the old calls for new work. See Migrate to 2026.9 for the changes side by side.

Next steps

Build your first model analysis tool

Load and analyse with Receive3

Publish and load a model

Publish with Send3

Operations API

Full method signatures
Last modified on October 19, 2026