# ProjectAgentSourceReference

Fields, types, and constraints for ProjectAgentSourceReference.

Canonical: https://commentary.dev/docs/reference/schemas/project-agent-source-reference

Released API schema for `ProjectAgentSourceReference`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `provider` | `"github"` · `"azure_devops"` · `"uploaded"` | Yes |  |
| `resource` | object | Yes |  |
| `commitSha` | string | No |  |
| `uploadId` | string | No | Minimum length: 1. Maximum length: 512. |

## Full schema

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

## Related reference

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