Get a Spec's structure
talonic_get_specGet a Spec's complete structure (schema, nodes, phases, fields, and version) to verify it is published and understand what a run will execute.
Instructions
Get one Spec's structure: identity and version state, the schema it materializes onto, nodes[] (the rail as authored, in editing order) and phases[] (the compiled execution plan, in run order — a validation checkpoint expands to one phase per gate, so the two lists differ on purpose), and fields[] (Spec field ↔ schema field).
USE WHEN: you need to explain what a run will do, confirm a Spec is published (version non-null) before talonic_run_spec, or map field names to keys.
NOT FOR: listing Specs (talonic_list_specs) or starting a run (talonic_run_spec).
ARGS: spec_id (UUID from talonic_list_specs); optional include_versions (adds versions[] — published versions newest first, each { version, content_hash, created_at, is_materialized }).
RETURNS: the Spec object { id, name, description, schema_id, version, materialized_version, materialized_at, field_count, node_count, schema, nodes[], phases[], fields[], links } plus optional versions[].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_id | Yes | Spec UUID (from talonic_list_specs). | |
| include_versions | No | Also fetch the published versions list (adds `versions[]`). |