metadata.astrolabe.stack to select a stack for one request.
The value is a stack slug, such as code-agent, customer-data, or a custom stack slug from your workspace.
Selection precedence
Astrolabe resolves stacks in this order:metadata.astrolabe.stack- API-key assignment
- Workspace assignment
- Managed default
Supported request metadata
Astrolabe reads these fields frommetadata.astrolabe:
| Field | Type | Effect |
|---|---|---|
stack | string | Selects a stack slug for this request. |
quality | string | Overrides the stack quality target. Values include draft, standard, high, and critical. |
cost_mode | string | Overrides the stack cost mode. Values include lowest_passable, balanced, fastest_passable, premium, and fixed. |
latency_slo_ms | number | Sets a request-level latency target in milliseconds. |
verification | string | Overrides verification mode. Values include off, auto, light, strict, and strong. |
fallback | boolean | Enables or disables fallback for this request. |
explain | boolean | Requests richer decision metadata where supported. |

