Skip to navigation

Create Definition Revision

View as Markdown

Stage a changed definition as a draft revision; the live definition is a no-op.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_idstringRequired
agent_slugstringRequired

Request

This endpoint expects an object.
contentDigeststringRequiredformat: "^sha256:[0-9a-f]{64}$"
definitionobjectRequired

The customer-authored sikaru.agent.contract.v1 agent definition.

Response

Successful Response
revisionobject or null
unchangedboolean

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error