# ProjectAgentpublishSourceSnapshotInput

Fields, types, and constraints for ProjectAgentpublishSourceSnapshotInput.

Canonical: https://commentary.dev/docs/reference/schemas/project-agentpublish-source-snapshot-input

Released API schema for `ProjectAgentpublishSourceSnapshotInput`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `workspaceId` | string | Yes | Minimum length: 1. Maximum length: 512. |
| `reference` | [ProjectAgentSourceReference](/docs/reference/schemas/project-agent-source-reference) | Yes |  |
| `capturePolicy` | `"selected"` · `"full"` | Yes |  |
| `selectedPaths` | array of string | No |  |
| `collaboration` | object | No |  |

## Full schema

[Download this schema](/docs/reference/schemas/project-agentpublish-source-snapshot-input.json) or use the [complete OpenAPI document](/docs/reference/openapi.json) to resolve all references.

## Related reference

[Browse API endpoints](/docs/reference/api-operations).
