# ProjectAgentResourceLink

Fields, types, and constraints for ProjectAgentResourceLink.

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

Released API schema for `ProjectAgentResourceLink`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Minimum length: 1. Maximum length: 512. |
| `projectId` | string | Yes | Minimum length: 1. Maximum length: 512. |
| `target` | [ProjectAgentResource](/docs/reference/schemas/project-agent-resource) | Yes |  |
| `pinnedRevisionId` | string or null | Yes |  |
| `purpose` | string | Yes | Maximum length: 200. |
| `orderKey` | string | Yes | Minimum length: 1. Maximum length: 512. |

## Full schema

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

## Related reference

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