# Resolve Dynamic Field Defaults

`POST /v1/pipelines/resolve`

Run a launch field's declared defaults resolver against the caller's
current input values. Which fields resolve, and from which sibling
inputs, is published per template in its launch_fields.

- Base URL: `https://junction-api.qualiastudios.dev`
- Authentication: an API key in the `X-API-Key` header, or `Authorization: Bearer …`

## Request body

Required: `application/json` `ResolveRequest`

## Responses

- `200` Successful Response: `application/json` `ResolveResponse`
- `400` Field declares no resolver: `application/json` `ErrorResponse`
- `401` Invalid or missing API key: `application/json` `ErrorResponse`
- `403` Missing capability on the workspace: `application/json` `ErrorResponse`
- `404` Template or field not found: `application/json` `ErrorResponse`
- `422` Validation error

## Schemas

```yaml
ResolveRequest:
  properties:
    pipeline_template_id:
      type: string
      format: uuid
    field:
      type: string
    values:
      additionalProperties: true
      type: object
  additionalProperties: false
  type: object
  required:
    - pipeline_template_id
    - field
  title: ResolveRequest
ResolveResponse:
  properties:
    field:
      type: string
    default:
      nullable: true
  type: object
  required:
    - field
  title: ResolveResponse
ErrorResponse:
  properties:
    detail:
      type: string
      description: Error message describing what went wrong
  type: object
  required:
    - detail
  title: ErrorResponse
  description: Standard error response.
```
