| Name | Type | Description |
|---|---|---|
files | Dict[str, Optional[directory_commit_params.Files]] | Omit | Default: omitPaths to create, update, link, delete, or unlink. Use null to delete or unlink an existing path. |
skip_webhooks | bool | Omit | Default: omit |
extra_headers | Headers | None | Default: None |
extra_query | Query | None | Default: None |
extra_body | Body | None | Default: None |
timeout | float | httpx.Timeout | None | NotGiven | Default: not_given |
Creates a new directory commit for an agent or skill repository by applying file/link create, update, and delete operations. Linked directories default to the LATEST selector; use COMMIT to pin one commit. The legacy commit_id write field is deprecated and resolves as LATEST.
SkipWebhooks suppresses Context Hub commit webhooks for this commit.
Send extra headers
Add additional query parameters to the request
Add additional JSON properties to the request
Override the client-level default timeout for this request, in seconds