Skip to main content
This guide covers the developer path through upload, side-effect-free pricing, submission, waiting, and result download. For the standard browser workflow, start with the Platform quickstart.
For research use only. Strand AI predictions are model outputs intended for research and hypothesis generation. They are not validated for, and must not be used in, clinical diagnosis, treatment selection, or patient care decisions.

1. Create an API key

Sign in to app.strandai.com, select the organization your integration should use, and open Settings, API keys. Choose Create key and copy the sk-strand-… value when it appears. The full value is shown only once.
Treat the API key like a password. It is scoped to the selected organization and uses that organization’s sample access and credit balance.

2. Install a client

3. Upload and price the run

strand_upload_file() returns after the storage event starts ingest, so the readiness loop is required before an immediate prediction. Omit mpp when the slide’s embedded calibration is authoritative. A dry run validates the exact request and reports its price without creating a job or reserving credits.

4. Submit and wait

Submission reserves credits atomically. The job continues server-side if the client disconnects.

5. Download results

The in-memory Python result is an AnnData. The R result is a SpatialExperiment. Both contain the requested marker channels aligned to the slide coordinate system.

Next steps

Python SDK

Typed samples, jobs, events, exports, and selective result reads.

R SDK

strand_* functions and Bioconductor result handling.

Command line

Run the workflow from a shell without writing a script.

REST API

Use the canonical HTTP contract directly.