How-to guides
These pages are for the practitioner who already believes the SDK can work and now needs to do a specific task.
By topic
Setup
- Authenticate a client. Pick the right token provider.
- Understand SVIClient and API layers. The layer picker for new users.
- Discover your environment. Find real entity type names, ids, queues, domains.
Core workflows
- Read and update documents. Bound-object document operations, filtered and batch reads, typed history, relationship-link edits and audit trails.
- Work with entity types. Typed payload shapes and entity-type metadata.
- Bulk operations and async jobs. High-volume document writes.
- Create and work alerts. Alert lifecycle, dispositions, SFEs.
- Write insight sheets. Note cells, tables, maps, timelines, networks.
- Search data. The fluent search builder.
- Work workflow tasks. Claim, then complete with actions.
Reference and DSLs
- Search DSL reference. Every
Q/Foperator. - Manage stored GeoJSON shapes.
client.admin.shapes. - Manage search synonyms.
client.admin.synonyms. - Use configuration APIs. Bundles, validation, entity types.
- Manage reference lists.
client.admin.reference_lists.
Production
- Use the
sasviCLI.sasvi doctor,sasvi raw,sasvi config,sasvi index,sasvi workflow,sasvi alert. - Install into the SAS Viya Python.
sas-pyconfig, so PROC PYTHON and SAS Studio canimport sasvi. - Async deep dive. Patterns, pitfalls, debugging.
- Performance and scale. Retry tuning, concurrency, batching.
- Testing. Pytest fixtures, mock transports, async tests.
Help
- Troubleshooting. Symptom, cause, fix.
- FAQ. Short answers to the top onboarding questions.
Cookbook
- Recipes. 17 focused, copy-paste snippets for common tasks.
Examples and integration
- Call custom extension endpoints.
- Use the SDK from MCP servers.
- Run the notebook examples. 10 end-to-end walkthroughs.
Guide style
Each guide starts with the smallest useful example, then adds options, then points to the exact reference page for parameter-level detail.
Use Notebook examples when you want longer exploratory sequences instead of the shortest task-focused path.
If you are completely new to these docs, start with Before You Start before you jump into a task page.