- [HTTP request](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills.revisions/create.md.txt#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills.revisions/create.md.txt#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills.revisions/create.md.txt#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills.revisions/create.md.txt#body.request_body)
- [Response body](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills.revisions/create.md.txt#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills.revisions/create.md.txt#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills.revisions/create.md.txt#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills.revisions/create.md.txt#try-it)

Creates a new immutable revision and triggers validation pipelines.

### HTTP request

`POST https://agentregistry.googleapis.com/v1/{parent=projects/*/locations/*/skills/*}/revisions`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. Parent logical container name. |

### Query parameters

| Parameters ||
|---|---|
| `skillRevisionId` | `string` Optional. Custom, user-defined unique revision identifier. Format: 4-63 characters, matching regex `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` |
| `requestId` | `string` Optional. Signed UUID request idempotency token. |

### Request body

The request body contains an instance of `SkillRevision`.

### Response body

If successful, the response body contains a newly created instance of `Operation`.

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `https://www.googleapis.com/auth/cloud-platform.read-only`
- `https://www.googleapis.com/auth/agentregistry.read-write`
- `https://www.googleapis.com/auth/agentregistry.read-only`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `agentregistry.skillRevisions.create`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).